label
get all labels
Retrieve all labels.
post/instances/{id}/client/action/get-labels
Request
- Base URL: https://waapi.app/api/v1
- URL: https://waapi.app/api/v1/instances/{id}/client/action/get-labels
- Auth: HTTP bearer
Path parameters
idinteger required
Instance ID
Response
Request reached the instance. data.status reports whether the action was carried out; on error data carries message and explanation. Payload: return a list labels and their IDs.
Example response
{
"data": {
"status": "success",
"data": [
{
"name": "label name"
}
]
},
"links": {
"self": "https://waapi.app/api/v1/instances/1/client/action/get-labels"
},
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.