Cakemail icon

Cakemail

Interact with Cakemail API

Campaign → Schedule

AI-generated

Summary

Schedule a campaign for sending at a specified time.

Inputs

  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
  • campaignId (required) — The ID of the campaign.
  • scheduledFor — When to send the campaign in ISO 8601 format (UTC timezone). Leave empty to send immediately.

Output shape

no body — success/failure only

The operation returns success or failure without any additional data.

Examples

Example 1: Schedule a campaign to be sent at a specific time

Set 'scheduledFor' to '2025-12-31T23:59:59Z' and provide the campaignId.

Discussion