---
title: "Export call records"
method: GET
path: "/calls/export"
tags: ["Calls"]
---

# Export call records

`GET /calls/export`

Export call records for a project. This returns a comma separate value (CSV) response. You can specify which records to export using the query parameters.

## Query parameters

- `from` string, phonenumber
- `to` string, phonenumber
- `trunkId` string
- `createTime` string
- `callResult` 'COMPLETED' | 'NO_ANSWER' | 'CANCEL' | 'BUSY' | 'FAILED' — The result of the call.
- `direction` 'INBOUND' | 'OUTBOUND' — Filter results based on the call direction. Describes whether the call was `INBOUND` *to* your Sinch number or was `OUTBOUND` and made *from* your Sinch number. An `INBOUND` call can also come from a SIP infrastructure or an application built using the Sinch SDK. An `OUTBOUND` call can be placed to a SIP infrastructure or an application built using the Sinch SDK.
- `page` integer
- `size` integer
- `fromCountryCode` string
- `toCountryCode` string
- `emergencyOnly` 'true' | 'false'
- `region` string
- `projectIds` string
- `fileName` string
- `groupId` string
- `parentId` string
- `relationshipType` string
- `hasChildren` 'true' | 'false'

## Response `200`

OK

---

[API](https://skmtc.net/sinch/apis/elastic-sip-trunk-api.md) · [All operations](https://skmtc.net/sinch/apis/elastic-sip-trunk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinch/elastic-sip-trunk-api/revisions/c04c2c708bf9/schema)
