Get details for a specific call leg

This example shows you how to make retrieve details on a call leg.

Replace the following placeholder values in the sample code:

KeyDescription
bearer_tokenYour OAuth token. Read more about OAuth tokens
account_idThe Vonage Business Communications account ID.
call_idThe call id for the call
leg_idThe leg id for the call you would like to retrieve
curl --location --request GET 'https://api.vonage.com/t/vbc.prod/telephony/v3/cc/accounts/$account_id/calls/$call_id/legs/$leg_id' \--header 'Authorization: Bearer $bearer_token'