Overview
Campaigns are used to group similar types of inbound or outbound calls. Each campaign defines:- The AI voice agent to be used.
- QA settings for monitoring call quality.
- Post-call data extraction settings.
Steps to Execute Calls within a Campaign
1. Add & execute targets
Once a campaign is created, targets must be added using the create targets endpoint:"launch": true
For exemple:
2. Receive Target Results
Each campaign defines a customizable webhook to receive target results. Once a target is finished, the webhook will receive:Campaign > Settings > Notificaitions
Enable the campaign target finished and save the configuration with the endpoint where you want to receive the updates
3. Retrieve Target
Using thetarget_id, detailed information about the call can be retrieved from the Get target endpoint:
Summary
| Step | Action |
|---|---|
| 1 | Create or clone a campaign via the Prosper platform |
| 2 | Add targets and execute calls using POST /api/v1/campaigns/{campaign_id}/targets |
| 4 | Receive results via the campaign’s webhook |
| 5 | Retrieve the target details using GET /api/v1/targets/{target_id} |