Skip to content

GET   /vanity-domains/{domainId}

Get vanity domain

Retrieve details for a specific vanity domain

Authentication Required

Authorization: Bearer {token}   header string

This header is required to access this endpoint

Required Parameters

x-account-id   header string

Account ID for the request

domainId   path string

Try it out

Loading...

Output:

Responses

Description

Domain retrieved successfully

{
"id": "string",
"domain": "string",
"status": "string",
"sslEnabled": false,
"createdAt": "string",
"updatedAt": "string",
"dnsRecords": [
{}
],
"validationStatus": {
"lastChecked": "string",
"isValid": false
}
}

References

#/components/parameters/xAccountIdHeader

in: header
name: x-account-id
schema:
type: string
description: Account ID for the request
required: true
example: "2311"

#/components/schemas/VanityDomain

type: object
properties:
id:
type: string
domain:
type: string
status:
type: string
enum:
- pending
- active
- failed
sslEnabled:
type: boolean
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time

#/components/schemas/VanityDomainDetailed

allOf:
- type: object
properties:
id:
type: string
domain:
type: string
status:
type: string
enum:
- pending
- active
- failed
sslEnabled:
type: boolean
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
fromRef: "#/components/schemas/VanityDomain"
- type: object
properties:
dnsRecords:
type: array
items:
type: object
validationStatus:
type: object
properties:
lastChecked:
type: string
format: date-time
isValid:
type: boolean

Route Source Code

Check out the source code for this route entrypoint here: /vanity-domains/[domainId]/route.ts

Or the swagger.yaml spec this documentation was generated from: /vanity-domains/swagger.yaml