Delete a call
curl --request DELETE \
--url https://api.omnia-voice.com/api/v1/calls/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.omnia-voice.com/api/v1/calls/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.omnia-voice.com/api/v1/calls/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "Call deleted successfully",
"id": "<string>"
}{
"error": {
"message": "systemPrompt is required",
"code": "API_ERROR",
"upstreamStatus": 123,
"upstream": "<unknown>"
}
}{
"error": {
"message": "systemPrompt is required",
"code": "API_ERROR",
"upstreamStatus": 123,
"upstream": "<unknown>"
}
}Call Logs
Delete a call
Delete a specific call and its associated data.
This permanently removes the call from the system. The call must belong to the authenticated user.
DELETE
/
calls
/
{id}
Delete a call
curl --request DELETE \
--url https://api.omnia-voice.com/api/v1/calls/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.omnia-voice.com/api/v1/calls/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.omnia-voice.com/api/v1/calls/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "Call deleted successfully",
"id": "<string>"
}{
"error": {
"message": "systemPrompt is required",
"code": "API_ERROR",
"upstreamStatus": 123,
"upstream": "<unknown>"
}
}{
"error": {
"message": "systemPrompt is required",
"code": "API_ERROR",
"upstreamStatus": 123,
"upstream": "<unknown>"
}
}