---
title: "Get PCAPs by ID"
method: GET
path: "/calls/records/{pcapId}/pcap"
tags: ["Calls"]
---

# Get PCAPs by ID

`GET /calls/records/{pcapId}/pcap`

Return PCAPs by the PCAP ID. Returns a .pcap file of the requested call to download. You can find the PCAP ID in the response from ['/calls'](https://developers.sinch.com/docs/est/api-reference/est/calls/findcalls) endpoint. PCAPs are only available for calls from within the last 10 days.

## Path parameters

- `pcapId` string, required

## Query parameters

- `direction` 'INBOUND' | 'OUTBOUND'

## Response `200`

The .pcap file.

---

[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)
