Update Contact
Updates contact information and consent settings for a specific contact.
Authorizations
Path parameters
idstring · uuidRequired
Body
first_namestringOptional
last_namestringOptional
emailstring · emailOptional
phone_numberstringOptional
date_of_birthstring · dateOptional
email_consentbooleanOptional
sms_consentbooleanOptional
whatsapp_consentbooleanOptional
Responses
200
Contact updated
application/json
422
Validation error
application/json
patch
/contacts/{id}PATCH /api/v1/contacts/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 180
{
"first_name": "text",
"last_name": "text",
"email": "name@gmail.com",
"phone_number": "text",
"date_of_birth": "2025-10-18",
"email_consent": true,
"sms_consent": true,
"whatsapp_consent": true
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"first_name": "text",
"last_name": "text",
"email": "name@gmail.com",
"phone_number": "text",
"date_of_birth": "2025-10-18",
"email_consent": false,
"sms_consent": false,
"whatsapp_consent": false,
"created_at": "2025-10-18T14:45:33.951Z",
"updated_at": "2025-10-18T14:45:33.951Z"
}
Last updated