Pathname) associated with a domain and a traffic source.bash
POST /pathname/:trafficSourceId/:domainId
Authorization header of the request. The token must be obtained through the user authentication route.bash
Authorization: Bearer <your-token-here>
trafficSourceId and domainId in the URL, and the path value in the request body. The user must be the owner of the specified TrafficSource.trafficSourceId | string | Traffic source ID. | Yes |
| domainId | string | ID of the domain to which the pathname belongs. | Yes |value | string | The URL path (e.g., /products/123). | Yes |json
{"value": "/dashboard"}
201 Createdjson
{"id": "g1h2i3j4-k5l6-7890-1234-567890abcdef","value": "/dashboard","trafficSourceId": "c1d2e3f4-g5h6-7890-1234-567890abcdef","domainId": "e1f2g3h4-i5j6-7890-1234-567890abcdef","createdAt": "2025-07-10T15:00:00.000Z"}
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
TrafficSource or Domain with the provided IDs were not found.500 Internal Server Error