Email domain
Add sending domain
POST
Register a sending domain with Resend and return the SPF / DKIM / DMARC DNS records to publish.
Required scopes: email:write. Runs at once.
bearerAuthheader
AuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
Length
length <= 255The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/email_domain.add' \ -H 'Content-Type: application/json' \ -d '{ "input": { "domain": "string" }}'Example Response
{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Unsubscribe POST
Suppress an address (unsubscribe): adds the suppression-list row, sets the contact opt-out, and logs the event. Required scopes: email:write. Runs at once.
List sending domains POST
List the workspace’s sending domains with their status + DNS records. Required scopes: email:read. Read only.