Skip to content

Verify domain DNS records

POST
/orgs/{orgId}/domains/{id}/verify
curl --request POST \
--url https://example.com/api/v1/orgs/example/domains/example/verify \
--header 'Authorization: Bearer <token>'

Checks the domain’s DNS TXT verification record and, when a serveTarget is configured, verifies its CNAME and HTTPS /healthz reachability. Requires owner or admin role.

Requires a session or an org-wide API token; bucket-scoped tokens are rejected with 403.

orgId
required

Organization ID.

string
id
required

Resource ID within the organization.

string

DNS ownership and serving reachability probe results

Media typeapplication/json
object
live
required
Any of:
boolean
verified
required
boolean

Example generated

{
"live": true,
"verified": true
}

Authentication required or credentials invalid.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Insufficient role, bucket grant, or token scope.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Resource not found.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Unexpected server error. Quote data.requestId when you report it.

Media typeapplication/json

Error returned when Sendcrate or one of its providers fails (5xx).

object
code
required
string
Allowed values: INTERNAL_SERVER_ERROR PROVIDER_FAILED
data
object
debug

Error chain with stack traces. Present only when the server runs in development mode.

Array
requestId

Request reference to quote when you report the error.

string
message
required

Human-readable error explanation.

string

Example

{
"code": "INTERNAL_SERVER_ERROR"
}

The storage, DNS, mail, or payment provider failed or refused the request.

Media typeapplication/json

Error returned when Sendcrate or one of its providers fails (5xx).

object
code
required
string
Allowed values: INTERNAL_SERVER_ERROR PROVIDER_FAILED
data
object
debug

Error chain with stack traces. Present only when the server runs in development mode.

Array
requestId

Request reference to quote when you report the error.

string
message
required

Human-readable error explanation.

string

Example

{
"code": "INTERNAL_SERVER_ERROR"
}