Actions
Edit chatbots
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The language of the response
Available options:
en
, ru
Path Parameters
The ID of the order
Body
application/json
The interval of the chatbot
Required range:
x >= 1
Example:
10
The mode of the chatbot (0 - random, 1 - sequential)
Available options:
0
, 1
Example:
1
The phrases of the chatbot
Example:
["test1", "test2"]
Response
200
application/json
Action Success
The status of the action
Example:
"ok"