In order to create an outbound call from a voice channel you can use this request. You can set a callFlow with commands to be executed after call is answered.
Call flow command initiate an outbound call
Check bellow the available commands when initiating an outbound call. In order to assess the options of each command, you may explore each command section.
type: string
enum:
- hangup
- playback
- say
- gather
- record
- bridge
- pause
Example 1: Initiate an outbound call, play an announcement and hangup
curl -X POST "https://nest.messagebird.one/workspaces/8bc02f53-87ac-48d2-b4fd-c2cf856a305f/channels/880d8171-cbab-47bb-81b6-b1a0902da136" \
-H 'Authorization: Bearer {Token}'
Tags to associate with the call. Tags are converted to lower case and tags
that do not exist are automatically created. You can view your created tags
in the UI. You can specify up to 10 tags per call.
Tags to associate with the call. Tags are converted to lower case and tags
that do not exist are automatically created. You can view your created tags
in the UI. You can specify up to 10 tags per call.