Tiledesk Docs
Search…
Subscriptions
post
https://api.tiledesk.com
/v2/:project_id/subscriptions
Create a new subscription
Example
1
curl -v -X POST -H 'Content-Type:application/json' -u [email protected]:123456 -d '{"event":"request.create", "target":"https://webhook.site/c312005b-5042-49e9-a769-0f3ba4245b51"}' https://api.tiledesk.com/v2/5b55e806c93dde00143163dd/subscriptions
Copied!
get
https://api.tiledesk.com
/v2/:project_id/subscriptions
This endpoint retrieves all subscriptions
get
https://api.tiledesk.com
/v2/:project_id/subscriptions/:id
Get a subscription by id
delete
https://api.tiledesk.com
/v2/:project_id/subscriptions/:id
This endpoint deletes a subscription by id
put
https://api.tiledesk.com
/v2/:project_id/subscriptions/:id
Update a subscription
Example
1
curl -v -X PUT -H 'Content-Type:application/json' -u [email protected]:123456 -d '{"event":"request.create", "target":"https://webhook.site/c312005b-5042-49e9-a769-0f3ba4245b51"}' https://api.tiledesk.com/v2/5b55e806c93dde00143163dd/subscriptions/5c879fb4f1ae6600173b8c75
Copied!
get
https://api.tiledesk.com/v2
/:project_id/subscriptions/history
Get the subscriptions history
Example:
1
curl -v -X GET -u [email protected]:123 https://api.tiledesk.com/v2/5e37f45c4d82de00178b96ad/subscriptions/history
Copied!
Last modified 8mo ago