1. Home
  2. Docs
  3. Outbound Call API
  4. API Call

API Call

Method Definition
POST Takes user input and returns response.

Example over.ai API call (sample cURL Request):


curl -X POST \
 https://api.over.ai/api/outbound/makecall  \
 -H 'content-type: application/json' \
 -d '{
   "destPhonenumber": "972544395914",
   "botPhoneNumber": "18186550035",
   "disconnectAfterXSecond": 3600
   }'

Header:
"api-key":"CLIENT ACCESS TOKEN FROM ADMIN"

The header contains an API Key that is obtained from within the over.ai developers platform.
The keys are accessed fromĀ API Keys, found in the menu in the top right of the Agent dashboard, as shown below.

Shows how to access API keys from top right menu of developers platform