Advance a webhook channel’s route-setup conversation

View as Markdown
Stateless: the caller resends the full turn history (including the latest admin message) each call. An agent interviews the admin — asking for an example payload, proposing a target playbook and field mapping, and creating the route once confirmed. Playbook-only for v1 — pipelines have no persisted/selectable identity yet. Authorization: organization administrators only. Returns 400 if the channel is not a webhook channel, 404 if not found.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired

Request

This endpoint expects an object.
spaceIdstringRequired>=1 character
messageslist of objectsRequired

Response

The next assistant turn, and the created route if this turn created one.
messageobject
routeCreatedobject or null