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

# Add subscriber

> Add a new email subscriber.


<Warning>
  **Deprecated:** This is a **v1** endpoint. It will continue to work, but we
  recommend migrating to the [v2 equivalent](/api-reference) for improved REST
  compliance (correct HTTP status codes, consistent response envelopes, and
  hyphenated URLs).
</Warning>

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml bundled-v1/subscribers.yaml POST /email_subscriptions
openapi: 3.0.3
info:
  title: NeetoPublish Subscribers APIs
  version: 1.0.0
servers:
  - description: NeetoPublish APIs
    url: https://{your-subdomain}.neetopublish.com/api/external/v1
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
paths:
  /email_subscriptions:
    post:
      tags:
        - Subscribers
      summary: Add subscriber
      description: |
        Add a new email subscriber.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/subscription_request'
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/subscription_response'
        '422':
          description: Unprocessable Entity - Email is already subscribed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/subscription_error_response'
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string
        default: your-api-key
  schemas:
    subscription_request:
      type: object
      properties:
        subscription:
          $ref: '#/components/schemas/subscription'
    subscription_response:
      type: object
      properties:
        message:
          type: string
          example: >-
            A verification email has been sent to your email address. Please
            verify your email.
    subscription_error_response:
      type: object
      properties:
        error:
          type: string
          example: Email is already subscribed
    subscription:
      type: object
      properties:
        email:
          type: string
          format: email
          description: Email address of the subscriber.
          example: oliver@example.com
      required:
        - email

````