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

Function

Local API route

Cloud API route /

GraphQL function

Note

Make a call

POST /api/calls

POST /calls

  • minor change in parameters structure

Get call history

GET /api/calls

GET /calls

  • missing/renamed params callId(linkedid), uniqueId, srcNumber(src), dstNumber(dst), callDateSort(sortColumn)

Get call detail

GET /api/calls/callId/detail

GET /calls/{callId}/detail

  • less data in response (only eventtype, eventtime, src, dst)

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

  • minor change in response queues format

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

  • without pause details

Get record properties

GET /api/records/id

GET /calls/{callId}/recordings

  • missing duration in response

  • can return multiple recordings

Get record content

GET /api/records/id/stream

GET /recordings/{filename}

  • needs filename parameter - from GET /calls/{callId}/recordings

Delete record

DELETE /api/records/id

POST /recordings/batch-delete

  • needs to specify all files to delete (for one call)

Get extended reports

GET /api/reports/extendedCalls

GET /reports/calls

  • without customer rating filter

Status cti

GET /api/status/cti

 

  • deprecated