Skip to main content
GET
/
v2
/
list-export-requests
JavaScript
import Retell from 'retell-sdk';

const client = new Retell({
  apiKey: process.env['RETELL_API_KEY'], // This is the default and can be omitted
});

const exportRequests = await client.exportRequest.list();

console.log(exportRequests.has_more);
{
  "pagination_key": "<string>",
  "has_more": true,
  "items": [
    {
      "export_request_id": "<string>",
      "url": "<string>",
      "created_timestamp": 123,
      "timezone": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"

Query Parameters

limit
integer
default:50

Maximum number of items to return.

Required range: x <= 1000
sort_order
enum<string>
default:descending

Sort order for results.

Available options:
ascending,
descending
pagination_key
string

Pagination key for fetching the next page.

Response

Export requests retrieved successfully

pagination_key
string

Pagination key for the next page.

has_more
boolean

Whether more results are available.

items
object[]