bash
GET /traffic-source
Authorization header of the request. The token must be obtained through the user authentication route.bash
Authorization: Bearer <your-token-here>
page | number | Number of the page to be returned. | 1 |
| limit | number | Number of traffic sources per page. | 10 |200 OKjson
{"date": [{"id": "c1d2e3f4-g5h6-7890-1234-567890abcdef","name": "Payments API","trafficDomain": "api.pagamentos.com","userId": "a1b2c3d4-e5f6-7890-1234-567890abcdef","createdAt": "2025-07-10T11:00:00.000Z","updatedAt": "2025-07-10T11:00:00.000Z"},{"id": "d2e3f4g5-h6i7-8901-2345-678901abcdef","name": "Institutional Website","trafficDomain": "meusite.com","userId": "a1b2c3d4-e5f6-7890-1234-567890abcdef","createdAt": "2025-07-09T16:00:00.000Z","updatedAt": "2025-07-09T16:00:00.000Z"}],"meta": {"total": 2,"page": 1,"limit": 10}}
json
{"data": [],"meta": {"total": 0,"page": 1,"limit": 10}}
400 Bad Request
401 Unauthorized
500 Internal Server Error