Gets client profile by internal ID in edna Chat Center.
Permissions
---- Permissions:INTEGRATOR,OPERATOR,SUPERVISOR ----
HTTP Request
GET /api/v1/clients/internal/1/profile HTTP/1.1 Authorization: Bearer <integrator_token> Host: localhost:8080
HTTP Response Variables
Parameter | Type | Description |
externalClientId | string | Client’s unique identifier in a third-party system |
fullName | string | Client’s name from the third-party system |
segment | string | Client’s segment |
phone | string | Custom field that can be used to show the client’s phone number. This field doesn’t contain a title. |
email | string | Custom field that can be used to show the client’s email address. This field doesn’t contain a title. |
blocked | boolean | Value that defines whether the client is blocked |
additional[].key | string | Example: balance |
additional[].value | string | Example: 10000 |
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: 313 { "externalClientId": "ext", "fullName": "Oleg Olegovich Smirnov", "email": "email@mail.ru", "phone": "79000000000", "segment": "VIP", "blocked": false, "additional": [ { "key": "balance", "value": "1000.0" }, { "key": "packetLeft", "value": "10 min" } ] }