Projects
The Project model
Key | Type | Description |
---|---|---|
id | String | The unique identifier for the project which is given by Tiledesk. |
name | String | The project name. |
activeOperatingHours | Boolena | Determine if the operating hours option is enabled |
operatingHours | Object | The operating hours settings. |
settings | Object | The project settings |
widget | Object | The widget settings. |
profile | Object | The project profile object |
status | Number | The project status. Permitted values: 100 active, 0 disabled |
createdAt | String | The time (ISO-8601 date string) when the project was created. |
updatedAt | String | The time (ISO-8601 date string) when the project was updated. |
createdBy | String | The unique identifier of the row creator |
Get a list of projects the user belongs
GET
https://api.tiledesk.com/v3/projects/
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorization token. Basic Auth or JWT. Minumun role: user |
Get the project detail
GET
https://api.tiledesk.com/v3/projects/:project_id
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. Minumun role: agent |
Return the available agents
GET
https://api.tiledesk.com/v3/projects/:project_id/users/availables
Return the available agents evaluating the general operating hours of the project and agents chat load (with Smart Assignment enabled)
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 |
---|---|---|
raw | Boolean | If true only agents status is considered (the general operating hours of the project are not considered) |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorization token. Basic Auth or JWT. Minumun role: user |
Return if the project is open regarding operating hours
GET
https://api.tiledesk.com/v3/projects/:project_id/isopen
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. Minumun role: guest |
Update the project (Widget Settings)
PUT
https://api.tiledesk.com/v3/projects/:project_id/availables
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. Minumun role: user |
Request Body
Name | Type | Description |
---|---|---|
widget | Object | The object containing the widget configuration parameters (See curl example) |
Example:
Last updated