Skip to content

Document DELETE /calls/{id}/recording in the Preview API - #804

Merged
MatthewPelyhes merged 1 commit into
mainfrom
matthewpelyhes/call-recording-delete-api
Nov 11, 2026
Merged

MatthewPelyhes merged 1 commit into
mainfrom
matthewpelyhes/call-recording-delete-api

Conversation

@MatthewPelyhes

Copy link
Copy Markdown
Contributor

Why?

Developers need a way to permanently delete a call's recordings and transcripts through the API.

How?

Adds the delete operation, with every error it returns, to the Preview spec.

Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MatthewPelyhes
MatthewPelyhes marked this pull request as ready for review November 10, 2026 14:58
@MatthewPelyhes
MatthewPelyhes enabled auto-merge (squash) November 11, 2026 16:44
@MatthewPelyhes
MatthewPelyhes requested a review from a team November 11, 2026 16:58

@geetikabagga geetikabagga left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Checked every documented response against Api::V3::CallsController#destroy_recording on intercom master (272db4be0):

  • checked-and-fine: 200 body (id/object: call/deleted: true), 404 call_recording_not_found (never-recorded call) and not_found (unknown id, via ErrorHandler on find_by!), 403 token_unauthorized from the conversation-access check, 409 conflict (deletion lock), 422 legal_hold all match the controller and its spec.
  • checked-and-fine: repeat delete returns 200, since ever_recorded? still sees recording_name == "deleted"; Fin leg covered by DeleteCallRecordings#legs.
  • checked-and-fine: write_conversations scope matches ApiControllerRoutesOauthScopePolicy; AddCallRecordingDeletionApi is not ready for release, so Preview-only is right. Fern Check green.

~ Automated via Claude

@MatthewPelyhes
MatthewPelyhes merged commit 2b0ae54 into main Nov 11, 2026
4 checks passed
@MatthewPelyhes
MatthewPelyhes deleted the matthewpelyhes/call-recording-delete-api branch November 11, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants