Atlas
Admin — Custom Domain

Verify domain ownership via DNS TXT

Checks DNS TXT records for the workspace's custom domain verification token. Proves domain ownership independently from Railway CNAME verification. On successful verification, also auto-verifies any pending SSO provider for the same domain in the same workspace.

POST
/api/v1/admin/domain/verify-dns

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/v1/admin/domain/verify-dns"
{
  "id": "string",
  "workspaceId": "string",
  "domain": "string",
  "status": "pending",
  "railwayDomainId": "string",
  "cnameTarget": "string",
  "certificateStatus": "PENDING",
  "verificationToken": "string",
  "domainVerified": true,
  "domainVerifiedAt": "string",
  "domainVerificationStatus": "pending",
  "createdAt": "string",
  "verifiedAt": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
Edit on GitHub

Last updated on