Update a campaign
Updates campaign metadata and configuration before or during its lifecycle. Use this to rename a campaign, change dates, adjust status, update the assigned agent, or modify channel-specific fields. Existing scheduled tasks are not automatically rebuilt unless a separate publish or pool operation creates 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}"
Path Parameters
UUID of the campaign to update
Body
"Updated Summer Promotion 2025"
"Updated campaign description"
Active, Draft, Completed, Archived "Active"
"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
Success
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 updated successfully"