PUT/v3/sending-domains/{id}/allowed-from-emails
JWT
sendingDomain:write

Parameters

NameTypeInDescription
id*stringpathUnique identifier for the sending domain.

Request Body Schema

PropertyTypeDescriptionConstraints
allowedFromEmailsarrayList of email addresses to add to this sending domain.items: string

Request Example

{
  "allowedFromEmails": [
    "string"
  ]
}
Triggers webhook: sendingDomain.updated
POST <your-webhook-url>
{
  "event": "sendingDomain.updated",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "domain": "string",
    "dkimHost": "string",
    "dkimTextValue": "string",
    "dkimVerified": true,
    "returnPathDomain": "string",
    "returnPathDomainCnameValue": "string",
    "returnPathDomainVerified": true,
    "allowedFromEmails": [
      {
        "email": "string",
        "verified": true
      }
    ]
  },
  "triggeredAt": "string"
}

Responses

200 OK
{
  "id": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "domain": "string",
  "dkimHost": "string",
  "dkimTextValue": "string",
  "dkimVerified": true,
  "returnPathDomain": "string",
  "returnPathDomainCnameValue": "string",
  "returnPathDomainVerified": true,
  "allowedFromEmails": [
    {
      "email": "string",
      "verified": true
    }
  ]
}