Skip to main content
POST
Archive funnel, transferring the conversations

Authorizations

Authorization
string
header
required

JWT authentication token

Headers

x-company-id
string

Target company identifier. Required only for global API keys (type=global). Ignored for company API keys and human users.

Path Parameters

id
string
required

Agent ID

Body

application/json
destination_agent_id
string

ACTIVE funnel (agent) that receives the conversations. Required when the archived funnel has conversations.

Pattern: ^[0-9a-fA-F]{24}$
step_mappings
object[]

Map from origin step to destination step. It must cover every step that has a conversation.

Response

201 - application/json

The response is of type object.