Subscriptions
Create a new subscription
POST
https://api.tiledesk.com/v3/:project_id/subscriptions
This endpoint allows to add more subscriptions.
Path Parameters
Name | Type | Description |
---|---|---|
project_id | string | The project_id is a unique code assigned to your project when you create it in Tiledesk |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | authorization token. Basic Auth or JWT |
Content-Type | string | use "application/json" value |
Request Body
Name | Type | Description |
---|---|---|
event | string | the event method |
target | string | the target url |
Example
This endpoint retrieves all subscriptions
GET
https://api.tiledesk.com/v3/:project_id/subscriptions
This endpoint retrieves all active subscriptions.
Path Parameters
Name | Type | Description |
---|---|---|
project_id | string | the Project Id is a unique code assigned to your project when you create it in Tiledesk. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | authorization token. Basic Auth or JWT |
Get a subscription by id
GET
https://api.tiledesk.com/v3/:project_id/subscriptions/:id
This endpoint retrieves a subscription by ID
Path Parameters
Name | Type | Description |
---|---|---|
id | string | the subscription identifier |
project_id | string | The project_id is a unique code assigned to your project when you create it in Tiledesk |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | authorization token. Basic Auth or JWT |
This endpoint deletes a subscription by id
DELETE
https://api.tiledesk.com/v3/:project_id/subscriptions/:id
This endpoint delete a subscription by ID
Path Parameters
Name | Type | Description |
---|---|---|
id | string | the subscription identifier |
project_id | string | The project_id is a unique code assigned to your project when you create it in Tiledesk |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | authorization token. Basic Auth or JWT |
Update a subscription
PUT
https://api.tiledesk.com/v3/:project_id/subscriptions/:id
This endpoint updates a subscription.
Path Parameters
Name | Type | Description |
---|---|---|
project_id | string | The project_id is a unique code assigned to your project when you create it in Tiledesk |
id | string | the subscription identifier |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | authorization token. Basic Auth or JWT |
Content-Type | string | use "application/json" value |
Request Body
Name | Type | Description |
---|---|---|
event | string | the event method |
target | string | the target url |
Example
Get the subscriptions logs
GET
https://api.tiledesk.com/v3/:project_id/subscriptions/history
The endpoint receives subscription call logs.
\
Experimental
Path Parameters
Name | Type | Description |
---|---|---|
project_id | string | the Project Id is a unique code assigned to your project when you create it in Tiledesk. |
Query Parameters
Name | Type | Description |
---|---|---|
page | number | what page of results to fetch. default to first page. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | authorization token. Basic Auth or JWT |
Example:
Last updated