GET dll_whitelist_domains
The GET dll_whitelist_domains API returns a collection of DLL whitelist domains for your organization.
Results are given 100 domains at a time. You can navigate through multiple pages of results using the nextpageURL
value in subsequent requests.
Note:
Only an org admin can call this API.
Resource URL
{CAMPAIGN_API_ENDPOINT}/rest/orgs/{orgId}/dll_whitelist_domains
or
{CAMPAIGN_API_ENDPOINT}/rest/orgs/{orgId}/dll_whitelist_domains/{domainId}
A custom page size and starting page can also be specified, for example:
/rest/orgs/{orgId}/dll_whitelist_domains?pagesize=10&page=3
Example response
{
"meta": {
"attributes": {},
"generalErrors": [],
"fieldErrors": {},
"links": [],
"nextPageUrl": null
},
"data": [
{
"id": 921,
"name": "test.com",
"createdBy": {
"id": 26662,
"firstName": "City Cool",
"lastName": "Marketing Team"
},
"creationDate": "2021-10-01T03:36Z"
},
{
"id": 922,
"name": "test2.com",
"createdBy": {
"id": 26662,
"firstName": "City Cool",
"lastName": "Marketing Team"
},
"creationDate": "2021-10-01T03:40Z"
}
]
}
Response codes
Code | Name | Description |
---|---|---|
200 | OK | Request was successful. |
400 | Bad request | Malformed, missing, otherwise invalid values supplied with the request. The error message will provide more details. |
403 | Forbidden | The user does not have access to this resource. |
404 | Not found | The requested resource was not found. |