Create a new campaign
Creates the campaign shell: name, channel type, agent, status, date window, and optional message settings. Use this when you want fine-grained control over setup. After creation, attach a rule and one or more pools, then publish the campaign to schedule work.
Documentation Index
Fetch the complete documentation index at: https://developers.mihu.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
Body
"Summer Promotion 2025"
"Campaign for summer products promotion"
Active, Draft, Completed, Archived "Draft"
"email"
"2025-06-01T00:00:00Z"
"2025-08-31T23:59:59Z"
{
"target_audience": "new_customers",
"minimum_age": 18
}Agent UUID. The channel binding (agent_app) is resolved automatically from the agent's first configured channel.
"550e8400-e29b-41d4-a716-446655440000"
Response
Created
Indicates whether the request completed successfully. True for successful responses; false for documented error responses.
true
Human-readable response message. Safe to display in logs or simple client notifications; use structured fields for program logic.
"Campaign created successfully"