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

# Block an OnlyFans fan

> Blocks a fan and returns the resulting blocked fans list via Posttu's OnlyFans REST API (POST /api/v1/onlyfans/fans/block) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/onlyfans/fans/block
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/onlyfans/fans/block:
    post:
      tags:
        - OnlyFans
      summary: Block an OnlyFans fan
      description: |-
        Blocks a fan and returns the resulting blocked fans list.
        Requires API key scope: `onlyfans:write`.
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/OnlyfansBaseInput'
                - type: object
                  properties:
                    limit:
                      type: number
                      default: 25
                    offset:
                      type: number
                      default: 0
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnlyfansFansBlockResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    OnlyfansBaseInput:
      type: object
      properties:
        channelId:
          type: string
          description: OnlyFans channel ID
          example: ch_of123
      required:
        - channelId
    OnlyfansFansBlockResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/OnlyfansUserList'
      required:
        - success
        - data
    OnlyfansUserList:
      type:
        - object
        - 'null'
      properties:
        hasMore:
          type: boolean
        list:
          type: array
          items:
            $ref: '#/components/schemas/OnlyfansUser'
      required:
        - hasMore
        - list
      description: The OnlyfansUserList.
    OnlyfansUser:
      type: object
      properties:
        id:
          type: number
        username:
          type: string
        name:
          type: string
        displayName:
          type: string
        about:
          type:
            - string
            - 'null'
        avatar:
          type:
            - string
            - 'null'
        avatarThumbs:
          type:
            - object
            - 'null'
          properties:
            c50:
              type: string
            c144:
              type: string
          required:
            - c50
            - c144
        header:
          type:
            - string
            - 'null'
        headerThumbs:
          type:
            - object
            - 'null'
          properties:
            w480:
              type: string
            w760:
              type: string
          required:
            - w480
            - w760
        isVerified:
          type: boolean
        subscribePrice:
          type: number
        currentSubscribePrice:
          type:
            - number
            - 'null'
        subscribersCount:
          type:
            - number
            - 'null'
        photosCount:
          type: number
        videosCount:
          type: number
        audiosCount:
          type: number
        archivedPostsCount:
          type: number
        postsCount:
          type: number
        mediasCount:
          type: number
        favoritesCount:
          type: number
        favoritedCount:
          type: number
        lastSeen:
          type:
            - string
            - 'null'
        joinDate:
          type: string
        location:
          type:
            - string
            - 'null'
        website:
          type:
            - string
            - 'null'
        wishlist:
          type:
            - string
            - 'null'
        isBlocked:
          type: boolean
        isRestricted:
          type: boolean
        isFriend:
          type: boolean
        subscribedBy:
          type: boolean
        subscribedOn:
          type: boolean
        lists:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              type:
                type: string
              name:
                type: string
              hasUser:
                type: boolean
              canAddUser:
                type: boolean
              cannotAddUserReason:
                type:
                  - string
                  - 'null'
            required:
              - id
              - type
              - name
              - hasUser
              - canAddUser
              - cannotAddUserReason
      required:
        - id
        - username
        - name
        - avatar
        - isVerified
      additionalProperties: {}
  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.