Outgoing Calls
NOTE: Outbound calling is available on a per account basis. If you believe you have a valid use case for outbound calling, please reach out to us at support@agent4.ai.
Cost
Each outbound call incurs a charge of $0.15, which is additional to your subscription fee. Credits for outbound calls must be purchased in advance, in packs of 200. Ensure you have a sufficient balance to avoid service interruptions.
API Outbound Calling
Launch outbound calls through a straightforward API, compatible with most CRM systems or custom applications.
To begin, retrieve your API key and Agent ID from your settings page.
Example Outbound Call
import requests
# Replace [YOUR API KEY] and [YOUR AGENT ID] with your actual API key and Agent ID.
HEADERS = {"Authorization": "Bearer [YOUR API KEY]"}
# Replace [DESTINATION_NUMBER] with the recipient's phone number in E.164 format (e.g., +1234567890).
DATA = {
"agentId": "[YOUR AGENT ID]",
"to": "[DESTINATION_NUMBER]"
}
response = requests.post("https://api.agent4.ai/v1/makecall/", json=DATA, headers=HEADERS)
Ensure that the destination number is in the correct format and that your account has sufficient credits.
Outbound Campaigns
If you have a large static campaign, you can create Outbound Jobs. If you have the entitlement for this, you'll see it in your menu.
An outbound job allows you to load as many numbers as your would like and have them triggered every 5 sec. You'll be able to download a report on how the job progressed.
If you're interested in this, please let us know for access.