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