delete
https://api.emaktalk.com/api/v2/call_records//recordings/
Deletes one recording of a call. Takes no body (or an empty JSON object).
Effect, at once and on every surface (this API, our apps, the MCP connector, the older APIs):
- The recording stops playing. Links handed out before the deletion stop working too, and no new one is issued.
- Its transcript is hidden. The call's analyses are kept, and the call record stays: call records are never deleted.
- Until the recording's
purge_at(30 days),POST …/undeleterestores it. After that, the deletion is permanent, and the transcript is removed for good once no other recording of the call can still play, be restored or is on legal hold. When the audio was already missing from storage at the deletion, it is permanent at once.
Response: 200 with the record as it now stands: the recording deleted, with deleted_at, deleted_by and purge_at.
Notes:
- Who may delete: your account's admins and EMAK support; an API key only with the
delete_recordingspermission (the "Can delete recordings" switch on the API keys page); users never.GET /mesays whether you may delete and restore; a record'spermissions.delete_recordingalso needs a recording of the call that is not on legal hold. - A recording on legal hold can't be deleted by anyone until the hold is lifted. A hold never blocks a restore.
- A recording kept in older storage, or still being stored, can't be deleted (409
recording_not_deletable,details.reasonunsupported_storageoruploading). While any recording made on the same part of the call is deleted, that part's transcript stays hidden. - 503
try_againwithretry_after_sec120: the deletion was not finished, and the recording does not play until the same request, sent again after that time, finishes. Any other 503 changed nothing. - To delete many at once, use
POST /call_records/recordings/batch_delete.
Logged: deleted in the call's access log, with who did it.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
