Skip to main content
POST
/
email
/
identities
/
verify
Verify sender
curl --request POST \
  --url https://www.dench.com/api/v1/email/identities/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "email",
  "identity": "founder@example.com"
}
'
{
  "ok": true,
  "identity": "example.com",
  "type": "domain",
  "identityType": "DOMAIN",
  "verifiedForSendingStatus": false,
  "dkimTokens": [
    "abc123token",
    "def456token",
    "ghi789token"
  ]
}

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
type
enum<string>
required

Identity scope. domain verifies via DNS (DKIM); email verifies a single mailbox via a confirmation email.

Available options:
domain,
email
identity
string
required

Domain (example.com) or mailbox (founder@example.com).

configurationSetName
string

Optional provider configuration set override.

Response

Successful response

ok
boolean
required
identity
string
required
type
enum<string>
required

Identity scope. domain verifies via DNS (DKIM); email verifies a single mailbox via a confirmation email.

Available options:
domain,
email
identityType
string | null
required

Provider identity type, e.g. "DOMAIN" or "EMAIL_ADDRESS".

verifiedForSendingStatus
boolean
required
dkimTokens
string[]
required

DKIM tokens for DNS records (domain identities).

messageId
string | null

Verification email id (email identities only).

{key}
any