Get your company's agents
Returns the agents in your account that can receive conversations. Use it to find out each agent’s id and email, 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. It's the recommended value to return from your assignment endpoint.
4567
The agent's first name.
"Andrea"
The agent's last name.
"Soto"
The agent's email, as registered in Treble. Your assignment endpoint can also return it instead of the id.
"andrea.soto@yourcompany.com"
Teams the agent belongs to.