Skip to main content

This rest api will allow you to list and get recordings from CallFire.

Get List of Recordings for a Call

URL

https://www.callfire.com/cloud/1/files/recording/list/{campid}/{callid}?apikey={apikey}

HTTP Method

GET

Content Type

text/plain

Parameters

Parameter nameRequiredDescription
apikeyYThe API key that is registered with your account

Example Response

The response content type can be xml or json.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    Recordings Fetched
    true
    XXXXX
    XXXXXX
    https://www.callfire.com/cloud/1/files/recording/XXX
    https://www.callfire.com/cloud/1/files/recording/XXXX

Get a Single Recording

URL

https://www.callfire.com/cloud/1/files/recording/{fileid}

HTTP Method

GET

Content Type

text/plain

Parameters

Parameter nameRequiredDescription
fileidYPath parameter that identifies the recording id
apikeyYQuery parameter for your account api key.

Response

audio/x-wav

Get a Dynamic Recording

This HTTP request allows the client to download .wav files that were dynamically generated during phone calls.

URL

https://www.callfire.com/cloud/1/files/recording/dynamic/{hash}/{year}/{month}/{campaign}/{filename}?apikey={apikey}

HTTP Method

GET

Content Type

text/plain

Parameters

Parameter nameRequiredDescription
hashYThe hash code of the sound file
yearYThe year the sound file was generated
monthYThe month the sound file was generated
campaignYThe unique identifier of the campaign under which the sound file was generated
filenameYThe name of the remote sound file(note that this is not the name of any local file on the client's machine)
apikeyYThe API key that is registered with your account

Response

audio/x-wav

Get a Dynamic Recording as MP3

This HTTP request is essentially the same as "Get a Dynamic Recording" described above except that it returns a file in MP3 format.

URL

https://www.callfire.com/cloud/1/files/recording/dynamic/{hash}/{year}/{month}/{campaign}/{filename}/mp3?apikey={apikey}

HTTP Method

GET

Content Type

text/plain

Parameters

Parameter nameRequiredDescription
hashYThe hash code of the sound file
yearYThe year the sound file was generated
monthYThe month the sound file was generated
campaignYThe unique identifier of the campaign under which the sound file was generated
filenameYThe name of the remote sound file(note that this is not the name of any local file on the client's machine)
apikeyYThe API key that is registered with your account

Response

audio/mp3