Domains
GET/api/v1/domainsfull access
List domains
Returns all domains associated with your account. Requires a full-access key.
Response
dataDomain[]Array of domain objects.
totalnumberTotal number of domains.
Request (curl)
curl "https://sendexapi.com/api/v1/domains" \ -H "Authorization: Bearer sk_live_XXXX"
Response
{
"data": [
{
"id": "66f1a2b3c4d5e6f7a8b9c0d2",
"domain": "example.com",
"status": "verified",
"created_at": "2025-01-01T00:00:00.000Z",
"verified_at": "2025-01-02T12:00:00.000Z"
}
],
"total": 1
}GET/api/v1/domains/:domainfull access
Retrieve a domain
Retrieves a single domain by its name (e.g. example.com). Requires a full-access key.
Response
idstringInternal domain ID.
domainstringDomain name.
statuspending | verified | failedVerification status.
regionstringAWS region used for this domain.
created_atISO 8601When the domain was added.
verified_atISO 8601 | nullWhen the domain was verified, or null.
Request (curl)
curl "https://sendexapi.com/api/v1/domains/example.com" \ -H "Authorization: Bearer sk_live_XXXX"
Response
{
"id": "66f1a2b3c4d5e6f7a8b9c0d2",
"domain": "example.com",
"status": "verified",
"region": "us-east-1",
"created_at": "2025-01-01T00:00:00.000Z",
"verified_at": "2025-01-02T12:00:00.000Z"
}