Gets short information about clients registered in edna Chat Center using a list of phone numbers or external client IDs.
Permissions
---- Permissions:INTEGRATOR,OPERATOR,SUPERVISOR ----
HTTP Request
POST /api/v1/clients/short-info HTTP/1.1 Content-Type: application/json Authorization: Bearer <integrator_token> Content-Length: 76 Host: localhost: 8080 { "phones": [ "78423493234", "78423493236" ], "externalIds": null }
Response Variables
Parameter | Type | Description |
[].id | number | edna client ID |
[].externalId | string | External client ID |
[].phone | string | Client’s phone number |
[].hasActiveThread | boolean | True if the client has an active thread, otherwise – false |
Example of a Successful HTTP Response
HTTP/1.1 200 OK Vary: Origin Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json Content-Length: 225 [ { "id": 10, "externalId": "extClientId_1", "phone": "78423493234", "hasActiveThread": true }, { "id": 11, "externalId": "extClientId_2", "phone": "79000000000", "hasActiveThread": false } ]