Update campaign
Update a campaign’s configuration. Only allowed when the campaign is in paused or scheduled status.
You can update the name, description, agent configuration, end timestamp, and allowed schedule.
Path parameters
org_id
workspace_id
campaign_id
Headers
X-API-Key
Your workspace API key.
Request
This endpoint expects an object.
name
Updated campaign name. Alphanumeric, hyphens, underscores and spaces allowed. Max 50 characters.
description
Updated campaign description. Max 150 characters.
app_config
Updated agent configuration
webhook_config
Webhook configuration for call completion events
end_timestamp
Updated campaign end time (ISO 8601)
allowed_schedule
Updated schedule constraints
Response
Successful Response
name
Name of the resource
campaign_id
Unique identifier for the campaign
status
Current status
Allowed values:
app_id
ID of the agent
created_by
User who created this resource
created_at
Timestamp when the resource was created (ISO 8601)
updated_at
Timestamp when the resource was last updated (ISO 8601)
description
Optional description
app_type
Type of agent
Allowed values:
app_version
Version of the agent to use
updated_by
User who last updated this resource
Errors
422
Unprocessable Entity Error