---
title: "Create a campaign for a mailing list"
method: POST
path: "/sms/campaigns"
tags: ["Campaigns"]
---

# Create a campaign for a mailing list

`POST /sms/campaigns`

## Request

- Base URL: `https://api.sendpulse.com`
- URL: `https://api.sendpulse.com/sms/campaigns`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `https://api.sendpulse.com/oauth/access_token`)

## Request body

- object
  - `sender` string, required
  - `addressBookId` integer, required
  - `body` string, required
  - `route` object: e.g. {'UA':'national'}
  - `date` string, date-time
  - `emulate` boolean
  - `use_dynamic_list` boolean
  - `stat_link_tracking` boolean
  - `stat_link_need_protocol` boolean

## Response `200`

Campaign created

- object
  - `result` boolean
  - `campaign_id` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/sendpulse/apis/sendpulse-sms-api.md) · [All operations](https://skmtc.dev/sendpulse/apis/sendpulse-sms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendpulse/apis/sendpulse-sms-api/revisions/be75d9ca7784?raw)
