Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

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

Path Parameters

assistant_id
string
required

Unique identifier of the assistant.

Body

application/json

Create/update request body. Accepts:

  • rules — canonical ordered list of routing rules
rules
Rule · object[]

Response

Successful Response

Response shape.

Always carries rules (canonical).

assistant_id
string
required
rules
Rule · object[]
required
created_at
string<date-time>
required
updated_at
string<date-time>
required