Sign in

Edit scheduled campaign

documented

Edit a scheduled campaign.

PUT /campaigns/{id}Campaignsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.sendpulse.com/campaigns/{{$id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "sender_name": "{{$sender_name}}", "sender_email": "{{$sender_email}}", "subject": "{{$subject}}", "body": "{{$body}}", "template_id": "{{$template_id}}", "send_date": "{{$send_date}}"}'"}

Notes:
- SendPulse documentation shows updating a scheduled campaign with PATCH /campaigns/{id} (not PUT). The base API URL is https://api.sendpulse.com. See the official docs for patch-based updates to campaigns. ([sendpulse.com](https://sendpulse.com/integrations/api/api-email-en?utm_source=openai))
- Authorization uses OAuth2 Bearer tokens (obtain via POST to /oauth/access_token). Bearer token goes in the Authorization header. ([sendpulse.com](https://sendpulse.com/de/integrations/api/api-description-en?utm_source=openai))