Skip to main content
POST
/
label
/
handleLabel
/
{instanceName}
Handle label
curl --request POST \
  --url https://api.zapthinker.com/label/handleLabel/{instanceName} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "number": "<string>",
  "labelId": "<string>"
}
'
{}

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instanceName
string
required

Body

number
string
required
labelId
string
required
action
enum<string>
required
Available options:
add,
remove

Response

OK

The response is of type object.