v1

latestOpenAPI 3.1.02026-07-24700259.3 KB
ALLOWED RECIPIENTS

Update allowed recipients

Replace the email addresses and domain names on your Allowed Recipients List using this endpoint. Further details of these modes are found in the SMPT2GO Guides. Note that a post to this endpoint will return a success, even if the setting is not in use.

post/allowed_recipients/update

Request body

allowed_recipientsstring[] required

Array of email addresses and domain names.

enabledboolean required

A flag indicating if this list should be taken into account when sending

subaccount_idstring

If you wish to make this API call on behalf of a subaccount then include its unique ID here

Example request

{
  "enabled": true
}

Response

Allowed Recipients list updated

request_idstring required

Example response

{
  "request_id": "40cbb6f2-935f-11e7-b5be-480fcf01a6f2",
  "data": {
    "allowed_recipients": [
      "test-person@example.com"
    ],
    "enabled": true
  }
}