JSON Example
Multipart Form Data Example
📝 Field Requirements for Update
| Field | Type | Required | Notes |
|---|---|---|---|
name | string (max 50) | Yes | Contact’s display name |
email | string (email) | No | Contact email |
gender | enum(male,female,other) | No | Gender of contact |
status | boolean | No | Contact active status |
avatar | file (image ≤2MB) | No | Upload new avatar (form-data only) |
contact_groups | array of integers | No | Assign contact groups (form-data only, workspace scoped) |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the workspace.
The ID of the contact to update
Body
application/json
Maximum length:
50Example:
"John Doe"
Example:
Available options:
male, female, other Example:
"male"
Example:
true