Remove contacts from list
curl --request DELETE \
--url https://api.voxworks.ai/api/v1/delete-contacts-from-list/{list_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contact_ids": [
"<string>"
],
"contact_id": "<string>",
"list_contact_ids": [
"<string>"
],
"list_contact_id": "<string>"
}
'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contact_ids: ['<string>'],
contact_id: '<string>',
list_contact_ids: ['<string>'],
list_contact_id: '<string>'
})
};
fetch('https://api.voxworks.ai/api/v1/delete-contacts-from-list/{list_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voxworks.ai/api/v1/delete-contacts-from-list/{list_id}"
payload = {
"contact_ids": ["<string>"],
"contact_id": "<string>",
"list_contact_ids": ["<string>"],
"list_contact_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "Invalid API key"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "Rate limit exceeded"
}{
"success": false,
"message": "Internal server error"
}Lists
Remove contacts from list
Remove contacts from a list by contact IDs or list-contact row IDs. The singular route /delete-contact-from-list/{list_id} is also accepted.
DELETE
/
api
/
v1
/
delete-contacts-from-list
/
{list_id}
Remove contacts from list
curl --request DELETE \
--url https://api.voxworks.ai/api/v1/delete-contacts-from-list/{list_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contact_ids": [
"<string>"
],
"contact_id": "<string>",
"list_contact_ids": [
"<string>"
],
"list_contact_id": "<string>"
}
'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contact_ids: ['<string>'],
contact_id: '<string>',
list_contact_ids: ['<string>'],
list_contact_id: '<string>'
})
};
fetch('https://api.voxworks.ai/api/v1/delete-contacts-from-list/{list_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voxworks.ai/api/v1/delete-contacts-from-list/{list_id}"
payload = {
"contact_ids": ["<string>"],
"contact_id": "<string>",
"list_contact_ids": ["<string>"],
"list_contact_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "Invalid API key"
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "Rate limit exceeded"
}{
"success": false,
"message": "Internal server error"
}Authorizations
API key from Voxworks, sent as Authorization: Bearer YOUR_API_KEY.
Path Parameters
Unique list ID.
Body
application/json
Response
Contacts removed.
The response is of type object.

