Skip to main content
POST
Toggle Tag on Contact

JSON Example


📝 Field Requirements


🔄 Behavior

This endpoint toggles a tag on a contact:
  • If the tag is not currently assigned to the contact, it will be added
  • If the tag is already assigned to the contact, it will be removed

✅ Success Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

contact
string<uuid>
required

ID of the contact.

Body

application/json
tag_id
integer
required

ID of the tag to toggle.

Response

Tag toggled successfully

status
integer
Example:

200

message
string
Example:

"Contact tag toggled successfully"

data
null