Get your company's agents
Returns the agents in your account that can receive conversations. Use it to find out each agent’s email and id, which are the values you must return from your endpoint when using the API destination of the Transfer Methods block.
Only active agents are returned, so any agent in the response can receive a conversation.
This endpoint lives on the agent platform host, agent-api.treble.ai, and not on main.treble.ai.
Headers
Authorization API Key. It can be obtained at https://app.treble.ai/en/dashboard/settings/developers
Response
Agent list retrieved successfully
The agent's identifier in Treble.
4567
The agent's first name.
"Andrea"
The agent's last name.
"Soto"
The agent's email. It's the recommended value to return from your assignment endpoint.
"andrea.soto@yourcompany.com"
Teams the agent belongs to.