Assign an agent
Conversations
Assign an agent
Assigns an agent to a conversation. The agent must be an active member of the workspace. Pass ai as the agentId to assign the workspace’s AI agent. Reassigning replaces the current assignment.
Rate limit: 60 requests per minute.
POST
Assign an agent
Authorizations
Workspace API token created in Settings → API. Tokens start with adraa_.
Path Parameters
ID of the conversation. Visible in the console URL when a conversation is open: app.inbox.adraa.ai/<workspace>/conversations/<conversationId>.
Example:
"cmbxgz9pq0003ph01m4n5o6p7"
Body
application/json
ID of the agent to assign (list agents with GET /api/v1/agents), or ai to assign the workspace's AI agent.
Example:
"cmbxgwq1e0000ph01i0j1k2l3"