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

# Broadcast Email

> Send a broadcast email to a segment of customers identified by their store tag, or to all customers. Requires `subject` and `html` in the request body. Verifies the store using `x-store-id` and checks customer availability before sending emails.



## OpenAPI

````yaml /api-reference/growth-api.json post /api/v1/emails/broadcast
openapi: 3.0.0
info:
  title: Growth API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
paths:
  /api/v1/emails/broadcast:
    post:
      tags:
        - Emails
      summary: Broadcast Email
      description: >-
        Send a broadcast email to a segment of customers identified by their
        store tag, or to all customers. Requires `subject` and `html` in the
        request body. Verifies the store using `x-store-id` and checks customer
        availability before sending emails.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BroadcastEmailRequest'
      responses:
        '200':
          description: Broadcast sent successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BroadcastEmailResponse'
      security:
        - storeIdHeader: []
components:
  schemas:
    BroadcastEmailRequest:
      type: object
      properties:
        subject:
          type: string
        html:
          type: string
        tag:
          type: string
        target_all:
          type: boolean
    BroadcastEmailResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        errors:
          type: array
          items:
            type: string
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````