ALLOWED RECIPIENTS
Add allowed recipients
Changed onAdd one or more email addresses and domain names to your Allowed Recipients List. Further details of the associated setting are found in the SMTP2GO Guides.
post/allowed_recipients/add
Request
- Base URLhttps://api.smtp2go.com/v3
- Auth
- API key in header X-Smtp2go-Api-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"enabled": true
}Response
Allowed Recipients list updated
Example response
{
"request_id": "40cbb6f2-935f-11e7-b5be-480fcf01a6f2",
"data": {
"allowed_recipients": [
"test-person@example.com"
],
"enabled": true
}
}Changes
- info
added the new optional request property
- info