POST
/
voice
/
api
/
call
/
outbound
curl --request POST \
  --url https://api.oneinbox.ai/voice/api/call/outbound \
  --header 'Api-Key: <api-key>' \
  --header 'Api-Secret: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "number": "<string>",
  "customer_num": "<string>",
  "country_code": 123
}'
{
  "message": "Call placed successfully",
  "code": 200,
  "data": {
    "call_id": "call_9eefaa9e9xxxxxxxxxxd88d4256"
  }
}

Authorizations

Api-Key
string
header
required
Api-Secret
string
header
required

Body

application/json
Call parameters
number
string
required

OneInbox provided or Twilio imported phone number in format {countrycode}{number} without '+'. Example: 17064066735 for +1 706-406-6735

customer_num
string
required

Customer phone number to whom you want to make outbound call in format {countrycode}{number} without '+'. Example: 919561878080 for +91 956-187-8080

country_code
integer

The country code for the customer's number

Response

200
application/json
Call placed successfully

The response is of type any.