Customer module

Endpoints

Endpoints for managing customers and users

GET

/queuegroups Returns collection of QueueGroup resources

POST

/queuegroups Creates new QueueGroup resource

GET

/queuegroups/{id} Returns QueueGroup resource for given Id

PATCH

/queuegroups/{id} Updates existing QueueGroup resource

DELETE

/queuegroups/{id} Deletes existing QueueGroups resources

DELETE

/customers/{id} Deletes customer account

GET

/users Returns collection of User resources

PATCH

/users [BULK] Updates location and/or teams of existing User resources

GET

/users/{id} Returns User resource for given Id

DELETE

/users/{id} Deletes existing User resource

GET

/me Returns User metadata

GET

/users/{id}/contacts Returns collection of Contact resources only for given user

GET

/users/{id}/cdrs Returns collection of Cdr resources for given user

GET

/users/{id}/chatmsgs Returns collection of Chat nessage resources for given user

GET

/users/{id}/calls Returns collection of Call resources for given user

GET

/usergroups Returns collection of UserGroup resources

POST

/usergroups Creates new UserGroup resource

GET

/usergroups/{id} Returns UserGroup resource for given Id

PATCH

/usergroups/{id} Updates existing UserGroup resource

DELETE

/usergroups/{id} Deletes existing UserGroups resources

GET

/usergrouppolicies Returns collection of UserGroup resources

POST

/usergrouppolicies Creates new UserGroup resource

GET

/usergrouppolicies/{id} Returns UserGroup resource for given Id

PATCH

/usergrouppolicies/{id} Updates existing UserGroup resource

DELETE

/usergrouppolicies/{id} Deletes existing UserGroups resources

GET

/users/{id}/audio Returns User resource for given Id

DELETE

/users/{id}/audio Reset existing User audio resource

GET

/users/{id}/smsthreads/{from}/{to} Returns collection of grouped SMS resources for given user

GET

/users/{id}/sms/threads/{from}/{to} Returns collection of grouped SMS resources for given user

Models

User