Edit list
curl --request PATCH \
--url https://api.voxworks.ai/api/v1/edit-list/{list_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated follow-up list"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Updated follow-up list'})
};
fetch('https://api.voxworks.ai/api/v1/edit-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/edit-list/{list_id}"
payload = { "name": "Updated follow-up list" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"list": {
"id": "<string>",
"name": "<string>",
"team_id": "<string>",
"contacts": [
{
"id": "<string>",
"team_id": "<string>",
"phone_number": "+61429069971",
"first_name": "<string>",
"last_name": "<string>",
"full_name": "<string>",
"email": "<string>",
"object_data": {}
}
]
}
}{
"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
Edit list
Rename a list. PUT is also accepted by the API.
PATCH
/
api
/
v1
/
edit-list
/
{list_id}
Edit list
curl --request PATCH \
--url https://api.voxworks.ai/api/v1/edit-list/{list_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated follow-up list"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Updated follow-up list'})
};
fetch('https://api.voxworks.ai/api/v1/edit-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/edit-list/{list_id}"
payload = { "name": "Updated follow-up list" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"list": {
"id": "<string>",
"name": "<string>",
"team_id": "<string>",
"contacts": [
{
"id": "<string>",
"team_id": "<string>",
"phone_number": "+61429069971",
"first_name": "<string>",
"last_name": "<string>",
"full_name": "<string>",
"email": "<string>",
"object_data": {}
}
]
}
}{
"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"
}⌘I

