Contacts API: Update a contact
gapify_client_update_contactUpdate contact attributes such as name, email, phone, avatar, and custom fields in Gapify by specifying the inbox and contact identifiers.
Instructions
Update a contact's attributes [Contacts API] PATCH /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier} Body fields: identifier, identifier_hash, email, name, phone_number, avatar_url, custom_attributes. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the contact | |
| No | Email of the contact Example: "user@example.com" | ||
| avatar_url | No | The url to a jpeg, png file for the user avatar Example: "https://example.com" | |
| extra_body | No | Additional JSON body fields to merge into the request (for keys not listed above). | |
| identifier | No | External identifier of the contact | |
| phone_number | No | Phone number of the contact | |
| identifier_hash | No | Identifier hash prepared for HMAC authentication | |
| inbox_identifier | Yes | The identifier obtained from API inbox channel | |
| custom_attributes | No | Custom attributes of the customer Example: {} | |
| contact_identifier | Yes | The source id of contact obtained on contact create |