# Download Call recordings using the API Reference

You can use your API key to get the public URLs to bulk-download your call recordings/voicemails using your preferable API Client.

**Getting your API Key**

First, you will need the API key of the Toky account (available to admin accounts only). Go to your name in the upper-right corner and hit the API Key option:

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-4dce8f1aa5b56ed229974cf88f2c6282a8b3a964%2F15148960334097?alt=media" alt=""><figcaption></figcaption></figure>

Once there, you will get a floating window with the option to copy the key:

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-d57e0d2b689e1a26bf5db3c21304f60edc02de99%2F15149003175569?alt=media" alt=""><figcaption></figcaption></figure>

Once you have copied your API Key, go to our developer portal on the call recordings reference available [here](https://developer.toky.co/reference/recordings-url).

There, you can paste your API Key (exactly as it was copied from the web app, **no** extra characters added) on the field for that purpose:

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-78814d930bd4b81812ef9fcdc74027a46e3788ec%2F15149137846289?alt=media" alt=""><figcaption></figcaption></figure>

On the Path Params, you must enter a single callid that you can get by following [this guide](https://tokyapp.zendesk.com/hc/en-us/articles/360020736197).

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-712dd737e831b0cf4aff8b994de2fe58d399e5d8%2F15149198092305?alt=media" alt=""><figcaption></figcaption></figure>

Once you have entered the two requirements, you can hit the TRY IT button. If you get a 200 response code (green) on Your request history, it means there are no errors and the process pulled the public URL correctly, which you can find on the Response section:

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-887c44c344187f370f2b177af72b947a7397142c%2F15149484991761?alt=media" alt=""><figcaption></figcaption></figure>

Once you have that response, you can use the request URL to build a script to mass-download your call recordings.
