Calls
Get PCAPs by ID
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' endpoint. PCAPs are only available for calls from within the last 10 days.
get/calls/records/{pcapId}/pcap
Path parameters
pcapIdstring required
Example:0a81e938-07bd-1240-8487-0ecf41868d11
The ID of the PCAP you want to retrieve.
Query parameters
direction'INBOUND' | 'OUTBOUND'
Request a PCAP for the call leg specified by the direction. If this query parameter is not included, the default behavior is to return OUTBOUND calls.
Response
The .pcap file.