Put call on hold

This example demonstrates how to put a call on hold.

Replace the following placeholder value in the sample code:

KeyDescription
bearer_tokenYour OAuth token. Read more about OAuth tokens
idUnique identifier of the call
curl --location --request PUT 'https://api.vonage.com/t/vbc.prod/vis/v1/self/calls/$id/hold' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer $bearer_token'