Send call to voicemail
This example demonstrates how to send a call to voicemail. This feature is not available for Vonage Business Enterprise (VBE) customers.
Replace the following placeholder value in the sample code:
| Key | Description |
|---|---|
bearer_token | Your OAuth token. Read more about OAuth tokens |
id | Unique identifier of the call |
curl --location --request PUT 'https://api.vonage.com/t/vbc.prod/vis/v1/self/calls/$id/vmtransfer' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer $bearer_token'