Links

Groups

The Group model

Key
Type
Description
id
String
The unique identifier for the group which is given by Tiledesk.
name
String
The group name.
members
Array
The group members
trashed
Boolean
Determine if the group is deleted
attributes
Object
The custom attributes which are set for the group.
createdAt
String
The time when the group was created.
updatedAt
String
The time when the group was updated.
createdBy
String
The unique identifier of the row creator
id_project
String
The unique identifier of the project
get
https://api.tiledesk.com
/v3/:project_id/groups
Get all groups
Example
curl -v -X GET -u [email protected]:123456 https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/groups
get
https://api.tiledesk.com
/v3/:project_id/groups/:id
Get the group by id
Example:
curl -v -X GET -u [email protected]:123456 https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/groups/5c34b52a9f22a7001681e888
post
https://api.tiledesk.com
/v3/:project_id/groups
Create a new group
Example:
curl -v -X POST -H 'Content-Type: application/json' -u [email protected]:123456 -d '{"name":"new group1", "members":["5ab0f3fa57066e0014bfd71e"]}' https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/groups
put
https://api.tiledesk.com
/v3/:project_id/groups/:id
Update a group
Example:
curl -v -X PUT -H 'Content-Type: application/json' -u [email protected]:123456 -d '{"name":"new group1", "members":["5ab0f3fa57066e0014bfd71e"]}' https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/groups/groups/5c34b52a9f22a7001681e888
delete
https://api.tiledesk.com
/v3/:project_id/groups/:id
Delete a group
Example:
curl -v -X DELETE -H 'Content-Type: application/json' -u [email protected]:123456 https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/groups/5c34b52a9f22a7001681e888