Emails

Create send from email

POST
/organizations/{organizationId}/emails

Creates a new send-from identity. Defaults to a per-address identity (sends a SES verification email to the recipient); pass identityType: "domain" with domain: "<bare-hostname>" to provision a per-domain SES identity (returns DKIM + MAIL FROM DNS records for the customer to publish at their DNS provider).

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/emails" \  -H "Content-Type: application/json" \  -d '{}'
{  "dateCreated": 0,  "email": "user@example.com",  "id": "default",  "name": "string",  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "projects": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string"    }  ],  "status": "verified"}