email_campaign

update_email_campaign

Update an existing draft email campaign. Use this for "update the newsletter", "update the MainBody/main content", "replace the newsletter article", subject/preheader tweaks, template changes, or audience changes. If the selected template has multiple user content slots and the user did not name the target section, ask which section to update and list the content_slots before calling this tool. Only draft campaigns can be updated.

post/update_email_campaign

Request

  • Base URL: https://app.podmule.com/api/v1
  • URL: https://app.podmule.com/api/v1/update_email_campaign
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Stripe-style idempotency key. When present, repeat invocations within 24h with the same body return the original response; same key + different body returns 409 IDEMPOTENCY_KEY_REUSED.

X-PodMule-Dry-Run'true' | 'false'

When set to "true", routes the call to the capability's dryRun() method — same scope/precondition checks fire as the real handler, but persistence is skipped. The audit row is tagged result_status=dry_run.

Request body

unknown required

Response

Capability output wrapped in { data }.

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.