Public APIContacts
Update a contact
PATCH
Partial update - only included fields are changed.
bearerAuthheader
AuthorizationBearer <token>API key in the Authorization: Bearer <key> header.
Keys are created in the Hallolara dashboard (Settings → API Keys).
contact_id*stringMatch
^[a-f0-9]{24}$application/json- body
Partial update - include only the fields you want to change.
Properties
1 <= propertiesgroup_id?stringMatch
^[a-f0-9]{24}$phone_numbers?array<>Items
1 <= itemsfirst_name?stringlast_name?stringemail?stringEmail address. Empty string is accepted if you don't have the contact's email.
Format
emailcompany?stringprompt?stringpreferred_language?stringValue in
"de""en""fr""it""de-CH""es""pt""tr""sv""fi""nl""unknown"gender?stringSend an empty string to clear the value; omit the property to preserve it.
forwarding_id?|Match
^[a-f0-9]{24}$Updated contact.
application/json- response
data?curl -X PATCH 'https://api.hallolara.ai/api/v1/contacts/65f8fa6f1a9d8e0012ab34cd' \ -H 'Content-Type: application/json' \ -d '{ "first_name": "Grace"}'Example Response
{ "data": { "id": "string", "group_id": "string", "group_name": "string", "phone_numbers": [ "string" ], "first_name": "string", "last_name": "string", "email": "string", "company": "string", "gender": "string", "prompt": "string", "preferred_language": "string", "forwarding_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}