Skip to main content
GET
/
api
/
domains
curl -X GET https://api.dyeink.com/api/domains \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "hasDomain": false
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/subratomandal/dyeink/llms.txt

Use this file to discover all available pages before exploring further.

Retrieves the custom domain configuration and verification status for the authenticated user. Checks the current verification status with Vercel and updates the domain status if it has been verified.

Authentication

Requires authentication via Authorization header with Bearer token.

Response

When no domain is configured:

hasDomain
boolean
Returns false when no custom domain is configured

When a domain is configured:

hasDomain
boolean
Returns true when a custom domain is configured
domain
string
The custom domain configured for the site
status
string
Current status in the database. Possible values: pending, verified, active, failed
verified
boolean
Whether the domain is verified with Vercel
verification
object[]
Array of verification records required to verify the domain
curl -X GET https://api.dyeink.com/api/domains \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "hasDomain": false
}

Build docs developers (and LLMs) love