v1

latestOpenAPI 3.0.32026-07-14490228.1 KB

Create Sequence

This endpoint creates a new sequence and associates it with the client.

post/sequences

Request body

namestring required

The name used to easily identify the bot. Allowed values are between 2 and 255 characters.

statusstring required

The status of the sequence. Allowed values are active and inactive.

number_idinteger required

The Number ID associating the sequence with a number.

Response

201

Example response

{
  "sequence": {
    "name": "Test Sequence 1",
    "number_id": 1,
    "status": "active",
    "client_id": 1,
    "id": 1
  }
}