> ## 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.

# Schedule a Fansly post

> Schedules a Fansly post. `scheduledFor` is a unix timestamp in seconds via Posttu's Fansly REST API (POST /api/v1/fansly/posts/schedule) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/fansly/posts/schedule
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/fansly/posts/schedule:
    post:
      tags:
        - Fansly
      summary: Schedule a Fansly post
      description: |-
        Schedules a Fansly post. `scheduledFor` is a unix timestamp in seconds.
        Requires API key scope: `fansly:write`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FanslySchedulePostApiInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FanslySchedulePostResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    FanslySchedulePostApiInput:
      type: object
      properties:
        channelId:
          type: string
          description: Fansly channel ID
          example: ch_fansly123
        id:
          type: string
          description: Post ID
        content:
          type: string
          default: ''
          description: Post text
        wallIds:
          type: array
          items:
            type: string
          default: []
        pinWallIds:
          type: array
          items:
            type: string
          default: []
        attachments:
          type: array
          items:
            type: object
            properties:
              contentId:
                type: string
              contentType:
                type: number
              pos:
                type: number
            required:
              - contentId
              - contentType
              - pos
          default: []
        scheduledFor:
          type: number
          default: 0
        expiresAt:
          type: number
          default: 0
        fypFlags:
          type: number
          default: 0
        inReplyTo:
          type:
            - string
            - 'null'
        quotedPostId:
          type:
            - string
            - 'null'
        pinned:
          type: number
          default: 0
        postReplyPermissionFlags:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              flags:
                type: number
              verificationFlags:
                type:
                  - number
                  - 'null'
              metadata:
                type:
                  - string
                  - 'null'
              validAfter:
                type:
                  - number
                  - 'null'
              validBefore:
                type:
                  - number
                  - 'null'
              price:
                type: number
                default: 0
              type:
                type: number
                default: 0
            required:
              - flags
          default: []
        price:
          type: number
          default: 0
      required:
        - channelId
    FanslySchedulePostResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          type:
            - object
            - 'null'
          additionalProperties: {}
          x-posttu-passthrough: true
          description: The Record<string, unknown>.
      required:
        - success
        - data
  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.