Get suppression domains
This method allows you to get domains that can be managed for suppressions and are either owned or have granted permissions.
Please log in to see full path URL. Learn why.
get
/email/1/suppressions/domains
Authorizations:
Scopes:
Request rate limit:
100 requests / second (per account)
query Parameters
page | integer >= 0 Default: 0 Requested page number. |
size | integer >= 1 Default: 100 Requested page size. |
Responses
200
OK
401
Unauthorized
403
Forbidden
429
Too Many Requests
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/email/1/suppressions/domains' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 401
- 403
- 429
- 500
Content type
application/json
Copy
Collapse all {- "results": [
- {
- "domainName": "another.example.com",
- "dataAccess": "OWNER",
- "readBounces": true,
- "createBounces": true,
- "deleteBounces": true,
- "readComplaints": true,
- "createComplaints": true,
- "deleteComplaints": true,
- "readOverquotas": true,
- "deleteOverquotas": true
}, - {
- "domainName": "example.com",
- "dataAccess": "GRANTED",
- "readBounces": true,
- "createBounces": true,
- "deleteBounces": false,
- "readComplaints": true,
- "createComplaints": false,
- "deleteComplaints": false,
- "readOverquotas": false,
- "deleteOverquotas": false
}
], - "paging": {
- "page": 0,
- "size": 100
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See