Call Lens

API reference

Every endpoint on the Call Lens integration API, generated from the OpenAPI spec.

Seven operations across six URLs, in two groups. Each page carries the full request and response schema and a console for trying the call against your own key.

Everything here is generated from openapi.yaml, which is the same document the API is tested against — so a page that disagrees with the API is a bug in the API, not a stale doc.

Calls

EndpointWhat it does
POST /uploadsAsk for somewhere to write the recording. Returns a PUT URL and a ticket.
POST /callsSubmit a call for analysis, using the ticket from the upload.

Webhooks

EndpointWhat it does
POST /webhooksRegister an endpoint. Returns the signing secret once.
GET /webhooksList the endpoints registered for your organization.
PATCH /webhooks/{webhook}Change an endpoint's description, or enable and disable it. The URL is deliberately not editable — register a new endpoint and disable the old one.
POST /webhooks/{webhook}/secretRotate the signing secret.
POST /webhooks/{webhook}/testSend a real webhook.test delivery and report what happened.

Before you start

Read authentication for how to present a key, and errors for the codes every one of these can return.

On this page