Endpoint
contacts.update.
Headers
| Header | Value |
|---|---|
Authorization | Bearer apitk_... |
Content-Type | application/json |
Accept | application/json |
Path parameters
Your workspace subdomain.
Contact id.
Body parameters
First name. Max 255 characters.
Last name. Max 255 characters. Required on update.
Phone number. Max 20 characters. Unique per workspace.
lead or customer.Max 191 characters. Unique per workspace when provided.
Max 255 characters.
Freeform description.
Country id.
Owner user id.
Comma-separated group names. Missing groups are auto-created.
Example request
Example response
200 OK
Error responses
| Status | When | Example body |
|---|---|---|
401 | Missing / invalid token | {"status":"error","message":"Invalid API token"} |
403 | Missing ability | {"status":"error","message":"Token does not have the required ability: contacts.update"} |
404 | Contact not found | {"status":"error","message":"Contact not found"} |
422 | Validation | {"status":"error","message":"Validation failed","errors":{"lastname":["The lastname field is required."]}} |
429 | Rate limit | {"message":"Too many requests","retry_after":45} |
500 | Server error | {"status":"error","message":"Failed to update contact"} |