Contact Labels: Add Labels
gapify_set_contact_labelsReplace a contact's existing labels with a provided list via the Gapify API, so you can update categorization or segmentation.
Instructions
Set the labels of a contact. Replaces the contact's existing labels with the given list [Contact Labels]
POST /api/v1/accounts/{account_id}/contacts/{contact_identifier}/labels
Auth: User API key (header api-access-token).
Body fields: labels. Extra fields can be passed via extra_body.
Text values may be written in Persian (Farsi) or any other language and are sent unchanged; IDs, numbers and phone numbers may use Persian or Arabic-Indic digits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"contact_identifier": "<contact_identifier>"
},
"name": "gapify_set_contact_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | Array of labels (comma-separated strings) Example: ["string"] | |
| account_id | Yes | The numeric ID of the account | |
| extra_body | No | Additional JSON body fields to merge into the request (for keys not listed above). | |
| contact_identifier | Yes | The source id of contact obtained on contact create |