Skip to main content

Set the primary agent of an application

PUT 

https://platform.docana.com/api/v1/applications/:id/primary-agent/

Makes an agent the primary of the application: the one new conversations open with and, on an employee, the one its channels talk to. Use it to repair a primary that points to a deleted agent. Channels routed to the previous primary move to the new one. Returns 409 when the current primary is published and enabled and the chosen agent is a draft or disabled, so an application that answers today is never left without a reply.

Request​

Responses​

Primary agent saved