v1

latestOpenAPI 3.0.32026-07-14490228.1 KB

Update Sequence By ID

This endpoint updates an existing sequence owned by the client.

put/sequences/{id}

Path parameters

idinteger required

The ID used to identify the sequence.

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": {
    "id": 1,
    "name": "Test Sequence 1",
    "status": "active",
    "client_id": 1,
    "number_id": 1
  }
}