curl --request POST \
--url https://api.thepurplebox.io/v1/domains/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>'{
"status": 200,
"message": "verification triggered successfully.",
"data": {
"id": "xxxxx",
"value": "yourdomain.com",
"team_id": "xxxxx",
"status": "success",
"identity_type": "domain",
"created_at": "2025-11-21T10:23:14.737725Z",
"verified_at": "2025-11-21T10:30:45.123456Z",
"attributes": {
"dkim_attributes": {
"name": "thepurplebox._domainkey.yourdomain",
"record_type": "TXT",
"value": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsBL1UV+VVUqIlNrkhBBC...xxxxx",
"ttl": "auto",
"status": "success"
},
"mail_from_attributes": [
{
"name": "send.yourdomain",
"record_type": "TXT",
"value": "xxxxx",
"ttl": "60",
"status": "success"
},
{
"name": "bounce.yourdomain",
"record_type": "CNAME",
"value": "xxxx",
"ttl": "60",
"status": "success"
}
],
"dmarc_attributes": {
"name": "_dmarc",
"record_type": "TXT",
"value": "v=DMARC1;p=none;",
"ttl": "auto",
"status": "success"
},
"verification_status": "success",
"verified_for_sending_status": true,
"error_type": ""
},
"last_status_checked_at": "2025-11-21T10:30:45.123456Z"
}
}
Trigger verification of DNS records for a domain identity.
curl --request POST \
--url https://api.thepurplebox.io/v1/domains/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>'{
"status": 200,
"message": "verification triggered successfully.",
"data": {
"id": "xxxxx",
"value": "yourdomain.com",
"team_id": "xxxxx",
"status": "success",
"identity_type": "domain",
"created_at": "2025-11-21T10:23:14.737725Z",
"verified_at": "2025-11-21T10:30:45.123456Z",
"attributes": {
"dkim_attributes": {
"name": "thepurplebox._domainkey.yourdomain",
"record_type": "TXT",
"value": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsBL1UV+VVUqIlNrkhBBC...xxxxx",
"ttl": "auto",
"status": "success"
},
"mail_from_attributes": [
{
"name": "send.yourdomain",
"record_type": "TXT",
"value": "xxxxx",
"ttl": "60",
"status": "success"
},
{
"name": "bounce.yourdomain",
"record_type": "CNAME",
"value": "xxxx",
"ttl": "60",
"status": "success"
}
],
"dmarc_attributes": {
"name": "_dmarc",
"record_type": "TXT",
"value": "v=DMARC1;p=none;",
"ttl": "auto",
"status": "success"
},
"verification_status": "success",
"verified_for_sending_status": true,
"error_type": ""
},
"last_status_checked_at": "2025-11-21T10:30:45.123456Z"
}
}
application/jsonyourdomain.com).200 when the verification check is triggered successfully.Show properties
not_started, pending, success, failed, temporary_failure.domain for domain identities.Show properties
Show properties
not_started, pending, success, failed, temporary_failure.true when all DNS records are verified.{
"status": 200,
"message": "verification triggered successfully.",
"data": {
"id": "xxxxx",
"value": "yourdomain.com",
"team_id": "xxxxx",
"status": "success",
"identity_type": "domain",
"created_at": "2025-11-21T10:23:14.737725Z",
"verified_at": "2025-11-21T10:30:45.123456Z",
"attributes": {
"dkim_attributes": {
"name": "thepurplebox._domainkey.yourdomain",
"record_type": "TXT",
"value": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsBL1UV+VVUqIlNrkhBBC...xxxxx",
"ttl": "auto",
"status": "success"
},
"mail_from_attributes": [
{
"name": "send.yourdomain",
"record_type": "TXT",
"value": "xxxxx",
"ttl": "60",
"status": "success"
},
{
"name": "bounce.yourdomain",
"record_type": "CNAME",
"value": "xxxx",
"ttl": "60",
"status": "success"
}
],
"dmarc_attributes": {
"name": "_dmarc",
"record_type": "TXT",
"value": "v=DMARC1;p=none;",
"ttl": "auto",
"status": "success"
},
"verification_status": "success",
"verified_for_sending_status": true,
"error_type": ""
},
"last_status_checked_at": "2025-11-21T10:30:45.123456Z"
}
}