Skip to main content
POST
Create a label

Authorizations

Authorization
string
header
required

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

Path Parameters

instanceId
string<uuid>
required

The WhatsApp instance UUID

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Body

application/json
name
string
required
Example:

"VIP Client"

color
number
required
Example:

1

Response

Label created

id
string
required

Label ID

Example:

"1"

name
string
required

Label name

Example:

"VIP Clients"

color
number
required

Label color index

Example:

1