Update a directory contact
Changes only the fields in the body.
Scope: knowledge:write.
bearerAuthAuthorizationBearer <token>An organization API key, rky_live_…, created in Settings → API. Send it only from a server.
knowledge_contact_id*stringKnowledge contact ID.
uuidIdempotency-Key?stringOptional. A value you choose, unique per logical write, 8–200 characters: a UUID or an ID from your system such as order-10482-ready. Retrying with the same key and body replays the first response instead of repeating the write.
8 <= length <= 200application/json- body
Only the fields you send change. Send null to clear an optional one; the card keeps a phone or an email.
display_name?stringName shown on the contact card.
1 <= length <= 200first_name?|First name.
last_name?|Last name.
prefix?|Name prefix, such as Dr..
suffix?|Name suffix.
company?|Company.
department?|Department.
job_title?|Job title.
description?|When the agents should share it.
phone?|Phone with country code, for example +507 6000-1234.
phone_type?|nullemail?|Email.
email_type?|nullSuccess.
application/json- response
data*A contact card in the knowledge directory, which agents can send to customers.
curl -X PATCH 'https://getricky.ai/api/v1/knowledge/contacts/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Idempotency-Key: order-10482-ready' \ -H 'Content-Type: application/json' \ -d '{ "job_title": "Gerente de ventas"}'{ "data": { "id": "a7b8c9d0-e1f2-4a3b-8c4d-5e6f7a8b9c0d", "display_name": "Ventas Casa Nativa", "first_name": "Valeria", "last_name": "Ruiz", "prefix": null, "suffix": null, "company": "Casa Nativa", "department": "Ventas", "job_title": "Gerente de ventas", "description": "Pedidos al por mayor.", "phone": "+50760001111", "phone_type": "WORK", "email": "ventas@example.com", "email_type": "WORK" }}