Get Short Client Info by Phone Numbers or External Client IDs

Gets short information about clients registered in edna Chat Center using a list of phone numbers or external client IDs.



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": [
    "externalIds": null

Response Variables

[].idnumber edna client ID
[].externalIdstringExternal client ID
[].phonestringClient’s phone number
[].hasActiveThreadbooleanTrue 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
Update Client Profile by Internal Client ID in edna Chat Center
Next Article Get Client Profile by Internal ID