Skip to main content
PUT
Adds labels for the WABA chat.

Authorizations

Authorization
string
header
required

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

Path Parameters

chat_id
integer
required

an id of the chat as appears in TimelinesAI (can be found in the URL of the chat page, or in the payload of outbound webhook). Supports sending messages to a group.

Body

application/json
labels
string[]
required

Label names to apply. Each item must be a string up to 64 characters. Missing workspace labels are created automatically by label-apply endpoints.

Label name. Each label name can be up to 64 characters. Label-apply endpoints create a workspace label automatically when the supplied name does not already exist.

Maximum string length: 64
Example:

Response

Success

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object
required