get https://mytenant.cx.onecloud.com/clientweb/api/v2/chats//profilephotos/
This method downloads a profile photo of the specified agent.
Request Body
The request body is the party ID of the agent participating in the current chat session.
Note: The party ID is provided with the chat event (polled at https://{host:port}/clientweb/api/v1/chats/{chatId}/events?tenantUrl={tenantUrl}). For example, you can see party_ID in the event message for chat_session_party_joined.
Returns
| Code | Description |
|---|---|
| 200 | File content type |
Errors
| Code | Description |
|---|---|
| 403 | Forbidden |
| 404 | Not found |
