from superu import SuperU
client = SuperU("YOUR_SUPERU_API_KEY")
payload = {
"workflow_name": "My Outbound Campaign",
"assistantId": "b64244f5-019c-47b6-bedd-cb359c0731a5",
"batchSize": 5,
"audienceId": "f750d6e9-448d-4198-be9a-ed142460c329",
"from_phone_number": "+14155550100",
"dateTime": "2026-04-24T08:28:00"
}
response = client.campaigns.create(**payload)
print(response)curl --request POST \\
--url https://voip-middlware.superu.ai/campaign/outbound/batch_create \\
--header 'superU-Api-Key: YOUR_SUPERU_API_KEY' \\
--data '{
"workflow_name": "My Outbound Campaign",
"assistantId": "b64244f5-019c-47b6-bedd-cb359c0731a5",
"batchSize": 5,
"audienceId": "f750d6e9-448d-4198-be9a-ed142460c329",
"from_phone_number": "+14155550100",
"dateTime": "2026-04-24T08:28:00"
}'{
"name": "My Outbound Campaign",
"active": true,
"campaign": {
"campaign_id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
"message": "Campaign created successfully",
"status": "scheduled"
}
}{
"status": "error",
"code": "BAD_REQUEST",
"message": "Request validation failed."
}{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Invalid or missing superU-Api-Key."
}{
"status": "error",
"code": "INTERNAL_SERVER_ERROR",
"message": "An unexpected server error occurred."
}Create outbound campaign
Creates an outbound campaign with automated call scheduling. Handles workflow setup, contact loading, and job scheduling in a single request.
Provide contacts using either audienceId (existing audience) or csvData (inline contact list) — not both. If csvData is provided, a new audience is automatically created from it.
Optionally schedule the campaign for a future time using dateTime. If omitted, the campaign starts immediately.
from superu import SuperU
client = SuperU("YOUR_SUPERU_API_KEY")
payload = {
"workflow_name": "My Outbound Campaign",
"assistantId": "b64244f5-019c-47b6-bedd-cb359c0731a5",
"batchSize": 5,
"audienceId": "f750d6e9-448d-4198-be9a-ed142460c329",
"from_phone_number": "+14155550100",
"dateTime": "2026-04-24T08:28:00"
}
response = client.campaigns.create(**payload)
print(response)curl --request POST \\
--url https://voip-middlware.superu.ai/campaign/outbound/batch_create \\
--header 'superU-Api-Key: YOUR_SUPERU_API_KEY' \\
--data '{
"workflow_name": "My Outbound Campaign",
"assistantId": "b64244f5-019c-47b6-bedd-cb359c0731a5",
"batchSize": 5,
"audienceId": "f750d6e9-448d-4198-be9a-ed142460c329",
"from_phone_number": "+14155550100",
"dateTime": "2026-04-24T08:28:00"
}'{
"name": "My Outbound Campaign",
"active": true,
"campaign": {
"campaign_id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
"message": "Campaign created successfully",
"status": "scheduled"
}
}{
"status": "error",
"code": "BAD_REQUEST",
"message": "Request validation failed."
}{
"status": "error",
"code": "UNAUTHORIZED",
"message": "Invalid or missing superU-Api-Key."
}{
"status": "error",
"code": "INTERNAL_SERVER_ERROR",
"message": "An unexpected server error occurred."
}Authorizations
Your SuperU API key.
Body
Request body for creating an outbound campaign.
The agent/assistant ID to use for calls
The phone number to make outbound calls from (with country code)
"+14155550100"
Name for the workflow and campaign
Number of calls to process per batch (max 10)
1 <= x <= 10ISO 8601 datetime for scheduling the campaign. Must be in the future. If omitted, the campaign starts immediately.
"2026-04-10T14:00:00Z"
Alternative field for workflow name (used if workflow_name is not provided)
ID of an existing audience. Provide either audienceId or csvData, not both.
Inline contact list. Provide either csvData or audienceId, not both. A new audience is created automatically from this data.
Show child attributes
Show child attributes

