PUT
/
api
/
v1
/
contacts
/
{id}
Update Contact
curl --request PUT \
  --url http://localhost:8080/api/v1/contacts/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'first_name=<string>' \
  --form 'last_name=<string>' \
  --form [email protected] \
  --form 'phone_number=<string>' \
  --form 'phone_number_calling_code=<string>' \
  --form availability_status=online \
  --form 'avatar_url=<string>' \
  --form enabled=true \
  --form 'custom_attributes={}' \
  --form files=@example-file
{
  "status": "success",
  "data": {
    "id": 93,
    "created_at": "2025-09-01T17:49:01.658615Z",
    "updated_at": "2025-09-01T18:02:23.547853Z",
    "first_name": "John",
    "last_name": "Doe",
    "email": "[email protected]",
    "type": "contact",
    "availability_status": "offline",
    "phone_number_calling_code": "+1",
    "phone_number": "555-0100",
    "avatar_url": "/uploads/avatar-example.jpg",
    "enabled": true,
    "last_active_at": null,
    "last_login_at": null,
    "roles": null,
    "permissions": null,
    "custom_attributes": null,
    "teams": [],
    "api_key": null,
    "api_key_last_used_at": null
  }
}

Authorizations

Authorization
string
header
required

Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>

Path Parameters

id
string
required

Body

Contact update details

The body is of type object.

Response

200
application/json

Contact updated successfully

The response is of type object.