Skip to main content
POST
Manage a Bot's routines

Authorizations

Authorization
string
header
required

Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.

Path Parameters

botId
string
required

Query Parameters

organizationId
string

Required with session authentication. Otherwise use the authenticated organization.

Maximum string length: 120

Body

application/json
requestId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
mutation
object
required

Response

Results in request order, including individual failures.

success
boolean
required
routineIds
string[]
required
succeededCount
integer
required
Required range: 0 <= x <= 9007199254740991
failedCount
integer
required
Required range: 0 <= x <= 9007199254740991
results
object[]
required