Trillet AI logo

Download a call recording

Trillet OEM API: The URL in data.call.recording.url on call events.

GEThttps://api.trillet.ai/partner/v1/tenants/{tenantId}/calls/{callId}/recording

The URL in data.call.recording.url on call events. Returns the audio file. Needs resources:read.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenantIdstringrequired

The tenant ID.

Pattern: ^[a-fA-F0-9]{24}$
callIdstringrequired

The call history ID (data.call.id in call events).

Pattern: ^[a-fA-F0-9]{24}$

Response

application/json

The partner key is missing, malformed, unknown or revoked (partner_key_required, invalid_api_key, partner_not_enabled).

errorobjectrequired
error.type"invalid_request_error" | "authentication_error" | "permission_error" | "conflict_error" | "rate_limit_error" | "api_error" | "idempotency_error"required
Allowed values: "invalid_request_error" | "authentication_error" | "permission_error" | "conflict_error" | "rate_limit_error" | "api_error" | "idempotency_error"
error.codestringrequired

A stable code. Handle errors by code, not by message.

error.messagestringrequired
error.paramstring

The request field the error is about, when there is one.

error.requestIdstring | null

Include it when you contact support. Not present on idempotency errors.

Last updated on