Skip to main content
POST
Edit Chatbot

Authorizations

Authorization
string
header
required

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

Headers

Accept-Language
enum<string>
default:en

The language of the response

Available options:
en,
ru

Path Parameters

orderId
integer
required

The ID of the order

Body

application/json
interval
integer

The interval of the chatbot

Required range: x >= 1
Example:

10

mode
enum<integer>

The mode of the chatbot (0 - random, 1 - sequential)

Available options:
0,
1
Example:

1

phrases
string[]

The phrases of the chatbot

Example:

Response

Action Success

status
string

The status of the action

Example:

"ok"