Skip to content

Claim an email domain

POST
/org/domains
curl --request POST \
--url https://api.global.stillbox.example/v1/org/domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "domain": "acme.com" }'

Prove it with the DNS record returned.

Media typeapplication/json
object
domain
required
string

The domain and the TXT record that proves it

Media typeapplication/json
object
domain
required
string
verified
required
boolean
verified_at
string format: date-time
record_name
required

The TXT record to add, e.g. _stillbox-verification.acme.com.

string
record_value
required
string

Example generated

{
"domain": "example",
"verified": true,
"verified_at": "2026-04-15T12:00:00Z",
"record_name": "example",
"record_value": "example"
}

The request is invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}