curl --request PATCH \
--url https://api.talkpilot.io/v1/agents/{agentId}/contacts/{contactId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"tags": [
"vip"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_name": "<string>",
"salutation": "Herr",
"first_name": "<string>",
"last_name": "<string>",
"name_parsed": "auto",
"name_source": "ai",
"phone_number": "<string>",
"mobile_number": "<string>",
"landline_number": "<string>",
"email": "jsmith@example.com",
"address": "<string>",
"company": "<string>",
"tags": [
"<string>"
],
"note": "<string>",
"customer_number": 123,
"last_contact_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Update a contact
Partial update. Name parts and numbers are merged with the stored
contact, so {"first_name": "Max"} keeps the stored salutation and
last name and recomposes customer_name. Sending customer_name
alone re-splits it; "customer_name": null clears every name field.
Sending mobile_number or landline_number re-derives phone_number.
A changed name sets name_source to manual. Unknown and read-only
fields are ignored.
curl --request PATCH \
--url https://api.talkpilot.io/v1/agents/{agentId}/contacts/{contactId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"tags": [
"vip"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_name": "<string>",
"salutation": "Herr",
"first_name": "<string>",
"last_name": "<string>",
"name_parsed": "auto",
"name_source": "ai",
"phone_number": "<string>",
"mobile_number": "<string>",
"landline_number": "<string>",
"email": "jsmith@example.com",
"address": "<string>",
"company": "<string>",
"tags": [
"<string>"
],
"note": "<string>",
"customer_number": 123,
"last_contact_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Authorizations
API key for external access. Format: tp_live_<32-hex-chars>.
Create keys in the TalkPilot Dashboard under Settings > API.
Body
Partial update; name parts and numbers are merged with the stored
contact. customer_name: null clears all name fields.
Only needed when neither mobile_number nor landline_number is sent
Trimmed and de-duplicated; an empty list is stored as null
Response
Updated contact
Display name, composed from the parts when they are given
"Herr"
Whether salutation/first_name/last_name are usable for a personal
greeting. manual = parts sent explicitly, auto = split unambiguously
from customer_name, llm = split by the backfill, unclear = not
split (full name kept in last_name) — the voice agent then greets neutrally.
auto, llm, manual, unclear manual = maintained by a person (API or Dashboard); the AI never overwrites such a name
ai, manual Primary number in E.164 — the voice agent matches callers against this and mobile_number
Free tags; an agent's greeting_variants can pick a greeting per tag