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

# Get the Fansly home timeline

> Fetches the home timeline with mode and time-window cursors via Posttu's Fansly REST API (POST /api/v1/fansly/posts/timeline/home) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/fansly/posts/timeline/home
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/timeline/home:
    post:
      tags:
        - Fansly
      summary: Get the Fansly home timeline
      description: |-
        Fetches the home timeline with mode and time-window cursors.
        Requires API key scope: `fansly:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FanslyHomeTimelineApiInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FanslyHomeTimelineResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    FanslyHomeTimelineApiInput:
      type: object
      properties:
        channelId:
          type: string
          description: Fansly channel ID
          example: ch_fansly123
        mode:
          type: number
          default: 0
        before:
          type: string
          default: '0'
        after:
          type: string
          default: '0'
      required:
        - channelId
    FanslyHomeTimelineResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/FanslyGetPostPayload'
      required:
        - success
        - data
    FanslyGetPostPayload:
      type:
        - object
        - 'null'
      properties:
        posts:
          type: array
          items:
            $ref: '#/components/schemas/FanslyPost'
        aggregatedPosts:
          type: array
          items: {}
        accountMediaBundles:
          type: array
          items: {}
        accountMedia:
          type: array
          items: {}
        accounts:
          type: array
          items:
            $ref: '#/components/schemas/FanslyAccountDetail'
        tips:
          type: array
          items: {}
        tipGoals:
          type: array
          items: {}
        stories:
          type: array
          items: {}
        polls:
          type: array
          items: {}
      required:
        - posts
        - aggregatedPosts
        - accountMediaBundles
        - accountMedia
        - accounts
        - tips
        - tipGoals
        - stories
        - polls
      additionalProperties: {}
      description: The FanslyGetPostPayload.
    FanslyPost:
      type:
        - object
        - 'null'
      properties:
        id:
          type: string
        accountId:
          type: string
        content:
          type: string
        fypFlags:
          type: number
        inReplyTo:
          type:
            - string
            - 'null'
        inReplyToRoot:
          type:
            - string
            - 'null'
        replyPermissionFlags:
          type: 'null'
        createdAt:
          type: number
        expiresAt:
          type:
            - number
            - 'null'
        attachments:
          type: array
          items:
            type: object
            properties:
              contentId:
                type: string
              contentType:
                type: number
              pos:
                type: number
              postId:
                type: string
            required:
              - contentId
              - contentType
              - pos
              - postId
        likeCount:
          type: number
        mediaLikeCount:
          type: number
        totalTipAmount:
          type: number
        attachmentTipAmount:
          type: number
        replyCount:
          type: number
        tipAmount:
          type: number
      required:
        - id
        - accountId
        - content
        - fypFlags
        - inReplyTo
        - inReplyToRoot
        - replyPermissionFlags
        - createdAt
        - expiresAt
        - attachments
        - likeCount
        - mediaLikeCount
        - totalTipAmount
        - attachmentTipAmount
      additionalProperties: {}
      description: The FanslyPost.
    FanslyAccountDetail:
      type:
        - object
        - 'null'
      properties:
        id:
          type: string
        username:
          type: string
        displayName:
          type:
            - string
            - 'null'
        avatar:
          $ref: '#/components/schemas/FanslyUser'
        banner:
          $ref: '#/components/schemas/FanslyUser'
        about:
          type: string
        location:
          type: string
        flags:
          type: number
        profileFlags:
          type: number
        followCount:
          type: number
        accountMediaLikes:
          type: number
        postLikes:
          type: number
        statusId:
          type: number
        lastSeenAt:
          type: number
        timelineStats:
          type: object
          properties:
            accountId:
              type: string
            imageCount:
              type: number
            videoCount:
              type: number
            bundleCount:
              type: number
            bundleImageCount:
              type: number
            bundleVideoCount:
              type: number
            fetchedAt:
              type: number
          required:
            - accountId
            - imageCount
            - videoCount
            - bundleCount
            - bundleImageCount
            - bundleVideoCount
            - fetchedAt
        followerCount:
          type: number
        following:
          type: boolean
        followsYou:
          type: boolean
        subscriberCount:
          type: number
        subscribed:
          type: boolean
        subscriber:
          type: boolean
      required:
        - id
        - username
        - displayName
        - avatar
        - banner
        - about
        - location
        - flags
        - profileFlags
        - followCount
        - accountMediaLikes
        - postLikes
        - statusId
        - lastSeenAt
      additionalProperties: {}
      description: The FanslyAccountDetail.
    FanslyUser:
      type:
        - object
        - 'null'
      properties:
        id:
          type: string
        username:
          type: string
        displayName: {}
        avatar:
          type:
            - object
            - 'null'
          properties:
            id:
              type: string
            type:
              type: number
            status:
              type: number
            accountId:
              type: string
            mimetype:
              type: string
            flags:
              type: number
            filename:
              type: string
            location:
              type: string
            width:
              type: number
            height:
              type: number
            metadata:
              type: string
            updatedAt:
              type: number
            createdAt:
              type: number
            variants:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  type:
                    type: number
                  status:
                    type: number
                  mimetype:
                    type: string
                  flags:
                    type: number
                  filename:
                    type: string
                  location:
                    type: string
                  width:
                    type: number
                  height:
                    type: number
                  metadata:
                    type: string
                  updatedAt:
                    type: number
                  locations:
                    type: array
                    items:
                      type: object
                      properties:
                        locationId:
                          type: string
                        location:
                          type: string
                      required:
                        - locationId
                        - location
                required:
                  - id
                  - type
                  - status
                  - mimetype
                  - flags
                  - filename
                  - location
                  - width
                  - height
                  - metadata
                  - updatedAt
                  - locations
            variantHash:
              type: object
              properties: {}
            locations:
              type: array
              items:
                type: object
                properties:
                  locationId:
                    type: string
                  location:
                    type: string
                required:
                  - locationId
                  - location
          required:
            - id
            - type
            - status
            - accountId
            - mimetype
            - flags
            - filename
            - location
            - width
            - height
            - metadata
            - updatedAt
            - createdAt
            - variants
            - variantHash
            - locations
        flags:
          type: number
        version:
          type: number
        followCount:
          type: number
        followsYou:
          type: boolean
        subscriberCount:
          type: number
        permissions: {}
        statusId:
          type: number
        lastSeenAt:
          type: number
        accountMediaLikes:
          type: number
        streaming: {}
        postLikes:
          type: number
        profileAccessFlags:
          type: number
        profileFlags:
          type: number
        profileAccess:
          type: boolean
      required:
        - id
        - username
        - flags
        - version
        - followCount
        - subscriberCount
        - statusId
        - lastSeenAt
        - accountMediaLikes
        - postLikes
        - profileAccessFlags
        - profileFlags
        - profileAccess
      description: The FanslyUser.
  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.