TrafficSource).bash
GET /domain/:trafficSourceId
Authorization header of the request. The token must be obtained through the user authentication route.bash
Authorization: Bearer <your-token-here>
TrafficSource specified in the URL. The user must be the owner of the traffic source.trafficSourceId | string | ID of the traffic source from which to list domains. | Yes |page | number | Number of the page to be returned. | 1 |
| limit | number | Number of domains per page. | 10 |200 OKjson
{"date": [{"id": "e1f2g3h4-i5j6-7890-1234-567890abcdef","value": "app.mysite.com","protocol": "HTTPS","trafficSourceId": "c1d2e3f4-g5h6-7890-1234-567890abcdef","createdAt": "2025-07-10T14:00:00.000Z"},{"id": "f2g3h4i5-j6k7-8901-2345-678901abcdef","value": "api.mysite.com","protocol": "HTTP","trafficSourceId": "c1d2e3f4-g5h6-7890-1234-567890abcdef","createdAt": "2025-07-10T14:05:00.000Z"}],"meta": {"total": 2,"page": 1,"limit": 10}}
json
{"data": [],"meta": {"total": 0,"page": 1,"limit": 10}}
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
TrafficSource with the provided ID was not found.500 Internal Server Error