Creating a Call
POST https://voice.messagebird.com/calls
Request Body
{"source"=>"{originator}", "destination"=>"{destination}", "callFlow"=>{"steps"=>[{"action"=>"say", "options"=>{"payload"=>"This is a journey into sound. Good bye!", "voice"=>"male", "language"=>"en-US"}}]}, "webhook"=>{"url"=>"https://example.com", "token"=>"token_to_sign_the_call_events_with"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |