Add
Block a contact from the contact list and widget
Add
POST
https://{{account_id}}.acquire.io/api/v1/crm/block-visitor
Use this endpoint to block a contact. Contacts are blocked by their ID. To find a contact's ID, log in to Acquire and hover their name or send a GET request to List all contacts.
Query Parameters
Name
Type
Description
Authorization
string
Bearer {{API_KEY}}
Request Body
Name
Type
Description
blockTill
string
Contact block end date.
data
array
ID of the contacts that will be blocked
type
string
Block type: "contact"
{
"data": [
{
"data": [
"10.10.10.10",
"11.11.11.11"
],
"blockTill": "2020-03-26T23:59:59.000Z",
"type": "email",
"blockBy": 1,
"id": 6,
"dateCreated": "2021-03-22T09:55:44.000Z",
"user": {
"permissions": [
"*/*"
],
"id": 1,
"type": "user",
"name": "David Guetta",
"firstName": "David Guetta",
"lastName": "",
"email": "[email protected]",
"preference": {
"accessLevel": [
"account"
],
"cobrowseAccessUrls": []
},
"photo": "",
"language": "",
"account": {
"uid": "5mkg3t",
"organization": ""
},
"loginId": 910
}
}
]
}
{
"data": [
872
],
"blockTill": "2020-03-26T08:19:24.627Z",
"type": "contact"
}
Last updated