POST
/
calls-export
curl --request POST \
  --url https://app.happyrobot.ai/api/v1/calls-export \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "email": "jsmith@example.com",
  "type": "Inbound",
  "limit": 2000,
  "skip": "<string>",
  "statuses": "<string>",
  "tags": "<string>",
  "models": "<string>",
  "ratings": "<string>",
  "use_cases": "<string>",
  "from": "2024-01-01T01:01:01Z",
  "to": "2024-01-01T01:01:01Z",
  "campaigns": "<string>",
  "transfer_contact_email": "<string>"
}'
This response does not have an example.

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Example:

"Bearer API_KEY"

Body

application/json
Body
email
string

Email to send the export to. Overrides the requester's email in the app. Must be a member of the organization.

type
enum<string>

Filter by call type

Available options:
Inbound,
Outbound
Example:

"Inbound"

limit
string
default:
2000

Limit the number of calls returned

skip
string

Skip the first N calls

statuses
string

Filter by call statuses, comma separated

tags
string

Filter by tags, comma separated

models
string

Filter by models names, comma separated

ratings
string

Filter by ratings, comma separated

use_cases
string

Filter by use case ids, comma separated

from
string

Filter by start date

Example:

"2024-01-01T01:01:01Z"

to
string

Filter by end date

Example:

"2024-01-01T01:01:01Z"

campaigns
string

Filter by campaign ids, comma separated

transfer_contact_email
string | null

Filter by transfer contact email

Response

200
_mintlify/placeholder

200