cURL
curl --request POST \ --url https://api.withampersand.com/v1/projects/{projectIdOrName}/topic-destination-routes \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "topicId": "1234567890abcdef", "destinationId": "abcdef1234567890" }'
{ "id": "<string>", "topicId": "<string>", "destinationId": "<string>", "projectId": "<string>", "createTime": "2023-11-07T05:31:56Z" }
The Ampersand project ID or project name.
The ID of the topic.
The ID of the destination.
Created
The topic destination route ID.
The Ampersand project ID.
The time when the topic destination route was created.
Was this page helpful?