curl --request POST \
--url https://api.wppfy.com/lead/tags/edit \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"name": "Em atendimento",
"kanban": true,
"kanbanOrder": 2000
}
'{
"id": "<string>",
"name": "<string>",
"kanban": false,
"kanbanOrder": 0,
"owner": "<string>",
"created": "<string>",
"updated": "<string>"
}{
"id": "<string>",
"name": "<string>",
"kanban": false,
"kanbanOrder": 0,
"owner": "<string>",
"created": "<string>",
"updated": "<string>"
}Creates, edits or deletes a lead tag
Creates a tag when id is not provided or edits a tag of the authenticated
instance when id is present.
Use kanban=true to turn the tag into a board column and
kanban=false to remove it from the Kanban without deleting the tag. The change applies
only to the authenticated instance.
Use delete=true together with id to permanently delete the tag. When
deleted, the tag is also removed from the chats that use it.
curl --request POST \
--url https://api.wppfy.com/lead/tags/edit \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"name": "Em atendimento",
"kanban": true,
"kanbanOrder": 2000
}
'{
"id": "<string>",
"name": "<string>",
"kanban": false,
"kanbanOrder": 0,
"owner": "<string>",
"created": "<string>",
"updated": "<string>"
}{
"id": "<string>",
"name": "<string>",
"kanban": false,
"kanbanOrder": 0,
"owner": "<string>",
"created": "<string>",
"updated": "<string>"
}Authorizations
Body
Omit to create; provide to edit
Required on creation and optional on edit
100Enables or disables the tag as a Kanban column
Column ascending order
x >= 0Permanently deletes the tag indicated by id
Response
Tag updated or deleted successfully
Lead tag. When kanban=true, the record also defines a column of the
instance's Kanban.
Opaque, stable ID generated by the system
Tag/label name
Indicates whether the tag appears as an active column in the Kanban
Column ascending order in the Kanban
Tag owner
Creation date. Textual value from the record; may use YYYY-MM-DD HH:mm:ss.SSSZ.
Last update date. Textual value from the record; may use YYYY-MM-DD HH:mm:ss.SSSZ.
