Update a contact
update_contactUpdate a contact.
Requires a full_access API key. API: PATCH /audiences/{audienceId}/contacts/{idOrEmail} (operationId updateContact, Contacts).
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": {
"audience_id": "<audience_id>",
"id_or_email": "<id_or_email>"
},
"name": "update_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_name | No | ||
| first_name | No | ||
| audience_id | Yes | ||
| id_or_email | Yes | The contact id or its (URL-encoded) email address. | |
| unsubscribed | No |