Skip to main content
POST
Route source events to a conversation

Authorizations

x-api-key
string
header
required

Workspace API key. Current accepted keys use the ando_sk_ prefix.

Headers

Idempotency-Key
string
required

Required key for safe retries. Reusing it with different parameters returns 409 idempotency_conflict. The original result can be replayed for 24 hours while the created source or route remains unchanged. Idempotency key.

Maximum string length: 255

Path Parameters

sourceId
string
required

Webhook source identifier.

Body

application/json

Route creation request: deliver a source's events into a conversation.

conversation_id
string
required

Target conversation identifier.

Example:

"01jzn7e61x3a7v9h2r7t2m3q4p"

events
string[]

Provider preset event ids to route. Omit to route every event.

Preset event id.

Response

Created event route.

Created event route.

data
object
required

Created route.