Search for labels.
#
Method#
/tagsGET
https://api.z-api.io/instances/{{instanceId}}/token/{{instanceToken}}/tags
#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
ConceptIn this method, you retrieve all your registered labels in your WhatsApp Business.
Importante
This method is only available for devices connected to the Multi-Devices version of WhatsApp.
#
Response#
200Attributes | Type | Description |
---|---|---|
id | string | Label ID |
name | string | Label Name |
color | string | Label Color Identifier |
Exemplo
#
405In this case certify that you are sending the correct specification of the method. This means, verify if you sent a PUT or POST as specified at the beginning of this topic.
#
415In case you receive 415 error, make sure to add the “Content-Type” of the object you are sending in the request headers, mostly “application/json”