Contactsv4
Update a contact
PATCH
/contacts/{contactId}Path parameters
contactIdRequiredstringUnique identifier of the contact, prefixed with ct_. Returned when you create a contact or by the List contacts endpoint.
Headers
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Bearer
Body parameters
JSONnameRequiredstringReturns
dataoptionalContact
dataoptionalContactidoptionalstringContact id (ct_...).
nameoptionalstring | nullcreated_atoptionalintegertagsoptionalstring[]last_message_timeoptionalinteger | nulllast_directionoptionalstring | null"inbound""outbound"nulllast_textoptionalstring | nulllast_statusoptionalstring | nullidentitiesoptionalobject[]
identitiesoptionalobject[]Array of object
idoptionalstringchannel_typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business"identifieroptionalstringchannel_idoptionalstring | nullcreated_atoptionalintegerResponse codes
200Updated contact
401Your API key is missing or invalid. Pass it as a bearer token.
404No contact was found with the provided `contactId`.
422Validation failed — one or more fields in the request are invalid or missing.
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X PATCH https://api.blooio.com/v4/contacts/ct_a1b2c3d4 \{ "data": { "id": "ct_a1b2c3d4", "name": "Jane Doe", "created_at": 0, "tags": [ "string" ], "last_message_time": 0, "last_direction": "inbound", "last_text": "string", "last_status": "string", "identities": [ { "id": "obj_a1b2c3d4", "channel_type": "blooio", "identifier": "+15551234567", "channel_id": "ch_a1b2c3d4", "created_at": 0 } ] }}