---
title: "Schedule Campaign Message"
description: "How to call Schedule Campaign Message (POST /api/campaign-message-schedule) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/schedule_campaign_message"
revision: "2026-10-15"
operationId: "schedule_campaign_message"
aliases: ["create_campaign_message_schedule"]
method: "POST"
endpoint: "https://a.klaviyo.com/api/campaign-message-schedule"
authentication: "privateKey"
scopes: ["campaigns:write"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/schedule_campaign_message.json"
jsonApi: {"fields":{"campaign-message-schedule":["id","send_date","send_time","strategy","throttle_unit","throttling_percentage"]}}
related: ["https://developers.klaviyo.com/en/reference/campaigns/llms.txt","https://developers.klaviyo.com/en/reference/update_campaign_message_schedule.md"]
---

# Schedule Campaign Message

> This is the Markdown version of https://developers.klaviyo.com/en/reference/schedule_campaign_message

```http
POST https://a.klaviyo.com/api/campaign-message-schedule
```

Schedule a single campaign message.

- Revision header: `revision: 2026-10-15` (required)
- Scopes: `campaigns:write`
- Rate limits: Burst: `10/s`, Steady: `150/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/schedule_campaign_message.json)

## Example request

### curl

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/campaign-message-schedule' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "campaign-message-schedule",
    "attributes": {
      "send_time": "2026-08-01T14:30:00+00:00",
      "send_date": "2026-08-01",
      "strategy": "static"
    },
    "relationships": {
      "campaign-message": {}
    }
  }
}'
```

### CLI

```bash
klaviyo campaigns schedule-campaign-message \
  -d '{
  "data": {
    "type": "campaign-message-schedule",
    "attributes": {
      "send_time": "2026-08-01T14:30:00+00:00",
      "send_date": "2026-08-01",
      "strategy": "static"
    },
    "relationships": {
      "campaign-message": {}
    }
  }
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

### Python

```python
from klaviyo_api import KlaviyoAPI

klaviyo = KlaviyoAPI("your-private-api-key")

response = klaviyo.Campaigns.schedule_campaign_message(
    {
        "data": {
            "type": "campaign-message-schedule",
            "attributes": {
                "send_time": "2026-08-01T14:30:00+00:00",
                "send_date": "2026-08-01",
                "strategy": "static",
            },
            "relationships": {
                "campaign-message": {},
            },
        },
    },
)
```

Install it with `pip install klaviyo-api`. [The Python SDK on GitHub](https://github.com/klaviyo/klaviyo-api-python)

### Node.js

```javascript
import { ApiKeySession, CampaignsApi } from 'klaviyo-api'

const session = new ApiKeySession('your-private-api-key')
const campaignsApi = new CampaignsApi(session)

const response = await campaignsApi.scheduleCampaignMessage(
  {
    data: {
      type: 'campaign-message-schedule',
      attributes: {
        sendTime: '2026-08-01T14:30:00+00:00',
        sendDate: '2026-08-01',
        strategy: 'static',
      },
      relationships: {
        campaignMessage: {},
      },
    },
  },
)
```

Install it with `npm install klaviyo-api`. [The Node.js SDK on GitHub](https://github.com/klaviyo/klaviyo-api-node)

### Ruby

```ruby
require 'klaviyo-api-sdk'

KlaviyoAPI.configure do |config|
  config.api_key['Klaviyo-API-Key'] = 'Klaviyo-API-Key your-private-api-key'
end

response = KlaviyoAPI::Campaigns.schedule_campaign_message(
  {
    data: {
      type: 'campaign-message-schedule',
      attributes: {
        send_time: '2026-08-01T14:30:00+00:00',
        send_date: '2026-08-01',
        strategy: 'static',
      },
      relationships: {
        'campaign-message' => {},
      },
    },
  },
)
```

Install it with `gem install klaviyo-api-sdk`. [The Ruby SDK on GitHub](https://github.com/klaviyo/klaviyo-api-ruby)

### PHP

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

use KlaviyoAPI\KlaviyoAPI;

$klaviyo = new KlaviyoAPI('your-private-api-key');

$response = $klaviyo->Campaigns->scheduleCampaignMessage(
    [
        'data' => [
            'type' => 'campaign-message-schedule',
            'attributes' => [
                'send_time' => '2026-08-01T14:30:00+00:00',
                'send_date' => '2026-08-01',
                'strategy' => 'static',
            ],
            'relationships' => [
                'campaign-message' => new \stdClass(),
            ],
        ],
    ],
);
```

Install it with `composer require klaviyo/api`. [The PHP SDK on GitHub](https://github.com/klaviyo/klaviyo-api-php)

## Query parameters

- `fields[campaign-message-schedule]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/reference.md) Allowed values: `id`, `send_date`, `send_time`, `strategy`, `throttle_unit`, `throttling_percentage`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-10-15`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `campaign-message-schedule`
  - `attributes` (object, required)
    - `send_time` (string<date-time>, nullable): The datetime at which the message should be sent (must be in the future). Required when strategy is not 'smart_send_time'. Example: `2026-08-01T14:30:00+00:00`
    - `send_date` (string<date>, nullable): The date on which the message should be sent. Required when strategy is 'smart_send_time'. Must not be in the past. Example: `2026-08-01`
    - `strategy` (string, required): The send strategy to use: static, local_timezone, throttled, or smart_send_time Allowed values: `local_timezone`, `smart_send_time`, `static`, `throttled` Example: `static`
    - `throttled_options` (object)
      - `throttling_percentage` (integer, required): Percentage of recipients to send to per throttle unit (1, 2, 5, 10, 11, 13, 14, 17, 20, 25, 33, or 50) Example: `20`
      - `throttle_unit` (string): The time unit each batch of recipients is sent over: 'hour' or 'minute'. Allowed values: `hour`, `minute` Default: `hour` Example: `hour`
    - `timezone_options` (object)
      - `send_past_timezones_tomorrow` (boolean, nullable): If true, recipients in timezones where the send time has already passed will receive the message the following day. If false, they receive it immediately. Default: `false`
  - `relationships` (object, required)
    - `campaign-message` (object, required)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/schedule_campaign_message.json).

### Example request body

```json
{
  "data": {
    "type": "campaign-message-schedule",
    "attributes": {
      "send_time": "2026-08-01T14:30:00+00:00",
      "send_date": "2026-08-01",
      "strategy": "static"
    },
    "relationships": {
      "campaign-message": {}
    }
  }
}
```

## Responses

### 201: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `campaign-message-schedule`
  - `id` (string, required): The ID of the scheduled campaign message Example: `925e385b52fb405715f3616c337cc65c`
  - `attributes` (object, required)
    - `send_time` (string<date-time>, nullable): The datetime at which the message is scheduled to send. Null for smart_send_time strategy. Example: `2022-11-08T00:00:00+00:00`
    - `send_date` (string<date>, nullable): The date on which the message is scheduled to send (present for smart_send_time strategy)
    - `strategy` (string, required): The send strategy used for scheduling Allowed values: `local_timezone`, `smart_send_time`, `static`, `throttled`
    - `throttling_percentage` (integer, nullable): Percentage of recipients sent to per throttle unit. Present when strategy is 'throttled'.
    - `throttle_unit` (string, nullable): The time unit each batch of recipients is sent over. Present when strategy is 'throttled'. Allowed values: `hour`, `minute`
  - `relationships` (object)
    - `campaign-message` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/schedule_campaign_message.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/schedule_campaign_message.json).
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": {
    "type": "campaign-message-schedule",
    "id": "925e385b52fb405715f3616c337cc65c",
    "attributes": {
      "send_time": "2022-11-08T00:00:00+00:00",
      "send_date": "2026-01-01",
      "strategy": "local_timezone",
      "throttling_percentage": 0,
      "throttle_unit": "hour"
    },
    "relationships": {
      "campaign-message": {
        "data": {
          "type": "campaign-message",
          "id": "string"
        },
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
