Differences to local API
Cloud API uses only bearer token authentication (basic authentication is deprecated).
Function | Local API route | Cloud API route / GraphQL function | Note |
---|---|---|---|
Make a call | POST /api/calls | POST /calls |
|
Get call history | GET /api/calls | GET /calls |
|
Get call detail | GET /api/calls/callId/detail | GET /calls/{callId}/detail |
|
Transfer a call | POST /api/calls/transfer | PUT /calls/transfer |
|
Cancel call transfer | DELETE /api/calls/transfer | DELETE /calls/transfer |
|
Agent list | GET /api/members | GET /members |
|
Agent log-in | PUT /api/members/memberId/login | graphql mutation userAction(action, queue) |
|
Agent log-out | PUT /api/members/logout | graphql mutation userAction(action, queue) |
|
Agent status | GET /api/members/status | graphql query Agents(userId) |
|
Agent pause | PUT /api/members/pause | graphql mutation userAction(action, pause) |
|
Agent unpause | PUT /api/members/unpause | graphql mutation userAction(action, pause) |
|
Pauses list | GET /api/pauses | GET /pauses |
|
Get record properties | GET /api/records/id | GET /calls/{callId}/recordings |
|
Get record content | GET /api/records/id/stream | GET /recordings/{filename} |
|
Delete record | DELETE /api/records/id | POST /recordings/batch-delete |
|
Get extended reports | GET /api/reports/extendedCalls | GET /reports/calls |
|
Status cti | GET /api/status/cti |
|
|