Place a call

This example demonstrates how to place a call.

Replace the following placeholder value in the sample code:

KeyDescription
bearer_tokenYour OAuth token. Read more about OAuth tokens
phoneNumberPhone number to call
curl --location --request POST 'https://api.vonage.com/t/vbc.prod/vis/v1/self/calls' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer $bearer_token' \--data-raw '{ "phoneNumber": "$phoneNumber" }'