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

# Move to draft

> Move a scheduled post back to draft status.



## OpenAPI

````yaml openapi.json PATCH /api/v1/posts/draft
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/posts/draft:
    patch:
      tags:
        - Posts
      summary: Move post to draft
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MoveToDraft'
      responses:
        '200':
          description: Draft result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMoveToDraftResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    MoveToDraft:
      type: object
      properties:
        postId:
          type: string
          description: Post ID to move to draft
          example: post_abc123
        isMultiPost:
          type: boolean
          default: false
          description: Move entire multi-post
          example: false
        clientTxId:
          type: string
      required:
        - postId
    PostMoveToDraftResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            success:
              type: boolean
              description: Success
              example: true
            postId:
              type: string
              description: Post ID
          required:
            - success
            - postId
        success:
          type: boolean
          description: Success status
        error:
          type: string
          description: Error message
        message:
          type: string
          description: Status message
      required:
        - data
        - success
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

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