update_contact
Update a contact's information including name, email, phone, avatar, and status. Specify the contact ID and any fields to modify.
Instructions
Update Contact PUT /api/v1/contacts/{id} Tags: Contacts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | (path parameter) | |
| first_name | No | (body) Contact's first name | |
| last_name | No | (body) Contact's last name | |
| No | (body) Contact's email address | ||
| phone_number | No | (body) Contact's phone number | |
| phone_number_country_code | No | (body) ISO country code | |
| files | No | (body, file) New avatar image file to upload — pass an absolute local file path; the server will upload its contents. | |
| avatar_url | No | (body) URL of the contact's avatar image. Pass a valid image URL to update, pass null to remove the avatar, or pass the existing value to keep it unchanged. | |
| enabled | No | (body) Whether the contact is enabled |