Innocalls
Webrtc

Call Record

Retrieve call record link via API

Call Record

Details

DescriptionThe "Call Record" endpoint returns a link to the call record
HTTP MethodGET
Endpoint URLhttps://platform.innocalls.com/api/v1/api-gateway/cdr/download-record/:callId
AuthorizationTo access the API endpoints, you need to authenticate using API keys and API secrets. The API supports Basic Authentication for authorization. You need to include your API ID as the username and your API secret as the password in the HTTP header when making requests. Replace API_ID with your API ID and API_SECRET with your API secret, separated by a colon (:). The value after Basic is the Base64 encoding of your API key and API secret concatenated with a colon.
Rate Limit3 requests per second

Request Parameters

ParameterDescriptionLocationConstrains
callIdThe callId that obtained from callStarted eventPathRequired

Request Example


curl 'https://platform.innocalls.com/api/v1/api-gateway/cdr/download-record/:callId' \
--header 'Authorization: Basic <base64-encoded string  apiId:apiSecret>'

Success Response Example

{
  "data": {
    "recordPath": "https://path.to/record/file.wav"
  }
}

Description

This JSON response signifies a successful retrieval of the call record.

  • recordPath: The URL path to the call record file.

Possible Errors

Error CodeDescription
401 UnauthorizedInvalid Credential
403 ForbiddenNot Enough Permissions to access the resource
429 Too Many RequestsThis occurs when requests exceed the rate limit
429 NOT FOUNDThe requested call record was not found

On this page