PUT
/
api
/
v1
/
conversations
/
{uuid}
/
contacts
/
custom-attributes
Update Contact Custom Attributes
curl --request PUT \
  --url http://localhost:8080/api/v1/conversations/{uuid}/contacts/custom-attributes \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "status": "success",
  "data": {
    "id": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "[email protected]",
    "type": "<string>",
    "availability_status": "<string>",
    "avatar_url": "<string>",
    "phone_number": "<string>",
    "phone_number_calling_code": "<string>",
    "custom_attributes": {},
    "enabled": true,
    "last_active_at": "2023-11-07T05:31:56Z",
    "last_login_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

uuid
string
required

Body

application/json · object

Custom attributes

The body is of type object.

Response

200
application/json

Contact custom attributes updated successfully

The response is of type object.