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
headerx-api-key<token>

Path Parameters

organizationId*string
Formatuuid

Request Body

application/json
  1. body
name?string
Lengthlength <= 256
identityType?string
Default"address"
Value in"address""domain"
email?string
Formatemail
domain?string
Formathostname

Response Body

Default Response

application/json
  1. response
dateCreated*integer
email*string
Formatemail
id*"default"
Value in"default"
name?string
organizationId?string
Formatuuid
projects?array<>
status*"verified"
Value in"verified"
Example Request
curl -X POST 'https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/emails' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "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"}