Skip to main content

Upload or replace a contact's avatar

POST 

/api/contacts/:contactId/avatar

Multipart upload of a single avatar image for a contact, stored on the tenant-scoped avatar disk (the same scheme as the staff /me/avatar upload). The MIME is validated against the detected type, not the client content-type. Gated by the contact update ability (agent+). Returns the contact with the new avatar_url.

Request​

Responses​

The updated contact.