Contacts
Unblock contact
Clears the contact's blocked state (isBlocked: false, clears blockedBy/blockedAt) and invalidates the blocked-device cache so future webchat sessions are accepted again. Org-scoped unless caller is SUPERADMIN.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
application/json
application/json
curl -X PATCH "https://example.com/api/contacts/string/unblock"{ "message": "Contact blocked successfully", "data": { "contact": { "_id": "64f0a1b2c3d4e5f6a7b8c9d0", "firstName": "Jane", "lastName": "Doe" }, "syncedDeviceIds": [ "device-abc123" ], "removedDeviceIds": [] }}