Skip to main content

Unblock Contact

POST 

/accounts/:account_id/contacts/:contact_id/unblock

Lift the block of a contact before it ends.

See Block Contact.

SettingValue
MethodPOST
Path/api/v1/accounts/{account_id}/contacts/{contact_id}/unblock
AuthorizationSame as Block Contact: user token. Legacy: administrator. New rules: Contacts → update only (the legacy administrator role does not pass). When conversation_id is sent, the caller must also be able to see that conversation. Agent-bot tokens: not allowed.

Body parameters (JSON)

NameTypeRequiredDescription
conversation_idintegerNoDisplay ID of one of the contact's conversations, where the "unblocked" activity message is posted.

Example request

curl -X POST 'https://online.99digital.co.il/api/v1/accounts/12/contacts/801/unblock' \
-H 'api_access_token: <YOUR_API_ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{ "conversation_id": 1501 }'

Example response (200 OK): the contact (same shape as Block Contact) with "blocked": false and the block keys removed from additional_attributes.

Request​

Responses​

The unblocked contact.