API v1Labels
Delete a label
deletehttps://api.whatsable.app/v1/labels/{id}
Build a request to copy
This page never sends a request. Fill in the fields, then copy the request and run it from your server.
Request
curl -X DELETE 'https://api.whatsable.app/v1/labels/string'
Deletes a label and removes it from every contact. A label limited to some numbers can be deleted only by a key that may use all of them.
bearerAuthheader
AuthorizationBearer <nfy_live_<32 characters>>An API key from Settings > API keys, sent as Authorization: Bearer <key>.
id*stringThe label id.
Length
1 <= length <= 64The label was deleted.
application/json- response
object*stringid*stringLength
1 <= length <= 64deleted*booleancurl -X DELETE 'https://api.whatsable.app/v1/labels/string'Example Response
{ "object": "label", "id": "string", "deleted": true}Rename or change a label PATCH
Changes a label. A label limited to some numbers can be changed only by a key that may use all of them. An empty `number_ids` makes the label available on every number, so it needs a key that may use every number.
List broadcasts GET
Lists the broadcasts on the numbers this key may use, newest first. The counts are as of the last send.