Verify a send domain

Runs an on-demand DNS check for the domain, stores the result, and returns the refreshed record. The check passes when every MX record of s2reply.<domain> points to sndstrk.com. Call it after you publish that record.

POST/v2/accounts/{accountId}/send-domains/{domain}/verifications

Base URL https://api.sendstreak.com. All v2 endpoints require a bearer token - see Authentication.

Path parameters

accountIdstringrequired

The account the request is scoped to.

domainstringrequired

Response

The send domain with refreshed verification state.

Errors

401

Missing or invalid token, or the token is not authorized for this account/user.

404

The requested resource does not exist.

See Errors and rate limits for what error responses look like.

curl --location --request POST 'https://api.sendstreak.com/v2/accounts/YOUR_ACCOUNT_ID/send-domains/YOUR_DOMAIN/verifications' \
--header 'Authorization: Bearer YOUR_API_TOKEN'
response200application/json
{
  "domain": "mail.example.com",
  "validated": false
}