Skip to content
TriedDocs
Calls

Delete call

Delete a call and its recordings.

DELETEhttps://api.tried.com.au/v2/delete-call/{call_id}

Deletes a call record, including its transcript and analysis, and removes its mixed and multi-channel recordings from storage. This cannot be undone. The call is not stopped first, so stop a live call before you delete it.

Request#

Path parameters#

Parameter Type Required Description
call_id string Yes The call to delete.

Example request#

curl -X DELETE "https://api.tried.com.au/v2/delete-call/call_8d1e0f2a3b4c5d6e7f8a9b0c" \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/v2/delete-call/call_8d1e0f2a3b4c5d6e7f8a9b0c", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
console.log(res.status); // 204
import os, requests

res = requests.delete(
    "https://api.tried.com.au/v2/delete-call/call_8d1e0f2a3b4c5d6e7f8a9b0c",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
print(res.status_code)

Response#

204 No Content. If removing a recording file fails, the call row is still deleted.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the calls scope.
404 No call with this ID in the workspace.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.