> ## Documentation Index
> Fetch the complete documentation index at: https://www.notifuse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Send a scheduled broadcast back to draft

Sends a scheduled broadcast back to draft before it starts sending. It keeps its date, time and timezone, can be edited, and can be scheduled again; it will not be sent at its scheduled time.

Once the sending has started (emails queued or sent, or its send task under way), the request is refused with 400: cancel the broadcast instead. A scheduled broadcast shows as sending once its sending starts, and can then be paused. Not available in demo mode.

## OpenAPI

````yaml /openapi.json post /api/broadcasts.unschedule
openapi: 3.0.3
info:
  title: Notifuse API
  description: API for Notifuse - a transactional email and newsletter management platform
  version: 1.0.0
  contact:
    name: Notifuse Support
    url: https://www.notifuse.com/support
    email: hello@notifuse.com
  license:
    name: BUSL-1.1
    url: https://github.com/Notifuse/notifuse/blob/main/LICENSE
servers:
  - url: https://{notifuseDomain}
    description: Customer-specific Notifuse API server
    variables:
      notifuseDomain:
        description: Your unique Notifuse domain
        default: demo.notifuse.com
security: []
paths:
  /api/broadcasts.unschedule:
    post:
      summary: Send a scheduled broadcast back to draft
      description: >
        Sends a scheduled broadcast back to draft before it starts sending. It
        keeps its date, time and timezone, can be edited, and can be scheduled
        again; it will not be sent at its scheduled time.


        Once the sending has started (emails queued or sent, or its send task
        under way), the request is refused with 400: cancel the broadcast
        instead. A scheduled broadcast shows as sending once its sending starts,
        and can then be paused. Not available in demo mode.
      operationId: unscheduleBroadcast
      security:
        - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UnscheduleBroadcastRequest"
      responses:
        "200":
          description: Broadcast sent back to draft
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
        "400":
          description: The broadcast is not scheduled, or its sending has started (cancel
            it instead)
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
        "401":
          description: Unauthorized - invalid or missing authentication token
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
        "403":
          description: Forbidden - write access to broadcasts required
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
        "404":
          description: Broadcast not found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
        "500":
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
      required:
        - error
    UnscheduleBroadcastRequest:
      type: object
      required:
        - workspace_id
        - id
      properties:
        workspace_id:
          type: string
          description: The ID of the workspace
          example: ws_1234567890
        id:
          type: string
          description: ID of the scheduled broadcast to send back to draft
          example: broadcast_12345
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API token for authentication
````
