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

# Create a post

> Create and optionally schedule one or more posts across platforms.



## OpenAPI

````yaml openapi.json POST /api/v1/posts/create
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/create:
    post:
      tags:
        - Posts
      summary: Create a post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiCreatePost'
      responses:
        '200':
          description: Created post IDs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostCreateResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ApiCreatePost:
      type: object
      properties:
        postDetails:
          $ref: '#/components/schemas/ApiPostDetails'
        isDraft:
          type: boolean
          default: false
          description: Save posts as drafts instead of scheduling directly
          example: false
        autoShiftOnLimit:
          type: boolean
          default: false
          description: >-
            Automatically shift post to next available slot if daily limit
            reached
          example: false
      required:
        - postDetails
    PostCreateResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            ids:
              type: array
              items:
                type: string
              description: Created post IDs
              example:
                - post_new123
            scheduledFor:
              type:
                - string
                - 'null'
              format: date-time
              description: Scheduled time
          required:
            - ids
            - scheduledFor
        success:
          type: boolean
          description: Success status
        error:
          type: string
          description: Error message
        message:
          type: string
          description: Status message
      required:
        - data
        - success
    ApiPostDetails:
      type: object
      properties:
        base:
          $ref: '#/components/schemas/ApiPostBaseConfig'
        channels:
          anyOf:
            - type: object
              additionalProperties:
                $ref: '#/components/schemas/ApiChannelOverride'
            - type: array
              items:
                type: string
                minLength: 1
              minItems: 1
            - type: array
              items:
                $ref: '#/components/schemas/ApiChannelEntry'
              minItems: 1
          description: >-
            Target channels for the post: a map of channel IDs to overrides, an
            array of channel IDs, or an array of { channelId, ...override }
            entries (allowing multiple posts to the same channel in one batch)
          example:
            ch_twitter_123:
              text: Shorter tweet version for X
            ch_linkedin_456:
              title: Professional Announcement
      required:
        - base
        - channels
      description: Post configuration object with shared base content and targeted channels
    ApiPostBaseConfig:
      type: object
      properties:
        text:
          type: string
          description: Shared base post text
          example: Launching our new feature today across all platforms!
        richText:
          type:
            - string
            - 'null'
          description: >-
            Platform-native rich text content. Supports Reddit Snoomark
            Markdown, X Unicode-styled text, Fansly custom markup (**bold**,
            *italic*, ~~strike~~, [s:size], [c:color], [text](url)), and
            OnlyFans <p> m-editor HTML.
          example: >-
            <p>Hello <span
            class="m-editor-fs__l"><strong>world</strong></span></p>
        title:
          type:
            - string
            - 'null'
          description: >-
            Shared base post title (used for platforms requiring titles like
            Reddit or YouTube)
          example: Product Launch Announcement
        firstComment:
          type:
            - string
            - 'null'
          description: First comment scheduled immediately after the post is published
          example: 'Read more details on our blog: https://example.com/blog'
        media:
          type: array
          items:
            type: string
          default: []
          description: Array of uploaded media IDs to attach to the base post
          example:
            - med_abc123
            - med_xyz789
        timestamp:
          type:
            - string
            - 'null'
          format: date-time
          description: Scheduled publish timestamp (ISO 8601 string)
          example: '2026-11-08T15:00:00.000Z'
        shouldPostImmediately:
          type: boolean
          default: true
          description: Publish immediately upon creation instead of scheduling
          example: true
        useNextSlot:
          type: boolean
          default: false
          description: Schedule into the next configured posting slot
          example: false
        isNsfw:
          type: boolean
          default: false
          description: Mark post content as sensitive / NSFW
          example: false
        postType:
          type: string
          enum:
            - singleImage
            - singleVideo
            - short
            - carousel
            - story
            - post
            - link
            - text
            - poll
            - spotlight
            - savedStory
            - reel
            - document
            - article
            - multiImage
            - thread
          description: Specific post format
          example: post
        assignedApprovers:
          type: array
          items:
            type: string
          description: User IDs assigned to approve this post before publication
          example:
            - usr_approver123
        requireAllApprovers:
          type: boolean
          default: false
          description: Whether all assigned approvers must approve before publication
          example: false
        generateShortLink:
          type: boolean
          default: false
          description: Generate a trackable Dub.co short link for post links
          example: false
        thread:
          type: array
          items:
            $ref: '#/components/schemas/ApiThreadItem'
          description: >-
            Multi-post thread sequence for platforms supporting threads (e.g. X,
            Bluesky, Threads)
        poll:
          $ref: '#/components/schemas/ApiPoll'
        other:
          $ref: '#/components/schemas/OtherPlatformSettings'
      description: >-
        Base shared post configuration applied to all targeted channels unless
        overridden
    ApiChannelOverride:
      type: object
      properties:
        text:
          type: string
          description: Channel-specific override for post text
          example: Custom caption tailored specifically for this channel
        richText:
          type:
            - string
            - 'null'
          description: >-
            Channel-specific platform-native rich text override (Reddit Snoomark
            Markdown, X Unicode-styled text, Fansly markup, or OnlyFans <p>
            m-editor HTML)
        title:
          type:
            - string
            - 'null'
          description: Channel-specific override for post title
          example: Custom Title for this Channel
        firstComment:
          type:
            - string
            - 'null'
          description: Channel-specific override for first comment
          example: Drop a comment below!
        media:
          type: array
          items:
            type: string
          description: Channel-specific override for media asset IDs
          example:
            - med_override123
        timestamp:
          type:
            - string
            - 'null'
          format: date-time
          description: Channel-specific scheduled time override (ISO 8601 string)
          example: '2026-11-08T16:00:00.000Z'
        postType:
          type: string
          enum:
            - singleImage
            - singleVideo
            - short
            - carousel
            - story
            - post
            - link
            - text
            - poll
            - spotlight
            - savedStory
            - reel
            - document
            - article
            - multiImage
            - thread
          description: Channel-specific override for post type
          example: reel
        poll:
          allOf:
            - $ref: '#/components/schemas/ApiPoll'
            - description: Channel-specific interactive poll override
        other:
          allOf:
            - $ref: '#/components/schemas/OtherPlatformSettings'
            - description: >-
                Platform-specific settings keyed by platform name adhering to
                otherZodSchema (e.g. { REDDIT: { subreddit: 'tech' } } or {
                TWITTER: { replySettings: 'everyone' } })
    ApiChannelEntry:
      allOf:
        - $ref: '#/components/schemas/ApiChannelOverride'
        - type: object
          properties:
            channelId:
              type: string
              minLength: 1
              description: >-
                Target channel ID (may repeat to schedule multiple posts to the
                same account)
              example: ch_ig_123
          required:
            - channelId
    ApiThreadItem:
      type: object
      properties:
        text:
          type: string
          description: Thread item body text
          example: Second post in the thread sequence
        richText:
          type:
            - string
            - 'null'
          description: >-
            Platform-native rich text for this thread item (e.g. X
            Unicode-styled text)
        media:
          type: array
          items:
            type: string
          default: []
          description: Media IDs attached to this thread item
          example:
            - med_thread_123
    ApiPoll:
      type: object
      properties:
        options:
          type: array
          items:
            $ref: '#/components/schemas/ApiPollOption'
          minItems: 2
          description: Array of poll choices (at least 2 required)
          example:
            - value: Next.js
            - value: Svelte
        duration:
          $ref: '#/components/schemas/ApiPollDuration'
        isQuiz:
          type:
            - boolean
            - 'null'
          description: Whether the poll functions as a quiz with a correct answer
          example: false
        correctIndex:
          type:
            - number
            - 'null'
          description: 0-based index of the correct answer when isQuiz is true
          example: 0
        status:
          type: string
          enum:
            - ongoing
            - closed
          description: Poll voting status
          example: ongoing
      required:
        - options
        - duration
      description: >-
        Interactive poll configuration for supported platforms (e.g. X,
        LinkedIn, Reddit, Mastodon)
    OtherPlatformSettings:
      type: object
      properties:
        poll:
          type:
            - object
            - 'null'
          properties:
            options:
              type: array
              items:
                type: object
                properties:
                  value:
                    type: string
                  votes:
                    type: number
                required:
                  - value
            duration:
              type: object
              properties:
                days:
                  type: number
                hours:
                  type: number
                minutes:
                  type: number
              required:
                - days
                - hours
                - minutes
            isQuiz:
              type:
                - boolean
                - 'null'
            correctIndex:
              type:
                - number
                - 'null'
            status:
              type: string
              enum:
                - ongoing
                - closed
          required:
            - options
            - duration
        TWITTER:
          type: object
          properties:
            audienceSettings:
              type: string
              enum:
                - public
                - subscribers
              description: Audience setting
              example: public
            replySettings:
              type: string
              enum:
                - everyone
                - peopleYouFollow
                - onlyYourSubscribers
                - onlyPeopleYouMention
              description: Reply setting
              example: public
        REDDIT:
          type: object
          properties:
            subreddit:
              type: string
            subreddits:
              type: array
              items:
                $ref: '#/components/schemas/SubredditConfig'
            subredditType:
              type: string
            spoiler:
              type: boolean
            postWithRedgifsLink:
              type: boolean
            redgifsChannelId:
              type: string
            withAlias:
              type: boolean
            aliasLinks:
              type: array
              items:
                type: string
            over18:
              type: boolean
            pinned:
              type: boolean
            redgifsLink:
              type: string
        TIKTOK:
          type: object
          properties:
            allowDuet:
              type: boolean
              default: true
            allowStitch:
              type: boolean
              default: true
            allowComments:
              type: boolean
              default: true
            isDirectPost:
              type: boolean
              default: true
            isAigc:
              type: boolean
            brandOrganicToggle:
              type: boolean
            brandContentToggle:
              type: boolean
            coverTimestampMs:
              type: number
            audienceSettings:
              type: string
              enum:
                - PUBLIC_TO_EVERYONE
                - MUTUAL_FOLLOW_FRIENDS
                - FOLLOWER_OF_CREATOR
                - SELF_ONLY
              description: Audience setting
              example: public
        YOUTUBE:
          type: object
          properties:
            category:
              type: string
            madeForKids:
              type: boolean
            notifySubscribers:
              type: boolean
            visibility:
              type: string
              enum:
                - public
                - unlisted
                - private
            tags:
              type: array
              items:
                type: string
            containsSyntheticMedia:
              type: boolean
            contentDisclosure:
              type: array
              items:
                type: string
        FANSLY:
          type: object
          properties:
            subscriptionTier:
              type: string
            postToWalls:
              type: array
              items:
                type: string
              default:
                - '796637565280067585'
            pinToWalls:
              type: array
              items:
                type: string
            permissionPresetId:
              type: string
            postToFyp:
              type: boolean
            tipgoal:
              type:
                - string
                - 'null'
            media:
              type: array
              items:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        source:
                          type: string
                          enum:
                            - POSTTU
                            - FANSLY
                            - ONLYFANS
                            - FANVUE
                        previewId:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Preview id of the media, leave blank if not
                            applicable
                        coverId:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Cover id of the media for videos, leave blank if not
                            applicable
                        sourceChannelId:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Source channel id of the media, leave blank if
                            source is posttu
                        isPreview:
                          type:
                            - boolean
                            - 'null'
                          description: Is preview image
                        isCover:
                          type:
                            - boolean
                            - 'null'
                          description: Is cover image
                      required:
                        - id
                        - source
                      description: Array of media
                  order:
                    type: number
                    description: >-
                      Order of the media bundle in the message. The API requires
                      a value; it is filled from the array index when omitted.
                    example: 1
                  permissions:
                    anyOf:
                      - 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
                      - type: array
                        items:
                          anyOf:
                            - type: object
                              properties:
                                price:
                                  type: number
                                  minimum: 5
                                  default: 5
                                  description: >-
                                    The price to purchase the locked text.
                                    Default value is 5.
                                validAfter:
                                  type:
                                    - number
                                    - 'null'
                                  default: null
                                  description: >-
                                    Avaliable after this date (unix timestamp in
                                    seconds). Default value is null.
                                validBefore:
                                  type:
                                    - number
                                    - 'null'
                                  default: null
                                  description: >-
                                    Avaliable until this date (unix timestamp in
                                    seconds). Default value is null.
                                list:
                                  type: object
                                  properties:
                                    id:
                                      type: string
                                      description: The id of the list.
                                    label:
                                      type: string
                                      description: The name of the list.
                                  required:
                                    - id
                                    - label
                                subscription:
                                  type: object
                                  properties:
                                    id:
                                      type: string
                                      default: ''
                                      description: >-
                                        The id of the subscription level. leave
                                        blank if you want to match any
                                        subscription level defaults to empty
                                        string
                                    name:
                                      type: string
                                      default: ''
                                      description: >-
                                        The name of the subscription level.
                                        leave blank if you want to match any
                                        subscription name defaults to empty
                                        string
                                    before:
                                      type: number
                                      default: 0
                                      description: >-
                                        Limit to users who had an active
                                        subscription before this date. e.g.
                                        1672531200 (unix timestamp in seconds)
                                    after:
                                      type: number
                                      default: 0
                                      description: >-
                                        Limit to users who had an active
                                        subscription after this date. e.g.
                                        1672531200 (unix timestamp in seconds)
                                following:
                                  type: boolean
                                  description: >-
                                    Grant access to users who are following the
                                    account.
                                subscribed:
                                  type: boolean
                                  description: >-
                                    Grant access to users who are subscribed to
                                    the account. cannot be used with
                                    subscription
                              description: >-
                                Used to build media permission for fansly. Can't
                                have both 'subscribed' and 'subscription' in the
                                same object.
                            - type: object
                              additionalProperties:
                                type: object
                                properties:
                                  price:
                                    type: number
                                    minimum: 5
                                    default: 5
                                    description: >-
                                      The price to purchase the locked text.
                                      Default value is 5.
                                  validAfter:
                                    type:
                                      - number
                                      - 'null'
                                    default: null
                                    description: >-
                                      Avaliable after this date (unix timestamp
                                      in seconds). Default value is null.
                                  validBefore:
                                    type:
                                      - number
                                      - 'null'
                                    default: null
                                    description: >-
                                      Avaliable until this date (unix timestamp
                                      in seconds). Default value is null.
                                  list:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        description: The id of the list.
                                      label:
                                        type: string
                                        description: The name of the list.
                                    required:
                                      - id
                                      - label
                                  subscription:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        default: ''
                                        description: >-
                                          The id of the subscription level. leave
                                          blank if you want to match any
                                          subscription level defaults to empty
                                          string
                                      name:
                                        type: string
                                        default: ''
                                        description: >-
                                          The name of the subscription level.
                                          leave blank if you want to match any
                                          subscription name defaults to empty
                                          string
                                      before:
                                        type: number
                                        default: 0
                                        description: >-
                                          Limit to users who had an active
                                          subscription before this date. e.g.
                                          1672531200 (unix timestamp in seconds)
                                      after:
                                        type: number
                                        default: 0
                                        description: >-
                                          Limit to users who had an active
                                          subscription after this date. e.g.
                                          1672531200 (unix timestamp in seconds)
                                  following:
                                    type: boolean
                                    description: >-
                                      Grant access to users who are following
                                      the account.
                                  subscribed:
                                    type: boolean
                                    description: >-
                                      Grant access to users who are subscribed
                                      to the account. cannot be used with
                                      subscription
                                description: >-
                                  Used to build media permission for fansly.
                                  Can't have both 'subscribed' and
                                  'subscription' in the same object.
                required:
                  - items
              description: >-
                Array of media for fansly. Media placed in items will be bundled
                together.
            lockedText:
              type: array
              items:
                type: object
                properties:
                  text:
                    type: string
                  permissions:
                    anyOf:
                      - 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
                      - type: array
                        items:
                          anyOf:
                            - type: object
                              properties:
                                price:
                                  type: number
                                  minimum: 5
                                  default: 5
                                  description: >-
                                    The price to purchase the locked text.
                                    Default value is 5.
                                tipped:
                                  type: number
                                  minimum: 0.5
                                  default: 0.5
                                  description: >-
                                    Limit to users who tipped at least this
                                    amount. Default value is 0.5.
                                following:
                                  type: boolean
                                  description: >-
                                    Grant access to users who are following the
                                    account.
                                subscribed:
                                  type: boolean
                                  description: >-
                                    Grant access to users who are subscribed to
                                    the account. cannot be used with
                                    subscription
                            - type: object
                              additionalProperties:
                                type: object
                                properties:
                                  price:
                                    type: number
                                    minimum: 5
                                    default: 5
                                    description: >-
                                      The price to purchase the locked text.
                                      Default value is 5.
                                  tipped:
                                    type: number
                                    minimum: 0.5
                                    default: 0.5
                                    description: >-
                                      Limit to users who tipped at least this
                                      amount. Default value is 0.5.
                                  following:
                                    type: boolean
                                    description: >-
                                      Grant access to users who are following
                                      the account.
                                  subscribed:
                                    type: boolean
                                    description: >-
                                      Grant access to users who are subscribed
                                      to the account. cannot be used with
                                      subscription
                required:
                  - text
            pollPermissions:
              anyOf:
                - 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
                - type: array
                  items:
                    anyOf:
                      - type: object
                        properties:
                          following:
                            type: boolean
                            description: >-
                              Grant access to users who are following the
                              account.
                          subscribed:
                            type: boolean
                            description: >-
                              Grant access to users who are subscribed to the
                              account. cannot be used with subscription
                      - type: object
                        additionalProperties:
                          type: object
                          properties:
                            following:
                              type: boolean
                              description: >-
                                Grant access to users who are following the
                                account.
                            subscribed:
                              type: boolean
                              description: >-
                                Grant access to users who are subscribed to the
                                account. cannot be used with subscription
            replyPermissions:
              anyOf:
                - 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
                - type: array
                  items:
                    anyOf:
                      - type: object
                        properties:
                          mediaPurchases:
                            type: number
                            minimum: 0.1
                            default: 0.5
                            description: >-
                              Limit to users who purchased at least this amount
                              of media. Default value is 0.5.
                          followedByMe:
                            type: boolean
                            description: Grant access to users who followed you.
                          tipped:
                            type: number
                            minimum: 0.5
                            default: 0.5
                            description: >-
                              Limit to users who tipped at least this amount.
                              Default value is 0.5.
                          following:
                            type: boolean
                            description: >-
                              Grant access to users who are following the
                              account.
                          subscribed:
                            type: boolean
                            description: >-
                              Grant access to users who are subscribed to the
                              account. cannot be used with subscription
                      - type: object
                        additionalProperties:
                          type: object
                          properties:
                            mediaPurchases:
                              type: number
                              minimum: 0.1
                              default: 0.5
                              description: >-
                                Limit to users who purchased at least this
                                amount of media. Default value is 0.5.
                            followedByMe:
                              type: boolean
                              description: Grant access to users who followed you.
                            tipped:
                              type: number
                              minimum: 0.5
                              default: 0.5
                              description: >-
                                Limit to users who tipped at least this amount.
                                Default value is 0.5.
                            following:
                              type: boolean
                              description: >-
                                Grant access to users who are following the
                                account.
                            subscribed:
                              type: boolean
                              description: >-
                                Grant access to users who are subscribed to the
                                account. cannot be used with subscription
            price:
              type: number
              default: 0
            expiration:
              type: number
        ONLYFANS:
          type: object
          properties:
            price:
              type: number
            freeMedia:
              type: array
              items:
                type: string
            expiration:
              type: number
        FANVUE:
          type: object
          properties:
            audience:
              type: string
              enum:
                - subscribers
                - followers-and-subscribers
              default: subscribers
            price:
              type: number
              minimum: 300
            mediaPreviewUuid:
              type: string
            publishAt:
              type: string
            expiresAt:
              type: string
            collectionUuids:
              type: array
              items:
                type: string
        INSTAGRAM:
          type: object
          properties:
            userTags:
              type: array
              items:
                type: object
                properties:
                  username:
                    type: string
                  x:
                    type: number
                  'y':
                    type: number
                required:
                  - username
                  - x
                  - 'y'
            locationId:
              type: string
            shareToFeed:
              type: boolean
            coverTimestampMs:
              type: number
        FACEBOOK:
          type: object
          properties:
            shareToFeed:
              type: boolean
            place:
              type: string
        PINTEREST:
          type: object
          properties:
            boardId:
              type: string
            boardSectionId:
              type: string
            linkTo:
              type: string
            aiDisclosures:
              type: array
              items:
                type: string
                enum:
                  - AI_MODIFIED
                  - SYNTHETIC_PERFORMER
            altText:
              type: string
          required:
            - boardId
        REDGIFS:
          type: object
          properties:
            tags:
              type: array
              items:
                type: string
            private:
              type: boolean
              default: false
            keepAudio:
              type: boolean
              default: false
            linkedRedditPostIds:
              type: array
              items:
                type: string
            aliasLinks:
              type: array
              items:
                type: string
            cut:
              type: object
              properties:
                start:
                  type: number
                end:
                  type: number
              required:
                - start
                - end
          required:
            - tags
        MASTODON:
          type: object
          properties:
            visibility:
              type: string
              enum:
                - public
                - unlisted
                - private
                - direct
              default: public
            sensitive:
              type: boolean
              default: false
            spoilerText:
              type: string
            language:
              type: string
        THREADS:
          type: object
          properties:
            reply_control:
              type: string
              enum:
                - everyone
                - accounts_you_follow
                - mentioned_only
                - parent_post_author_only
                - followers_only
              default: everyone
            allowlisted_country_codes:
              type: array
              items:
                type: string
            alt_text:
              type: string
            link_attachment:
              type: string
            topic_tag:
              type: string
              pattern: ^[^.&]+$
            is_spoiler_media:
              type: boolean
            enable_reply_approvals:
              type: boolean
              default: false
            crossreshare_to_ig:
              type: boolean
              default: false
            crossreshare_to_ig_dark_mode:
              type: boolean
              default: false
            location_id:
              type: string
            is_ghost_post:
              type: boolean
              default: false
        BLUESKY:
          type: object
          properties:
            replySettings:
              type: array
              items:
                oneOf:
                  - type: object
                    properties:
                      $type:
                        type: string
                        enum:
                          - app.bsky.feed.threadgate#mentionRule
                    required:
                      - $type
                  - type: object
                    properties:
                      $type:
                        type: string
                        enum:
                          - app.bsky.feed.threadgate#followingRule
                    required:
                      - $type
                  - type: object
                    properties:
                      $type:
                        type: string
                        enum:
                          - app.bsky.feed.threadgate#followerRule
                    required:
                      - $type
                  - type: object
                    properties:
                      $type:
                        type: string
                        enum:
                          - app.bsky.feed.threadgate#listRule
                      list:
                        type: string
                        format: uri
                    required:
                      - $type
                      - list
              maxItems: 5
            langs:
              type: array
              items:
                type: string
                pattern: >-
                  ^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|\d{3}))?(-([a-zA-Z0-9]{5,8}|\d[a-zA-Z0-9]{3}))*$
              maxItems: 3
              default:
                - en-US
            labels:
              type: array
              items:
                type: string
                maxLength: 128
              maxItems: 10
          required:
            - replySettings
        LINKEDIN:
          type: object
          properties:
            visibility:
              type: string
              enum:
                - PUBLIC
                - CONNECTIONS
              default: PUBLIC
            documentTitle:
              type: string
            pageCount:
              type: number
            postType:
              type: string
              enum:
                - post
                - document
                - poll
                - multiImage
                - singleImage
                - singleVideo
                - article
        GOOGLE_BUSINESS:
          type: object
          properties:
            locations:
              type: array
              items:
                type: string
              default: []
            topicType:
              type: string
              enum:
                - STANDARD
                - EVENT
                - OFFER
              default: STANDARD
            callToAction:
              type: object
              properties:
                actionType:
                  type: string
                  enum:
                    - BOOK
                    - ORDER
                    - SHOP
                    - LEARN_MORE
                    - SIGN_UP
                    - CALL
                url:
                  anyOf:
                    - type: string
                      format: uri
                    - type: string
                      enum:
                        - ''
              required:
                - actionType
            event:
              type: object
              properties:
                title:
                  type: string
                  minLength: 1
                startDate:
                  type: string
                endDate:
                  type: string
              required:
                - title
                - startDate
                - endDate
            offer:
              type: object
              properties:
                couponCode:
                  type: string
                redeemUrl:
                  anyOf:
                    - type: string
                      format: uri
                    - type: string
                      enum:
                        - ''
                terms:
                  type: string
            locationOverrides:
              type: object
              additionalProperties:
                type: object
                properties:
                  summary:
                    type: string
                  callToActionUrl:
                    anyOf:
                      - type: string
                        format: uri
                      - type: string
                        enum:
                          - ''
                  couponCode:
                    type: string
                  redeemUrl:
                    anyOf:
                      - type: string
                        format: uri
                      - type: string
                        enum:
                          - ''
        threadCounter:
          type: object
          properties:
            enabled:
              type: boolean
              default: true
            format:
              type: string
              enum:
                - (1/N)
                - 1/N
                - '[1/N]'
                - 1/
                - 🧵 1/
                - custom
                - none
              default: (1/N)
            placement:
              type: string
              enum:
                - bottom
                - top
                - inline
              default: bottom
            customTemplate:
              type: string
      description: >-
        Platform-specific settings keyed by platform name adhering to
        otherZodSchema (e.g. { REDDIT: { subreddit: 'tech' } }). Applies to all
        targeted channels of that platform unless overridden.
      example:
        REDDIT:
          subreddit: technology
          spoiler: false
    ApiPollOption:
      type: object
      properties:
        value:
          type: string
          minLength: 1
          description: Poll option text
          example: Option A
        votes:
          type: number
          description: Number of votes received
          example: 0
      required:
        - value
    ApiPollDuration:
      type: object
      properties:
        days:
          type: number
          minimum: 0
          description: Duration days
          example: 1
        hours:
          type: number
          minimum: 0
          maximum: 23
          description: Duration hours
          example: 0
        minutes:
          type: number
          minimum: 0
          maximum: 59
          description: Duration minutes
          example: 0
      required:
        - days
        - hours
        - minutes
      description: Duration the poll remains open for voting
      example:
        days: 1
        hours: 0
        minutes: 0
    SubredditConfig:
      type: object
      properties:
        name:
          type: string
          description: Subreddit display name without r/
        title:
          type: string
          description: Per-subreddit title override
        link:
          type: string
          description: Per-subreddit link override for link posts
        flairId:
          type: string
          description: Reddit post flair template ID
        flairText:
          type: string
          description: Reddit post flair display text
        flairTextColor:
          type: string
          enum:
            - light
            - dark
        flairBackgroundColor:
          type: string
      required:
        - name
  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.