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

# Resume a paused schedule.

> Sets status back to active. Forward-only — slots canceled during pause are not back-filled.



## OpenAPI

````yaml /api/openapi.yaml post /v1/schedules/{id}/resume
openapi: 3.1.0
info:
  title: Warmr Cloud API
  version: '1.2'
  summary: Enqueue and read iPhone-fleet automation work (warmups + posts).
  description: >
    The business-facing REST surface for Warmr. **Bring-your-own-fleet**: API
    keys

    *enqueue* work and read org-scoped state; your own connected iPhones
    *execute* it.

    A server-side **airlock** prevents an API session from ever driving a
    device.


    Auth is a two-step flow: exchange a `wk_live_` API key at the exchange
    endpoint for a

    short-lived org session, then call `/v1` with `Authorization: Bearer
    <access_token>`.


    Every `/v1` response is wrapped in an envelope `{ "schema": "1.0", ... }`;
    errors are

    `{ "schema": "1.0", "error": { "code", "message", "data"? } }`. The exchange
    endpoint

    uses a flatter `{ "error": "<code>" }` body.


    NOTE: the public base URL is deployment-specific and is NOT asserted here.
    Replace the

    `app.warmr.so` / `<project-ref>` placeholders below with your deployment's
    values.
  license:
    name: UNLICENSED
servers:
  - url: https://{origin}
    description: Substitute your Warmr deployment origin. app.warmr.so is a placeholder.
    variables:
      origin:
        default: app.warmr.so
        description: Your Warmr deployment host, no scheme, e.g. app.example.com
security:
  - bearerAuth: []
tags:
  - name: auth
    description: Exchange an API key for an org session.
  - name: runs
    description: >-
      Enqueue and read units of automation work (warm_up or post); your
      connected iPhones execute them.
  - name: schedules
    description: >-
      Standing recurring post schedules (one account each). The materializer
      turns them into runs.
  - name: accounts
    description: Register and list the social account handles in your org.
  - name: content
    description: >-
      Signed direct-to-storage uploads for post clips (issue → upload →
      confirm).
  - name: usage
    description: Org storage and run counts for a billing period.
  - name: devices
    description: The iPhones your runner(s) have reported to the org.
  - name: webhooks
    description: >-
      Subscribe to run.completed / run.failed events and manage deliveries.
      Opt-in, secret-bearing (webhooks:read / webhooks:write).
  - name: keys
    description: >-
      List your org's API keys — metadata only, the secret is never returned.
      Opt-in keys:read.
  - name: health
    description: Lightweight org-scoped readiness probe. Opt-in health:read.
paths:
  /v1/schedules/{id}/resume:
    parameters:
      - $ref: '#/components/parameters/ScheduleId'
    post:
      tags:
        - schedules
      summary: Resume a paused schedule.
      description: >-
        Sets status back to active. Forward-only — slots canceled during pause
        are not back-filled.
      operationId: resumeSchedule
      responses:
        '200':
          description: Resumed schedule.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleEnvelope'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
components:
  parameters:
    ScheduleId:
      name: id
      in: path
      required: true
      schema:
        type: string
  schemas:
    ScheduleEnvelope:
      allOf:
        - $ref: '#/components/schemas/Envelope'
        - type: object
          required:
            - schedule
          properties:
            schedule:
              $ref: '#/components/schemas/Schedule'
    Envelope:
      type: object
      required:
        - schema
      properties:
        schema:
          type: string
          const: '1.0'
    Schedule:
      type: object
      required:
        - schedule_id
        - name
        - account_username
        - cadence
        - status
      properties:
        schedule_id:
          type: string
        name:
          type: string
        account_username:
          type: string
        device_udid:
          type:
            - string
            - 'null'
        cadence:
          $ref: '#/components/schemas/Cadence'
        active_start_hour:
          type: integer
        active_end_hour:
          type: integer
        timezone:
          type: string
          description: IANA name the materializer slots in.
        content_source:
          description: jsonb (selector/reuse/on_exhaustion).
        default_disposition:
          type: string
          enum:
            - draft
            - post_now
        per_day_cap:
          type: integer
        horizon_hours:
          type: integer
        status:
          $ref: '#/components/schemas/ScheduleStatus'
        last_materialized_through:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type:
            - string
            - 'null'
          format: date-time
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
    ErrorEnvelope:
      allOf:
        - $ref: '#/components/schemas/Envelope'
        - type: object
          required:
            - error
          properties:
            error:
              type: object
              required:
                - code
                - message
              properties:
                code:
                  type: string
                message:
                  type: string
                data: {}
    Cadence:
      description: >-
        Recurrence for a standing schedule. Off, or N posts/day across the
        active window.
      oneOf:
        - type: object
          required:
            - kind
          properties:
            kind:
              type: string
              const: 'off'
        - type: object
          required:
            - kind
            - count
          properties:
            kind:
              type: string
              const: perDay
            count:
              type: integer
              minimum: 1
              maximum: 12
    ScheduleStatus:
      type: string
      description: Schedule lifecycle. Forward-compatible (unknown values may appear).
      enum:
        - active
        - paused
        - exhausted
        - deleted
  responses:
    Error:
      description: A /v1 error envelope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: The access_token from the exchange endpoint.

````