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

# Tools automations

> Tools automations via Posttu's Fanvue REST API (POST /api/v1/fanvue/automations) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/fanvue/automations
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/fanvue/automations:
    post:
      tags:
        - Fanvue
      summary: Tools automations
      description: |-
        Tools automations
        Requires API key scope: `fanvue:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FanvueApiBaseInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FanvueToolsAutomationsResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    FanvueApiBaseInput:
      type: object
      properties:
        channelId:
          type: string
          description: Fanvue channel ID
          example: ch_fanvue123
      required:
        - channelId
    FanvueToolsAutomationsResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/FanvueListAutomatedMessagesResponse'
      required:
        - success
        - data
    FanvueListAutomatedMessagesResponse:
      type:
        - object
        - 'null'
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              trigger:
                type: string
                enum:
                  - new_subscriber
                  - new_follower
                  - subscription_canceled
                  - re_subscribed
                  - renewed
                  - new_purchase
                  - first_message_reply
              enabled:
                type: boolean
              text:
                type:
                  - string
                  - 'null'
              price:
                type:
                  - number
                  - 'null'
              mediaUuids:
                type: array
                items:
                  type: string
              mediaPreviewUuid:
                type:
                  - string
                  - 'null'
              updatedAt:
                type:
                  - string
                  - 'null'
            required:
              - trigger
              - enabled
              - text
              - price
              - mediaUuids
              - mediaPreviewUuid
              - updatedAt
      required:
        - data
      description: The FanvueListAutomatedMessagesResponse.
  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.