API Overview
The Trigger Call API supports multiple call configurations through a single endpoint. You can trigger:🔹 Basic Calls
Simple calls with firstName, lastName, and phone number
🎯 Dynamic Fields
Calls with custom fields for personalized conversations
📊 Campaign Calls
Calls organized under campaign names for tracking
🧠 Insights Collection
Calls with AI-powered data collection and analysis
Important Consent Requirements
Before using this API, you must ensure:- ✅ Explicit Consent: All phone numbers have explicitly consented to receive calls
- ✅ Documentation: You have documented proof of consent for each contact
- ✅ Compliance: You comply with local privacy laws (GDPR, CCPA, etc.)
- ✅ Opt-out Options: You provide clear opt-out mechanisms for contacts
The
consentForCalls parameter must be set to true in your API request to confirm you have obtained proper consent from all contacts.Call Configuration Types
1. Basic Calls
Use thebasicTriggerCall schema for simple calls with minimal information:
firstName,lastName,phoneprojectIdandconsentForCalls
2. Dynamic Fields Calls
Use thedynamicFieldsTriggerCall schema for personalized calls:
- All basic fields plus custom fields (address, email, company, etc.)
- Perfect for agent prompts that use
{customField}variables - Additional Privacy: Ensure consent for personal data usage
3. Campaign Calls
Use thecampaignTriggerCall schema for organized campaigns:
- All basic fields plus
campaignName - Better tracking and analytics
- Marketing Compliance: Ensure consent for campaign communications
4. Insights Collection
Use theinsightsTriggerCall schema for data collection:
- All basic fields plus
insightsarray with questions - AI-powered response analysis
- Survey Consent: Ensure consent for data collection and AI processing
Privacy Considerations by Type
- Basic Calls
- Dynamic Fields
- Campaign Calls
- Insights Collection
- Explicit consent for calling
- Clear opt-out mechanisms
- Compliance with local laws
Example Request Bodies
Authorizations
API Key authentication. Pass your API key in the Authorization header.
Headers
API Key - authentication token for your account
Database URL - unique account identifier
Body
application/json
Call trigger payload - supports basic calls, dynamic fields, campaigns, or insights collection