Actions66
- Session Actions
- Message Actions
- Group Actions
- Contact Actions
- Conversation Actions
- Campaign (Outreach) Actions
- Bulk Campaign Actions
- AutoFlow Actions
- Webhook Actions
- Verification Actions
- Report Actions
Campaign (Outreach) → Assign Leads
AI-generatedSummary
Assign a list of contacts as leads to a specific outreach campaign using their contact IDs and the campaign ID.
Inputs
- Campaign ID (required) — The unique identifier of the outreach campaign to which leads are assigned.
- Contact IDs (comma separated) (required) — A comma-separated string of contact IDs to be assigned as leads to the campaign.
Output shape
a JSON object representing the API response indicating success or details of the assigned leads
The response data is returned as JSON and paired with the workflow item index. The operation sends a POST request to the /api/outreach/{campaignId}/assign endpoint with the contact IDs in the body.
Examples
Example 1: Assign leads to a campaign
Provide the campaign's ID and a comma-separated list of contact IDs to assign as leads.