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

# Schedule campaign send

> # Description

Schedule the campaign based on {{campaignId}} passed in url to be send in a specific date.

# Body 

An object containing the property `date` where `date` is when the campaign will be delivered in ISO Format.

# Validations

- If campaign doesn't exists it return an error with 404 status code.

# Response

No body with status code 204

# Description

Schedule the campaign based on {{campaignId}} passed in url to be send in a specific date.

# Body

An object containing the property `date` where `date` is when the campaign will be delivered in ISO Format.

# Validations

* If campaign doesn't exists it return an error with 404 status code.

# Response

No body with status code 204


## OpenAPI

````yaml POST /campaigns-service/v1/campaigns/{campaignId}/schedule
openapi: 3.0.3
info:
  title: SightX API
  version: 1.0.0
  description: >-
    SightX REST API documentation. Most responses are JSON; some export
    endpoints return files. API access is a paid add-on — contact
    sales@sightx.io for details.
servers:
  - url: https://auth.admin.sightx.io
    description: Authentication (Production)
  - url: https://auth.staging-admin.sightx.io
    description: Authentication (Staging)
security:
  - AuthorizationHeader: []
paths:
  /campaigns-service/v1/campaigns/{campaignId}/schedule:
    post:
      summary: Schedule campaign send
      description: >-
        # Description


        Schedule the campaign based on {{campaignId}} passed in url to be send
        in a specific date.


        # Body 


        An object containing the property `date` where `date` is when the
        campaign will be delivered in ISO Format.


        # Validations


        - If campaign doesn't exists it return an error with 404 status code.


        # Response


        No body with status code 204
      operationId: >-
        schedule-campaign-send-post-campaigns-service-v1-campaigns-campaignid-schedule
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
            example:
              date: string
      responses:
        '200':
          description: Successful response
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      servers:
        - url: https://campaigns.sightx.io
components:
  securitySchemes:
    AuthorizationHeader:
      type: apiKey
      in: header
      name: Authorization
      description: Access token obtained from the m2m-token endpoint.

````