---
title: "Promote draft batch send"
method: POST
path: "/v1/batch/{id}/send"
tags: ["batch"]
---

# Promote draft batch send

`POST /v1/batch/{id}/send`

## Request

- Base URL: `https://api.wraps.dev`
- URL: `https://api.wraps.dev/v1/batch/{id}/send`
- Auth: HTTP bearer

Promotes an existing draft batch_send to an active send (queued or scheduled).

## Path parameters

- `id` string, required

## Request body

- object
  - `channel` union
    - string
    - string
  - `name` string
  - `audienceType` union
    - string
    - string
    - string
  - `topicId` string
  - `segmentId` string
  - `subject` string
  - `previewText` string
  - `from` string
  - `fromName` string
  - `replyTo` string
  - `templateId` string
  - `htmlContent` string
  - `variableMappings` object[]
    - `variableName` string, required
    - `source` union, required
      - object
        - `type` string, required
        - `value` string, required
      - object
        - `type` string, required
        - `field` string, required
  - `body` string
  - `senderId` string
  - `scheduledFor` string, date-time
  - `awsAccountId` string, required
  - `totalRecipients` number, required

## Response `201`

- object
  - `id` string, required
  - `status` string, required
  - `warning` string

## Other responses

- `400`: Malformed request — unparseable body or an invalid parameter.
- `401`: Missing, malformed, or revoked credentials. Send `Authorization: Bearer <api key>`.
- `403`: Authenticated, but the resource belongs to another organization.
- `404`: No such route, or no such resource in this organization.
- `422`: The request parsed but failed schema validation.
- `429`: Rate limit exceeded. Wait for the window named by the RateLimit headers.
- `500`: Unexpected server failure. Safe to retry with backoff; quote `requestId` if it persists.

---

[API](https://skmtc.dev/wraps/apis/wraps-platform-api.md) · [All operations](https://skmtc.dev/wraps/apis/wraps-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wraps/apis/wraps-platform-api/revisions/12116fb21af7?raw)
