We always choose the request id ourselves, even when you send an
X-Request-Id; yours becomes the correlation id. That way no client can make its requests look like someone else’s in our logs.
Log it
LogX-Request-Id next to every failed call to the API. It turns “a call failed yesterday afternoon” into a single lookup.
Calls have their own trail
A call keeps the request that created it:GET /v1/calls/{call_id} returns request_id and correlation_id. For what happened during the call itself (ringing, answering, tool runs, transfers), read GET /v1/calls/{call_id}/events.
Contact support
Email [email protected] with:1
The request id
From
X-Request-Id or the error’s request_id. For a call, the call id (call_…) is just as good.2
The time, with a time zone
Roughly when it happened.
3
What you expected
And what happened instead, including the error
code.