Custom Domain

Add Custom Domain

Add a custom domain to your blog. Returns domain configuration including Vercel DNS settings required for verification.

post/blogs/domain

Request body

custom_domainstring required

Custom domain to connect. Provide the hostname only, without protocol.

Example request

{
  "custom_domain": "blog.example.com"
}

Response

Custom domain added successfully

domainstring required

Custom domain that was saved on the blog

verifiedboolean required

Initial verification state saved for the domain

vercelobject nullable

Raw Vercel domain creation response. The exact field set varies depending on the current Vercel domain state.

Example response

{
  "domain": "blog.example.com"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.