Displaying a caller's user profile in Support

On detecting the system event associated with an agent answering an inbound call, the telephony system can display the Zendesk user profile of the caller to the agent in Support. The agent can then look up the caller's existing tickets or create a ticket.

The flow consists of making requests to retrieve the Zendesk user id of both the caller and the agent, then making a request to the Talk API to display the caller's user profile for the agent in Support.

  1. Retrieve the caller's Zendesk user id. SeeRetrieving the Zendesk user id of a callerin this guide.

  2. Retrieve the agent's Zendesk user id. SeeRetrieving the Zendesk user id of a call-center agentin this guide.

  3. Use the user id of the agent and caller in a Talk API request to open the caller's user profile in the agent's browser:

    POST /api/v2/channels/voice/agents/{agent_id}/users/{user_id}/display.json

    SeeOpen a user's profile in an agent's browserin the Talk API docs.