IP Allow List
Enable IP Allow List
Changed onEnables/Disables an IP allow list.
post/ip_allow_list
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
{
"api_key": "api-700B************************8F4E",
"enabled": true,
"type": "api"
}Response
Success – IP allow list status returned
Example response
{
"request_id": "c0af7a72-46a8-11ee-9482-6754933d50b9",
"data": {
"enabled": true
}
}Changes
- info
endpoint added
- info