Skip to main content
Solved

Scheduling Campaign Using API

  • January 29, 2024
  • 3 replies
  • 163 views

Forum|alt.badge.img+1

Hi, 

Can someone please help me understand which api endpoint I need to use to schedule a created campaign. 

Currently once I create a new campaign I use the Update Campaign Message to set the intended send time and date, however this doesn’t seem to be setting the campaign to scheduled? I’m just wondering if there is a step I’m missing? I can see there is a Create Campaign Send Job endpoint, but it’s not clear at what point this fits into the workflow.

Would appreciate any help or insights I can get into this as the old threads on this subject relate to an older version of the api.

Best answer by aguerrero

To schedule the campaign (change it from Draft to Scheduled)

https://developers.klaviyo.com/en/reference/create_campaign_send_job
 

To cancel the job (you can cancel it all together, or revert it back to a Draft)

https://developers.klaviyo.com/en/reference/update_campaign_send_job

3 replies

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • January 30, 2024

Hi @maker101!
 

I’m going to check on this internally and I’ll update the thread ASAP!

Best,

Brian


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 2 replies
  • February 2, 2024

Hi - any word on this?


Forum|alt.badge.img
  • Contributor I
  • 2 replies
  • Answer
  • February 9, 2024

To schedule the campaign (change it from Draft to Scheduled)

https://developers.klaviyo.com/en/reference/create_campaign_send_job
 

To cancel the job (you can cancel it all together, or revert it back to a Draft)

https://developers.klaviyo.com/en/reference/update_campaign_send_job