---
title: "Send a marketing campaign"
method: POST
path: "/marketing/campaigns/{id}/send"
tags: ["Admin Marketing: Communications"]
---

# Send a marketing campaign

`POST /marketing/campaigns/{id}/send`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/marketing/campaigns/{id}/send`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/marketing/campaigns/:id/send/post.ts> (a function with typed inputs; its response is checked against the schema)

Queues the campaign email for every subscriber in its customer_group. Refuses inactive campaigns with HTTP 422.

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

Send queued.

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid admin token.
- `403`: Admin role lacks marketing.communications.campaigns.edit.
- `404`: Campaign not found.
- `422`: Campaign is inactive.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
