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

# Save sending schedule

> Overwrites the campaign's sending schedule. Fields not sent are CLEARED, not kept: send_hour_start/end and send_tz_offset become null, send_days becomes every day, max_gap_minutes becomes null, cc and bcc become null. Only min_gap_minutes is kept when omitted or negative. The hour window is both-or-neither: if either hour is missing, both are cleared. 404 if the campaign is not in the workspace.

**Minimum role:** `edit` (`x-min-role`). **Destructive:** `false` (`x-destructive`).



## OpenAPI

````yaml /openapi.json post /campaigns/{campaign_id}/settings
openapi: 3.0.3
info:
  title: Sales Sequencer API
  version: '1'
  description: >-
    Every Sales Sequencer action over HTTP. Each call runs as the API key's
    creator, with that user's role, in the key's workspace. Auth: X-API-Key
    header.
servers:
  - url: https://api.salessequencer.com/api/v1
security:
  - key: []
paths:
  /campaigns/{campaign_id}/settings:
    post:
      tags:
        - Campaigns
      summary: Save sending schedule
      description: >-
        Overwrites the campaign's sending schedule. Fields not sent are CLEARED,
        not kept: send_hour_start/end and send_tz_offset become null, send_days
        becomes every day, max_gap_minutes becomes null, cc and bcc become null.
        Only min_gap_minutes is kept when omitted or negative. The hour window
        is both-or-neither: if either hour is missing, both are cleared. 404 if
        the campaign is not in the workspace.


        **Minimum role:** `edit` (`x-min-role`). **Destructive:** `false`
        (`x-destructive`).
      operationId: campaigns_save_settings
      parameters:
        - in: path
          name: campaign_id
          required: true
          schema:
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              properties:
                bcc:
                  description: BCC address added to every send. Omit to clear.
                  type: string
                cc:
                  description: CC address added to every send. Omit to clear.
                  type: string
                max_gap_minutes:
                  description: Maximum gap in minutes (>= 0). Omit to clear.
                  type: integer
                min_gap_minutes:
                  description: Minimum minutes between sends from one mailbox (>= 0).
                  type: integer
                send_days:
                  description: >-
                    Repeatable. Weekday numbers 0-6 (Mon=0, Sun=6). Empty means
                    every day.
                  type: array
                  items:
                    type: integer
                send_hour_end:
                  description: Window end hour in the campaign timezone.
                  type: integer
                send_hour_start:
                  description: Window start hour (0-23) in the campaign timezone.
                  type: integer
                send_tz_offset:
                  description: >-
                    Timezone as minutes east of UTC (e.g. 330 = IST, -300 = ET,
                    0 = UTC).
                  type: integer
              type: object
      responses:
        '200':
          description: Redirect to the campaign settings tab; flash 'Settings saved'.
components:
  securitySchemes:
    key:
      in: header
      name: X-API-Key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.