> ## Documentation Index
> Fetch the complete documentation index at: https://docs.followr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List posts

> Lists posts across all your companies, paginated. Narrow it with `filter[group.company_id]`, `filter[social_network_type]` or `filter[status]`. Posts don't carry their group ID: add `include=group`.

Roles: any member.




## OpenAPI

````yaml /api-reference/openapi.json get /posts
openapi: 3.1.0
info:
  title: Followr API
  version: 1.0.0
  summary: Publish, schedule and create social media content programmatically.
  description: >
    The Followr REST API gives your code the same engine as the Followr app:
    brands, social accounts, posts and scheduling, the media library, AI
    generation, music and the social inbox.


    Send every request over HTTPS to `https://api.followr.ai/api`, with an API
    key as a Bearer token. Bodies are JSON.
  contact:
    name: Followr Support
    email: hello@followr.ai
    url: https://followr.ai
  termsOfService: https://followr.ai/terms
servers:
  - url: https://api.followr.ai/api
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Users
    description: |
      The person behind an API key. Use `me` as the ID for the key's user.
  - name: Companies
    description: >
      Brands or client workspaces. Each uses the plan of the account that
      created it (`user_id`).
  - name: Team
    description: |
      Company members and their roles: invite, change roles, remove.
  - name: Brand style
    description: >
      How a company's AI pictures look, and the default brand sound for AI
      videos.
  - name: API keys
    description: |
      REST API keys, MCP keys and app sign-ins.
  - name: Social accounts
    description: >
      A social account is a profile, Page or channel a company has connected,
      such as an Instagram professional account or a LinkedIn page. A company
      has at most one per network. Most networks connect by browser sign-in in
      the Followr app; Bluesky and Medium can also connect through this API.
  - name: Pinterest
    description: >
      Every pin is published to a board. List or create boards here, then set
      the board ID on the Pinterest post.
  - name: YouTube
    description: >
      Video categories and playlists of a connected YouTube channel, for YouTube
      posts.
  - name: Canva
    description: >
      Canva connects like a social account (browser sign-in in the app) but
      doesn't publish. List the connected user's designs and export them as
      files for your posts.
  - name: Post groups
    description: >
      One piece of content and its schedule, with one post per network. The
      group decides when; each post decides what.
  - name: Posts
    description: >
      What goes out on one network (text, media, settings) and its publishing
      status.
  - name: Scheduling
    description: |
      Posting-time suggestions from the company's own results.
  - name: Queues
    description: >
      Weekly time slots that publish waiting post groups (Auto-Listing in the
      app). In paths, a queue is a `ruleGroup` and a slot is a `rule`.
  - name: Tags
    description: >
      Labels for post groups. They also decide which queue takes a waiting
      group.
  - name: Assets
    description: >
      An asset is one item in a company's media library: a picture, a video or a
      text. Its picture or video is an attached file (see **Files**). Posts list
      asset IDs in `assets_ids`.
  - name: Folders
    description: >
      Folders organize a company's media library and can be nested. Each asset
      is in one folder at most, or at the top level.
  - name: Files
    description: >
      Upload a picture, video or audio file to an asset, post cover, company
      logo, profile picture, avatar or voice sample. Leave `url` out and `PUT`
      the bytes to the returned `presigned_url` within 10 minutes, or send a
      public `url` for the server to download. No multipart. Full details: `POST
      /assets/{id}/image`.
  - name: Avatars
    description: >
      An avatar is a person shown in your company's videos: a name, a picture, a
      voice and optional scene pictures (the same person in other settings). One
      avatar per company can be the default.
  - name: Voices
    description: >
      A voice is what your company's videos and audio speak with. It points to a
      stock library voice through `platform_external_id` and can hold a sample
      recording. Saving one spends no credits.
  - name: AI generation
    description: >
      Generate text, images, videos and speech. Every generation is an AI
      result. Long ones answer at once with a `pending` result that you poll.
  - name: AI copywriting
    description: >
      Post copy, titles and thread splits for a social network, in the company's
      brand voice.
  - name: AI result groups
    description: >
      Related AI results: a chat conversation, a Creative Studio design or a
      video project.
  - name: Prompts
    description: |
      Saved prompt templates for text or image generation, per social network.
  - name: Video
    description: >
      Video engines and their prices, and video projects: avatar videos and
      short videos the server makes scene by scene, with captions, transitions
      and music.
  - name: Creative Studio
    description: >
      Social media graphics (single creatives, quote cards, carousels and more),
      planned slide by slide from a style preset and drawn as images.
  - name: Music
    description: >
      The catalog and two writing helpers (lyrics, style suggestions). Making
      music needs a plan that includes Music.
  - name: Music styles
    description: |
      A company's saved sounds, reused so its tracks sound like one artist.
  - name: Music tracks
    description: |
      AI songs and instrumentals: generate, poll, master, download.
  - name: Music releases
    description: >
      Singles, EPs and albums with store metadata, a cover, readiness checks and
      a ZIP kit you upload to a distributor yourself.
  - name: Conversations
    description: >
      Direct-message threads between your connected Facebook pages or Instagram
      accounts and people. Only the person can start one.
  - name: Messages
    description: |
      The messages in a conversation: read, reply or remove them.
  - name: Comments
    description: >-
      Comments on your Facebook and Instagram posts, and your team's public
      replies.
  - name: Contacts
    description: >
      People who messaged one of your accounts or commented on its posts, per
      company and network.
  - name: Internal notes
    description: >
      Notes your team and clients leave on a post group, post or library asset,
      for example to approve it. Never published.
  - name: Research
    description: |
      Current news to write about, from Followr's news provider.
  - name: Plan and usage
    description: |
      Plan allowances, usage, and the caps owners set for companies and members.
  - name: Billing
    description: |
      The key's user's invoices, past and upcoming.
  - name: Webhooks
    description: >
      Requests Followr sends to your server when a post is published or fails.
      See the webhooks guide for setup and verification.
paths:
  /posts:
    get:
      tags:
        - Posts
      summary: List posts
      description: >
        Lists posts across all your companies, paginated. Narrow it with
        `filter[group.company_id]`, `filter[social_network_type]` or
        `filter[status]`. Posts don't carry their group ID: add `include=group`.


        Roles: any member.
      operationId: listPosts
      parameters:
        - name: filter[group.company_id]
          in: query
          required: false
          description: Only posts of these companies (comma-separated IDs).
          schema:
            type: string
          example: '1287'
        - $ref: '#/components/parameters/PostFilterTitle'
        - $ref: '#/components/parameters/PostFilterDescription'
        - $ref: '#/components/parameters/PostFilterUserId'
        - $ref: '#/components/parameters/PostFilterNetwork'
        - $ref: '#/components/parameters/PostFilterExternalId'
        - $ref: '#/components/parameters/PostFilterLink'
        - $ref: '#/components/parameters/PostFilterStatus'
        - $ref: '#/components/parameters/PostListInclude'
        - $ref: '#/components/parameters/PostSort'
        - $ref: '#/components/parameters/PageNumber'
        - $ref: '#/components/parameters/PageSize'
      responses:
        '200':
          description: The posts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostPage'
              example:
                data:
                  - id: 240551
                    social_network_type: instagram
                    title: null
                    description: >-
                      Our second shop opens downtown on December 15. The first
                      100 guests get a free cup.
                    status: published
                    status_message: null
                    external_id: '17912345678901234'
                    link: null
                    preferences:
                      media_product_type: FEED
                    comments_to_create:
                      - Find us at 12 Harbor Street.
                    created_at: '2026-12-01T14:05:42.000000Z'
                    updated_at: '2026-12-15T09:30:41.000000Z'
                    published_at: '2026-12-15T09:30:41.000000Z'
                links:
                  first: https://api.followr.ai/api/posts?page%5Bnumber%5D=1
                  last: https://api.followr.ai/api/posts?page%5Bnumber%5D=1
                  prev: null
                  next: null
                meta:
                  current_page: 1
                  from: 1
                  last_page: 1
                  links:
                    - url: null
                      label: '&laquo; Previous'
                      active: false
                    - url: https://api.followr.ai/api/posts?page%5Bnumber%5D=1
                      label: '1'
                      active: true
                    - url: null
                      label: Next &raquo;
                      active: false
                  path: https://api.followr.ai/api/posts
                  per_page: 30
                  to: 1
                  total: 1
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    PostFilterTitle:
      name: filter[title]
      in: query
      required: false
      description: Title contains this text (case-insensitive).
      schema:
        type: string
      example: downtown
    PostFilterDescription:
      name: filter[description]
      in: query
      required: false
      description: Text contains this (case-insensitive).
      schema:
        type: string
      example: free cup
    PostFilterUserId:
      name: filter[user_id]
      in: query
      required: false
      description: Only posts created by these users (comma-separated IDs).
      schema:
        type: string
      example: '5521'
    PostFilterNetwork:
      name: filter[social_network_type]
      in: query
      required: false
      description: Only posts for these networks (comma-separated).
      schema:
        type: string
      example: instagram
    PostFilterExternalId:
      name: filter[external_id]
      in: query
      required: false
      description: Posts with this network ID (exact match, comma-separated).
      schema:
        type: string
      example: '17912345678901234'
    PostFilterLink:
      name: filter[link]
      in: query
      required: false
      description: '`link` contains this text (case-insensitive).'
      schema:
        type: string
      example: northside.example
    PostFilterStatus:
      name: filter[status]
      in: query
      required: false
      description: >
        Status contains this text, so send a full status: `publish` matches
        `publishing` and `published`. Comma-separated values match any of them.
      schema:
        type: string
      example: error
    PostListInclude:
      name: include
      in: query
      required: false
      description: >
        Comma-separated relations: `user`, `user.image`, `user.image.thumbnail`,
        `group`, `assets`, `assets.image`, `assets.image.thumbnail`,
        `assets.images`, `assets.images.thumbnail`, `assets.video`,
        `assets.video.thumbnail`, `cover`, `cover.thumbnail`,
        `internalComments`, `internalComments.user`,
        `internalComments.user.image`, `internalComments.user.image.thumbnail`.
      schema:
        type: string
      example: group,assets.image
    PostSort:
      name: sort
      in: query
      required: false
      description: >
        `id`, `title`, `status`, `created_at` or `published_at`,
        comma-separated; prefix `-` for descending. Without it, order isn't
        guaranteed.
      schema:
        type: string
      example: '-published_at'
    PageNumber:
      name: page[number]
      in: query
      required: false
      description: The page to return, starting at 1.
      schema:
        type: integer
        minimum: 1
        default: 1
      example: 1
    PageSize:
      name: page[size]
      in: query
      required: false
      description: |
        Items per page. Maximum 30; larger values become 30.
      schema:
        type: integer
        minimum: 1
        maximum: 30
        default: 30
      example: 30
  schemas:
    PostPage:
      type: object
      description: A page of posts.
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Post'
        links:
          $ref: '#/components/schemas/PaginationLinks'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    Post:
      type: object
      description: >
        What goes out on one network, and how it went. Once live, `external_id`
        gives the public URL:

        - X: `https://x.com/i/web/status/{external_id}`

        - LinkedIn: `https://www.linkedin.com/feed/update/{external_id}/` (a URN
        such as `urn:li:share:7401234567890123456`)

        - YouTube: `https://www.youtube.com/watch?v={external_id}`

        - Pinterest: `https://www.pinterest.com/pin/{external_id}/`

        - Medium: `https://medium.com/p/{external_id}`

        - Facebook: feed posts with text or images store `{page_id}_{post_id}`
        (`https://www.facebook.com/{page_id}/posts/{post_id}`); videos, reels
        and stories store the video or photo ID.

        - Bluesky: the post's `at://` URI.

        - Instagram and Threads: the ID doesn't map to a public URL.

        - TikTok: the publish ID, not the video ID.
      properties:
        id:
          type: integer
          description: The post's ID.
          example: 240551
        social_network_type:
          $ref: '#/components/schemas/SocialNetworkType'
        title:
          type:
            - string
            - 'null'
          maxLength: 255
          description: >-
            The title, on networks that have one (YouTube, Pinterest, Medium,
            TikTok photo posts, Facebook reels).
          example: null
        description:
          type:
            - string
            - 'null'
          description: The text (caption, description or article body).
          example: >-
            Our second shop opens downtown on December 15. The first 100 guests
            get a free cup.
        status:
          $ref: '#/components/schemas/PostStatus'
        status_message:
          $ref: '#/components/schemas/PostStatusMessage'
        external_id:
          type:
            - string
            - 'null'
          description: >-
            The network's ID for the live post. A post with an `external_id`
            never publishes again.
          example: '17912345678901234'
        link:
          type:
            - string
            - 'null'
          description: Pinterest destination link or Bluesky link card.
          example: null
        preferences:
          oneOf:
            - $ref: '#/components/schemas/PostPreferences'
            - type: 'null'
        comments_to_create:
          type:
            - array
            - 'null'
          description: >-
            Comments posted under the post once live (Facebook and Instagram
            only).
          items:
            type: string
          example:
            - Find us at 12 Harbor Street.
        created_at:
          type: string
          format: date-time
          description: When the post was created.
          example: '2026-12-01T14:05:42.000000Z'
        updated_at:
          type: string
          format: date-time
          description: When the post last changed (status included).
          example: '2026-12-15T09:30:41.000000Z'
        published_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When Followr saw the post go live.
          example: '2026-12-15T09:30:41.000000Z'
        group:
          $ref: '#/components/schemas/PostGroupSummary'
          description: The post group. Only with `include=group`.
        user:
          $ref: '#/components/schemas/User'
          description: Who created the post. Only with `include=user`.
        cover:
          description: >-
            Cover image (video thumbnail on Instagram, YouTube, Pinterest), or
            `null`. Only with `include=cover` (lists) or `include=posts.cover`
            (post groups).
          oneOf:
            - $ref: '#/components/schemas/File'
            - type: 'null'
        assets:
          type: array
          description: >-
            Media, in publishing order. Only with `include=assets` (add
            `.image`, `.images` or `.video` for files).
          items:
            $ref: '#/components/schemas/AssetSummary'
        internalComments:
          type: array
          description: Team notes. Only with `include=internalComments`.
          items:
            $ref: '#/components/schemas/InternalComment'
    PaginationLinks:
      type: object
      description: >-
        Links to other pages of the same list, with the same filters. `null`
        when there's no such page.
      properties:
        first:
          type:
            - string
            - 'null'
          format: uri
          example: >-
            https://api.followr.ai/api/companies/1287/postGroups?page%5Bnumber%5D=1
        last:
          type:
            - string
            - 'null'
          format: uri
          example: >-
            https://api.followr.ai/api/companies/1287/postGroups?page%5Bnumber%5D=4
        prev:
          type:
            - string
            - 'null'
          format: uri
          example: null
        next:
          type:
            - string
            - 'null'
          format: uri
          example: >-
            https://api.followr.ai/api/companies/1287/postGroups?page%5Bnumber%5D=2
    PaginationMeta:
      type: object
      description: Where this page sits in the whole list.
      properties:
        current_page:
          type: integer
          example: 1
        from:
          type:
            - integer
            - 'null'
          description: >-
            Position of this page's first item in the whole list; `null` for an
            empty page.
          example: 1
        last_page:
          type: integer
          example: 4
        links:
          type: array
          description: Numbered page links, for rendering a pager.
          items:
            type: object
            properties:
              url:
                type:
                  - string
                  - 'null'
                format: uri
              label:
                type: string
              active:
                type: boolean
          example:
            - url: null
              label: '&laquo; Previous'
              active: false
            - url: >-
                https://api.followr.ai/api/companies/1287/postGroups?page%5Bnumber%5D=1
              label: '1'
              active: true
            - url: >-
                https://api.followr.ai/api/companies/1287/postGroups?page%5Bnumber%5D=2
              label: Next &raquo;
              active: false
        path:
          type: string
          format: uri
          example: https://api.followr.ai/api/companies/1287/postGroups
        per_page:
          type: integer
          example: 30
        to:
          type:
            - integer
            - 'null'
          description: >-
            Position of this page's last item in the whole list; `null` for an
            empty page.
          example: 30
        total:
          type: integer
          description: The number of items in the whole list.
          example: 112
    Error:
      type: object
      description: The body of every error response except validation errors.
      required:
        - message
      properties:
        message:
          type: string
          description: A human-readable explanation. Don't parse it; it may change.
          example: This action is unauthorized.
    SocialNetworkType:
      type: string
      description: >
        A social network. Posts can go to every value except `canva` (a source
        of designs) and `discord` (not supported for publishing).
      enum:
        - facebook
        - instagram
        - threads
        - twitter
        - linkedin
        - tiktok
        - youtube
        - pinterest
        - bluesky
        - discord
        - medium
        - canva
      example: instagram
    PostStatus:
      type: string
      description: >
        - `pending`: waiting (draft, scheduled, queued, or reset after an
        error).

        - `publishing`: being sent now.

        - `published`: live; `external_id` and `published_at` are set.

        - `error`: didn't go out; `status_message` says why.


        `pending` becomes `publishing` when the group's `publish_at` passes
        (`auto_publish` on, `draft` off) or when you publish now. An `error`
        post goes back to `pending` when you move the group's `publish_at` to
        now or later or set `status: "pending"`, or straight to `publishing`
        when you publish now.
      enum:
        - pending
        - publishing
        - published
        - error
      example: published
    PostStatusMessage:
      description: >
        Why a post is in `error` and what to do, as a sentence you can show. If
        it says the post may be live already, check the network before retrying.
        For bulk imports it can be an object listing media links that failed
        (kept after publishing). Otherwise `null`.
      oneOf:
        - type: string
        - type: object
          properties:
            media_fetch_failures:
              type: array
              description: Bulk import media links that failed to download.
              items:
                type: string
                format: uri
        - type: 'null'
      example: null
    PostPreferences:
      type: object
      description: |
        Per-network settings. Each network reads only its own keys.
      properties:
        media_product_type:
          type: string
          enum:
            - FEED
            - STORY
            - REEL
            - SHORT
          description: >
            Facebook and Instagram format: `FEED` (default), `STORY` or `REEL`.
            YouTube accepts `SHORT` and `FEED` and uploads both the same way.
          example: FEED
        board_id:
          type:
            - integer
            - string
            - 'null'
          description: >-
            Pinterest board ID. Send it as a string of digits so long IDs stay
            exact.
          example: '549755885175'
        notify_followers:
          type: boolean
          description: Medium. Notify your followers. Default `false`.
          example: false
        privacy_level:
          type: string
          description: >
            TikTok: `PUBLIC_TO_EVERYONE` (default), `MUTUAL_FOLLOW_FRIENDS`,
            `FOLLOWER_OF_CREATOR` or `SELF_ONLY`. YouTube: `public` (default),
            `unlisted` or `private`.
          enum:
            - PUBLIC_TO_EVERYONE
            - MUTUAL_FOLLOW_FRIENDS
            - FOLLOWER_OF_CREATOR
            - SELF_ONLY
            - public
            - unlisted
            - private
          example: PUBLIC_TO_EVERYONE
        disable_duet:
          type: boolean
          description: TikTok videos. Turns duets off. Default `false`.
          example: false
        disable_comment:
          type: boolean
          description: TikTok. Turns comments off. Default `false`.
          example: false
        disable_stitch:
          type: boolean
          description: TikTok videos. Turns stitches off. Default `false`.
          example: false
        brand_content_toggle:
          type: boolean
          description: TikTok. Marks the post as paid partnership content. Default `false`.
          example: false
        brand_organic_toggle:
          type: boolean
          description: TikTok. Marks the post as promoting your own brand. Default `true`.
          example: true
        video_cover_timestamp_ms:
          type: integer
          description: >-
            Instagram and TikTok videos. Cover frame, in milliseconds, used when
            the post has no cover image.
          example: 1500
        category_id:
          type: string
          description: YouTube category ID, for example `22` (People and Blogs).
          example: '22'
        playlist_id:
          type: string
          description: >-
            YouTube playlist to add the video to. A failure here doesn't fail
            the post.
          example: PLx0sYbCqOb8TBPRdmBHs5Iftvv9TPboYG
        tags:
          type: array
          description: YouTube video tags.
          items:
            type: string
          example:
            - coffee
            - opening
        bluesky_cid:
          type: string
          description: >-
            Bluesky. Set by Followr when the post goes live (chains thread
            replies). Read-only.
          example: bafyreibx6j4xvw6vq3e5m2l7d5h3yq2w4kq5ixz5h3l3hnq7l2ffm4ysxu
    PostGroupSummary:
      type: object
      description: >-
        One piece of content and its schedule, with one post per network
        (several for an X, Threads or Bluesky thread).


        | `draft` | `auto_publish` | `publish_at` | What happens |

        |---|---|---|---|

        | `true` | any | any | Draft: nothing goes out on its own. |

        | `false` | `true` | a time | Scheduled: pending posts go out within
        about a minute of `publish_at` (a past time means now). |

        | `false` | `true` | `null` | Queued: a matching queue's next free slot
        sets `publish_at`. |

        | `false` | `false` | any | Manual: publish with `POST
        /postGroups/{id}/publish`. Publishing now leaves groups in this state. |


        A new group defaults to `draft: false` and `auto_publish: true`.


        Related resources inside it are shown in brief.
      properties:
        id:
          type: integer
          description: The post group's ID.
          example: 88412
        title:
          type:
            - string
            - 'null'
          maxLength: 255
          description: >-
            Internal name, shown in the app and in notification emails. Never
            published.
          example: December launch
        topic:
          type:
            - string
            - 'null'
          description: >
            A summary (about 15 words) of the longest post text, written
            automatically soon after text is added or changed. Read-only.
          example: >-
            A second shop opens downtown on December 15, with a free cup for the
            first 100 guests.
        draft:
          type:
            - boolean
            - 'null'
          description: >
            `true` keeps the group from going out on its own. `null` in a create
            response if not sent (stored as `false`).
          example: false
        auto_publish:
          type:
            - boolean
            - 'null'
          description: >
            `true` lets the group go out on its own, at `publish_at` or a queue
            slot. `null` in a create response if not sent (stored as `true`).
          example: true
        created_at:
          type: string
          format: date-time
          description: When the group was created.
          example: '2026-12-01T14:03:11.000000Z'
        updated_at:
          type: string
          format: date-time
          description: When the group last changed.
          example: '2026-12-01T14:20:05.000000Z'
        publish_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >
            When the group goes or went out. `null` while queued. Publishing now
            sets it to that moment.
          example: '2026-12-15T09:30:00.000000Z'
        user:
          $ref: '#/components/schemas/User'
          description: Who created the group. Only with `include=user`.
        company:
          $ref: '#/components/schemas/Company'
          description: The company. Only with `include=company`.
        ruleGroup:
          description: >-
            The queue that set the group's time, or `null`. Only with
            `include=ruleGroup`.
          oneOf:
            - type: object
              title: RuleGroup
            - type: 'null'
        posts:
          type: array
          description: >-
            One post per network (several for a thread). Only with
            `include=posts`.
          items:
            type: object
            title: Post
        tags:
          type: array
          description: The group's tags. Only with `include=tags`.
          items:
            type: object
            title: Tag
        internalComments:
          type: array
          description: Team notes. Only with `include=internalComments` (list endpoints).
          items:
            $ref: '#/components/schemas/InternalComment'
        assistant:
          description: >-
            The AI assistant that created the group via MCP, or `null`. Only
            with `include=assistant`.
          oneOf:
            - $ref: '#/components/schemas/PostGroupAssistant'
            - type: 'null'
    User:
      type: object
      description: >
        A person with a Followr account. Related data appears only with
        `include`.
      properties:
        id:
          type: integer
          description: The user's ID.
          example: 5521
        name:
          type:
            - string
            - 'null'
          description: Full name.
          example: Alex Rivera
        email:
          type: string
          format: email
          description: Sign-in email.
          example: alex@northside.example
        referral_code:
          type:
            - string
            - 'null'
          description: Code for referring others.
          example: K7P2QX
        language:
          description: App and email language.
          oneOf:
            - $ref: '#/components/schemas/AccountLanguage'
            - type: 'null'
          example: en
        timezone:
          type:
            - string
            - 'null'
          description: IANA time zone.
          example: America/New_York
        notification_settings:
          description: Email switches. `null` or a missing switch means the default.
          oneOf:
            - $ref: '#/components/schemas/AccountNotificationSettings'
            - type: 'null'
        credits:
          type:
            - integer
            - 'null'
          description: >-
            Community feed credits (earned by reacting, spent on sharing). Not
            AI credits, not money.
          example: 140
        pm_type:
          type:
            - string
            - 'null'
          description: Card brand on file for the user's own plan.
          example: visa
        pm_last_four:
          type:
            - string
            - 'null'
          description: Last 4 card digits.
          example: '4242'
        cancel_reason:
          type:
            - string
            - 'null'
          description: Why the user cancelled their plan.
          example: null
        referrer_url:
          type:
            - string
            - 'null'
          description: Page that sent the user to Followr.
          example: null
        land_url:
          type:
            - string
            - 'null'
          description: First Followr page the user landed on.
          example: https://followr.ai/
        has_password:
          type: boolean
          description: '`false` for users who sign in only with Google or email links.'
          example: true
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2025-03-14T10:22:05.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2026-12-01T14:03:11.000000Z'
        banned_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the account was suspended. Its keys then get `403`.
          example: null
        password_changed_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the password was last set.
          example: '2025-03-14T10:22:05.000000Z'
        image:
          $ref: '#/components/schemas/File'
          description: Profile picture. With `include=image.thumbnail`.
        companies:
          type: array
          description: >-
            Companies. With `include=companies.role` (with the key's user's role
            in each) or another `companies.*` include.
          items:
            $ref: '#/components/schemas/CompanySummary'
        roleUsers:
          type: array
          description: >-
            One entry per membership. With `include=roleUsers.role` and
            `roleUsers.company`.
          items:
            $ref: '#/components/schemas/AccountMembershipSummary'
        subscriptions:
          type: array
          description: >-
            Own plan subscriptions, newest first. With
            `include=subscriptions.items.product` or
            `subscriptions.items.price`.
          items:
            $ref: '#/components/schemas/Subscription'
        referredBy:
          $ref: '#/components/schemas/UserSummary'
          description: Referrer. With `include=referredBy`.
        referrals:
          type: array
          description: Referred users. With `include=referrals`.
          items:
            $ref: '#/components/schemas/UserSummary'
        subscriptionTokens:
          type: array
          description: Redeemed lifetime codes. With `include=subscriptionTokens`.
          items:
            $ref: '#/components/schemas/AccountLifetimeCode'
        appSumoLicense:
          $ref: '#/components/schemas/AccountLicense'
          description: Active lifetime license. With `include=appSumoLicense`.
        whiteLabel:
          type: object
          description: >-
            White-label settings (domain, name, colors). With
            `include=whiteLabel`.
          additionalProperties: true
          example:
            id: 77
            name: Northside Social
            domain: social.northside.example
        tokens:
          type: array
          description: All keys and sessions. With `include=tokens`, `me` only.
          items:
            $ref: '#/components/schemas/PersonalAccessToken'
        activeTokens:
          type: array
          description: >-
            Unrevoked, unexpired keys and sessions. With `include=activeTokens`,
            `me` only.
          items:
            $ref: '#/components/schemas/PersonalAccessToken'
    File:
      type: object
      description: >
        A stored file: an image, a video, an audio track or a document. Files
        belong to other resources (a user's avatar, an asset's image, a post's
        cover) and are returned with `include`.
      properties:
        id:
          type: integer
          example: 908112
        original_name:
          type:
            - string
            - 'null'
          description: The file name it was uploaded with.
          example: launch-banner.png
        purpose:
          type: string
          description: The role of the file on the resource that owns it.
          enum:
            - image
            - cover
            - favicon
            - images
            - scenes
            - thumbnail
            - videos
            - video
            - audio
            - audios
            - binary
            - binaries
            - source
            - master
            - package
          example: image
        visibility:
          type: string
          description: >-
            `public` files are served from the CDN at a stable URL. `private`
            files use a signed URL that expires after 12 hours. Use `public` for
            anything you publish.
          enum:
            - private
            - public
          example: public
        driver:
          type: string
          description: The storage backend. Informational only.
          enum:
            - s3
            - azure
            - r2
          example: r2
        status:
          type:
            - string
            - 'null'
          description: >
            Processing state: `pending`, then `analyzing`, then `analyzed` or
            `error`. After the bytes arrive, Followr records type, size and
            dimensions (and length, for video) and makes a thumbnail for images
            and videos. If the bytes never arrive, it stays `pending`.
          enum:
            - pending
            - analyzing
            - analyzed
            - error
            - null
          example: analyzed
        mime_type:
          type:
            - string
            - 'null'
          description: The file's media type. `null` until the file is analyzed.
          example: image/png
        extension:
          type: string
          description: The extension of the stored file name.
          example: png
        size:
          type:
            - integer
            - 'null'
          description: Size in bytes. `0` until the file is analyzed.
          example: 482113
        width:
          type:
            - integer
            - 'null'
          description: >-
            Width in pixels, for images and videos. `0` until the file is
            analyzed.
          example: 1080
        height:
          type:
            - integer
            - 'null'
          description: >-
            Height in pixels, for images and videos. `0` until the file is
            analyzed.
          example: 1350
        duration:
          type:
            - integer
            - 'null'
          description: Length in whole seconds, for video. `0` until the file is analyzed.
          example: 0
        caption_result:
          type:
            - string
            - 'null'
          description: Not filled for new uploads. Kept for older files.
          example: null
        read_result:
          type:
            - string
            - 'null'
          description: Not filled for new uploads. Kept for older files.
          example: null
        url:
          type: string
          format: uri
          description: >-
            Where to download the file. For `private` files, a signed URL that
            expires after 12 hours.
          example: >-
            https://cdn.followr.ai/files/assets/66120/images/3f9b2c1e-8d4a-4f6b-9c2e-7a1d5e8f0b3c.png
        presigned_url:
          type: string
          format: uri
          description: >
            Only in the response that starts an upload without a source `url`.
            `PUT` the bytes here, with the file's `Content-Type`, within 10
            minutes. No confirm call is needed.
          example: >-
            https://storage.example.com/files/assets/66120/images/3f9b2c1e-8d4a-4f6b-9c2e-7a1d5e8f0b3c.png?X-Amz-Expires=600&X-Amz-Signature=EXAMPLE_SIGNATURE
        created_at:
          type: string
          format: date-time
          example: '2026-12-01T14:03:11.000000Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-12-01T14:03:15.000000Z'
        thumbnail:
          $ref: '#/components/schemas/FileSummary'
          description: >-
            A JPEG preview, at most 350 pixels wide, for images and videos. With
            `include`, for example `include=image.thumbnail`.
    AssetSummary:
      type: object
      description: |-
        An item of a company's media library.

        Related resources inside it are shown in brief.
      required:
        - id
        - type
        - name
        - created_at
        - updated_at
      properties:
        id:
          type: integer
          description: The asset's ID. Use it in a post's `assets_ids`.
          example: 66120
        type:
          type: string
          enum:
            - text
            - image
            - video
          description: >
            What the asset is. Uploads don't change it, so put pictures in
            `image` assets and videos in `video` assets.
          example: image
        parent_id:
          type:
            - integer
            - 'null'
          description: The parent asset, or `null`.
          example: null
        folder_id:
          type:
            - integer
            - 'null'
          description: The asset's folder, or `null` at the top level.
          example: 912
        social_network_type:
          description: The social network this asset is marked for, or `null`.
          anyOf:
            - $ref: '#/components/schemas/SocialNetworkType'
            - type: 'null'
          example: null
        name:
          type: string
          description: The asset's name.
          example: Holiday latte launch
        description:
          type:
            - string
            - 'null'
          description: A description of the asset.
          example: Hero shot for the December launch.
        vista_project_id:
          type:
            - string
            - 'null'
          description: A linked external design project ID, as free text.
          example: null
        design_metadata:
          type:
            - string
            - 'null'
          description: Design data from an earlier editor integration, as a JSON string.
          example: null
        created_at:
          type: string
          format: date-time
          example: '2026-12-15T09:30:00.000000Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-12-15T09:30:00.000000Z'
        image:
          description: >-
            The asset's picture. Only with `include=image`; `null` when it has
            none.
          anyOf:
            - $ref: '#/components/schemas/File'
            - type: 'null'
        video:
          description: >-
            The asset's video. Only with `include=video`; `null` when it has
            none.
          anyOf:
            - $ref: '#/components/schemas/File'
            - type: 'null'
        images:
          type: array
          description: >-
            Extra pictures. Only with `include=images`. Not used when
            publishing.
          items:
            $ref: '#/components/schemas/File'
        binary:
          description: >-
            A non-media file. Only with `include=binary`. Not used when
            publishing.
          anyOf:
            - $ref: '#/components/schemas/File'
            - type: 'null'
        user:
          $ref: '#/components/schemas/User'
          description: Who created the asset. Only with `include=user`.
        folder:
          description: The folder the asset sits in. Only with `include=folder`.
          anyOf:
            - type: object
              title: Folder
            - type: 'null'
        parent:
          description: The parent asset. Only with `include=parent`.
          anyOf:
            - type: object
              title: Asset
            - type: 'null'
        children:
          type: array
          description: The child assets. Only with `include=children`.
          items:
            type: object
            title: Asset
        posts:
          type: array
          description: The posts that use the asset. Only with `include=posts`.
          items:
            type: object
            title: Post
        internalComments:
          type: array
          description: The team's notes on the asset. Only with `include=internalComments`.
          items:
            $ref: '#/components/schemas/InternalComment'
    InternalComment:
      type: object
      description: A note on a post group, post or library asset. Never published.
      properties:
        id:
          type: integer
          description: The ID of the note.
          example: 4471
        user_id:
          type:
            - integer
            - 'null'
          description: Always `null` for now. Use `include=user` for the author.
          example: null
        parent_id:
          type:
            - integer
            - 'null'
          description: The note this one answers, or `null` when it starts a thread.
          example: null
        message:
          type: string
          description: The text. Mentions look like `@[user:ID]`.
          example: >-
            @[user:5521] The caption looks good. Can we use the warmer photo
            instead?
        created_at:
          type: string
          format: date-time
          description: When the note was written.
          example: '2026-12-11T15:20:09.000000Z'
        updated_at:
          type: string
          format: date-time
          description: When the note was last edited.
          example: '2026-12-11T15:20:09.000000Z'
        user:
          $ref: '#/components/schemas/User'
          description: The author. Only with `include=user`.
        parent:
          $ref: '#/components/schemas/InternalCommentSummary'
          description: The note this one answers. Only with `include=parent`.
        children:
          type: array
          description: The answers. Only with `include=children`.
          items:
            $ref: '#/components/schemas/InternalCommentSummary'
        image:
          $ref: '#/components/schemas/File'
          description: A picture attached to the note. Only with `include=image`.
    Company:
      type: object
      description: >
        A brand or client workspace, on the plan of its owner account
        (`user_id`). Related data appears only with `include`.
      properties:
        id:
          type: integer
          description: The company's ID.
          example: 1287
        user_id:
          type: integer
          description: Owner account; its plan applies.
          example: 5521
        type:
          type: string
          enum:
            - company
            - individual
          description: A business or brand (`company`), or a person (`individual`).
          example: company
        name:
          type:
            - string
            - 'null'
          description: Company or brand name.
          example: Northside Coffee
        description:
          type:
            - string
            - 'null'
          description: What it is, what it offers, to whom. Used by AI writing.
          example: >-
            Specialty coffee roasted in small batches, served in two
            neighborhood cafes.
        country_iso_code:
          type:
            - string
            - 'null'
          description: Two-letter ISO country code.
          example: US
        language_iso_code:
          type:
            - string
            - 'null'
          description: Short code of its posts' language.
          example: en
        language:
          type:
            - string
            - 'null'
          description: Post language, by name and variant. AI writing follows this one.
          example: English (US)
        language_types:
          type:
            - array
            - 'null'
          description: The register it writes in.
          items:
            type: string
          example:
            - Informal
        interests:
          type:
            - array
            - 'null'
          description: Topics it posts about.
          items:
            type: string
          example:
            - Specialty coffee
            - Home brewing
        tones:
          type:
            - array
            - 'null'
          description: Its tone of voice.
          items:
            type: string
          example:
            - Friendly
            - Expert
        emotions:
          type:
            - array
            - 'null'
          description: What a reader should feel.
          items:
            type: string
          example:
            - Curiosity
        syntaxes:
          type:
            - array
            - 'null'
          description: Writing styles.
          items:
            type: string
          example:
            - Short sentences
        characters:
          type:
            - array
            - 'null'
          description: Persona speaking in its posts.
          items:
            type: string
          example:
            - The seasoned barista
        fonts:
          type:
            - array
            - 'null'
          description: Brand fonts, by name.
          items:
            type: string
          example:
            - Inter
        audience_types:
          type:
            - array
            - 'null'
          description: Kinds of people or businesses it talks to.
          items:
            type: string
          example:
            - Home baristas
        audience_ages:
          type:
            - array
            - 'null'
          description: Their age groups.
          items:
            type: string
          example:
            - 25-34
            - 35-44
        audience_genders:
          type:
            - array
            - 'null'
          description: Their genders.
          items:
            type: string
          example:
            - All
        website:
          type:
            - string
            - 'null'
          description: The company's website.
          example: https://northside.example
        palettes:
          type:
            - array
            - 'null'
          description: Brand colors as hex codes, main one first. AI pictures use them.
          items:
            type: string
          example:
            - '#1F3A5F'
            - '#F2B705'
        social_network_prompts:
          type:
            - array
            - 'null'
          deprecated: true
          description: Legacy, no longer used; saved prompts replace it.
          items:
            $ref: '#/components/schemas/AccountNetworkPrompt'
          example: null
        ai_image_styles:
          type:
            - array
            - 'null'
          description: Art styles for AI pictures.
          items:
            type: string
          example:
            - Photographic
        brand_look:
          description: Saved brand style. Read-only here; use the Brand style endpoints.
          oneOf:
            - $ref: '#/components/schemas/AccountStoredBrandLook'
            - type: 'null'
        ai_preferences:
          description: AI models and formats the app preselects.
          oneOf:
            - $ref: '#/components/schemas/AccountAiPreferences'
            - type: 'null'
        ai_keys:
          type:
            - array
            - 'null'
          description: >
            The company's own AI provider keys, used when active for a
            generation's provider. Every member who can read the company sees
            them in full.
          items:
            $ref: '#/components/schemas/AccountAiKey'
          example: null
        menu_visibility:
          type:
            - object
            - 'null'
          description: App menu sections by key; `false` hides one.
          additionalProperties:
            type: boolean
          example:
            ai-videos: false
        webhook_secret:
          type:
            - string
            - 'null'
          description: >
            Sent as `X-Company-Secret` on post status webhooks, to verify them.
            Created by the first update that sets `webhook_posts_url`.
            Read-only.
          example: 9fQ2mX7pL4vR8tK1wZ6cN3bH5yJ0dS2a
        webhook_posts_url:
          type:
            - string
            - 'null'
          format: uri
          description: Gets a request on every company post status change. `null` for none.
          example: https://hooks.northside.example/followr/posts
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2025-03-14T10:25:40.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2026-12-01T09:12:44.000000Z'
        disabled_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the company was disabled; `null` while enabled.
          example: null
        role:
          $ref: '#/components/schemas/Role'
          description: The key's user's role. With `include=role`.
        user:
          $ref: '#/components/schemas/UserSummary'
          description: Owner account. With `include=user`.
        users:
          type: array
          description: Members. With `include=users`.
          items:
            $ref: '#/components/schemas/UserSummary'
        image:
          $ref: '#/components/schemas/File'
          description: Logo. With `include=image` or `image.thumbnail`.
        avatars:
          type: array
          description: >-
            AI avatars. With `include=avatars.image.thumbnail` or
            `avatars.scenes.thumbnail`.
          items:
            $ref: '#/components/schemas/AvatarSummary'
        vistaTemplates:
          type: array
          description: Legacy design templates. With `include=vistaTemplates`.
          items:
            $ref: '#/components/schemas/AccountDesignTemplate'
    PostGroupAssistant:
      type: object
      description: The AI assistant that created a post group via MCP.
      properties:
        name:
          type:
            - string
            - 'null'
          description: The assistant's or connection's name.
          example: Claude
        type:
          type: string
          enum:
            - connected_app
            - key
          description: >-
            `connected_app` if it connected through the app's sign-in, `key` if
            it used a key.
          example: connected_app
        created_at:
          type: string
          format: date-time
          description: When it created the group.
          example: '2026-12-01T14:03:11.000000Z'
    AccountLanguage:
      type: string
      description: A language of the app.
      enum:
        - en
        - es
        - pt
        - fr
        - pr
        - jp
        - ch
      example: en
    AccountNotificationSettings:
      type: object
      description: Email switches. A switch never set has its default.
      properties:
        post_published:
          type: boolean
          description: A post was published. Off by default.
          example: true
        post_error:
          type: boolean
          description: A post failed to publish. On by default.
          example: true
        social_network_expired:
          type: boolean
          description: A social account needs reconnecting. On by default.
          example: true
        internal_comment_received:
          type: boolean
          description: They were mentioned in an internal note. On by default.
          example: true
        assistant_drafts:
          type: boolean
          description: An AI assistant left drafts to review. On by default.
          example: true
    CompanySummary:
      type: object
      description: >-
        A brand or client workspace, on the plan of its owner account
        (`user_id`). Related data appears only with `include`.


        Related resources inside it are shown in brief.
      properties:
        id:
          type: integer
          description: The company's ID.
          example: 1287
        user_id:
          type: integer
          description: Owner account; its plan applies.
          example: 5521
        type:
          type: string
          enum:
            - company
            - individual
          description: A business or brand (`company`), or a person (`individual`).
          example: company
        name:
          type:
            - string
            - 'null'
          description: Company or brand name.
          example: Northside Coffee
        description:
          type:
            - string
            - 'null'
          description: What it is, what it offers, to whom. Used by AI writing.
          example: >-
            Specialty coffee roasted in small batches, served in two
            neighborhood cafes.
        country_iso_code:
          type:
            - string
            - 'null'
          description: Two-letter ISO country code.
          example: US
        language_iso_code:
          type:
            - string
            - 'null'
          description: Short code of its posts' language.
          example: en
        language:
          type:
            - string
            - 'null'
          description: Post language, by name and variant. AI writing follows this one.
          example: English (US)
        language_types:
          type:
            - array
            - 'null'
          description: The register it writes in.
          items:
            type: string
          example:
            - Informal
        interests:
          type:
            - array
            - 'null'
          description: Topics it posts about.
          items:
            type: string
          example:
            - Specialty coffee
            - Home brewing
        tones:
          type:
            - array
            - 'null'
          description: Its tone of voice.
          items:
            type: string
          example:
            - Friendly
            - Expert
        emotions:
          type:
            - array
            - 'null'
          description: What a reader should feel.
          items:
            type: string
          example:
            - Curiosity
        syntaxes:
          type:
            - array
            - 'null'
          description: Writing styles.
          items:
            type: string
          example:
            - Short sentences
        characters:
          type:
            - array
            - 'null'
          description: Persona speaking in its posts.
          items:
            type: string
          example:
            - The seasoned barista
        fonts:
          type:
            - array
            - 'null'
          description: Brand fonts, by name.
          items:
            type: string
          example:
            - Inter
        audience_types:
          type:
            - array
            - 'null'
          description: Kinds of people or businesses it talks to.
          items:
            type: string
          example:
            - Home baristas
        audience_ages:
          type:
            - array
            - 'null'
          description: Their age groups.
          items:
            type: string
          example:
            - 25-34
            - 35-44
        audience_genders:
          type:
            - array
            - 'null'
          description: Their genders.
          items:
            type: string
          example:
            - All
        website:
          type:
            - string
            - 'null'
          description: The company's website.
          example: https://northside.example
        palettes:
          type:
            - array
            - 'null'
          description: Brand colors as hex codes, main one first. AI pictures use them.
          items:
            type: string
          example:
            - '#1F3A5F'
            - '#F2B705'
        social_network_prompts:
          type:
            - array
            - 'null'
          deprecated: true
          description: Legacy, no longer used; saved prompts replace it.
          items:
            $ref: '#/components/schemas/AccountNetworkPrompt'
          example: null
        ai_image_styles:
          type:
            - array
            - 'null'
          description: Art styles for AI pictures.
          items:
            type: string
          example:
            - Photographic
        brand_look:
          description: Saved brand style. Read-only here; use the Brand style endpoints.
          oneOf:
            - $ref: '#/components/schemas/AccountStoredBrandLook'
            - type: 'null'
        ai_preferences:
          description: AI models and formats the app preselects.
          oneOf:
            - $ref: '#/components/schemas/AccountAiPreferences'
            - type: 'null'
        ai_keys:
          type:
            - array
            - 'null'
          description: >
            The company's own AI provider keys, used when active for a
            generation's provider. Every member who can read the company sees
            them in full.
          items:
            $ref: '#/components/schemas/AccountAiKey'
          example: null
        menu_visibility:
          type:
            - object
            - 'null'
          description: App menu sections by key; `false` hides one.
          additionalProperties:
            type: boolean
          example:
            ai-videos: false
        webhook_secret:
          type:
            - string
            - 'null'
          description: >
            Sent as `X-Company-Secret` on post status webhooks, to verify them.
            Created by the first update that sets `webhook_posts_url`.
            Read-only.
          example: 9fQ2mX7pL4vR8tK1wZ6cN3bH5yJ0dS2a
        webhook_posts_url:
          type:
            - string
            - 'null'
          format: uri
          description: Gets a request on every company post status change. `null` for none.
          example: https://hooks.northside.example/followr/posts
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2025-03-14T10:25:40.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2026-12-01T09:12:44.000000Z'
        disabled_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the company was disabled; `null` while enabled.
          example: null
        role:
          $ref: '#/components/schemas/Role'
          description: The key's user's role. With `include=role`.
        user:
          description: Owner account. With `include=user`.
          type: object
          title: User
        users:
          type: array
          description: Members. With `include=users`.
          items:
            type: object
            title: User
        image:
          $ref: '#/components/schemas/File'
          description: Logo. With `include=image` or `image.thumbnail`.
        avatars:
          type: array
          description: >-
            AI avatars. With `include=avatars.image.thumbnail` or
            `avatars.scenes.thumbnail`.
          items:
            type: object
            title: Avatar
        vistaTemplates:
          type: array
          description: Legacy design templates. With `include=vistaTemplates`.
          items:
            $ref: '#/components/schemas/AccountDesignTemplate'
    AccountMembershipSummary:
      type: object
      description: |-
        A user's membership of one company.

        Related resources inside it are shown in brief.
      properties:
        role:
          $ref: '#/components/schemas/Role'
          description: The user's role in the company. With `include=roleUsers.role`.
        company:
          description: The company. With `include=roleUsers.company`.
          type: object
          title: Company
    Subscription:
      type: object
      description: A plan subscription, billed through Stripe.
      properties:
        id:
          type: integer
          description: The subscription's ID.
          example: 9120
        name:
          type: string
          description: Always `default`.
          example: default
        stripe_id:
          type: string
          description: Stripe subscription ID.
          example: sub_1QhT7sK2mN4pX8vZ
        stripe_status:
          type: string
          enum:
            - active
            - trialing
            - past_due
            - canceled
            - unpaid
            - incomplete
            - incomplete_expired
            - paused
          description: >
            State at Stripe. `active` and `trialing` are in force; `past_due`
            and `unpaid` mean the last charge failed; `canceled` and
            `incomplete_expired` mean it ended.
          example: active
        trial_ends_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the trial ends.
          example: null
        ends_at:
          type:
            - string
            - 'null'
          format: date-time
          description: For a cancelled plan, when it stops working.
          example: null
        created_at:
          type: string
          format: date-time
          description: When the plan began. Usage periods start on this day each month.
          example: '2025-03-14T10:31:12.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2026-11-14T00:02:31.000000Z'
        items:
          type: array
          description: >-
            The plan and its add-ons. With `include=items.product` or
            `items.price`.
          items:
            $ref: '#/components/schemas/AccountSubscriptionItem'
    UserSummary:
      type: object
      description: >-
        A person with a Followr account. Related data appears only with
        `include`.


        Related resources inside it are shown in brief.
      properties:
        id:
          type: integer
          description: The user's ID.
          example: 5521
        name:
          type:
            - string
            - 'null'
          description: Full name.
          example: Alex Rivera
        email:
          type: string
          format: email
          description: Sign-in email.
          example: alex@northside.example
        referral_code:
          type:
            - string
            - 'null'
          description: Code for referring others.
          example: K7P2QX
        language:
          description: App and email language.
          oneOf:
            - $ref: '#/components/schemas/AccountLanguage'
            - type: 'null'
          example: en
        timezone:
          type:
            - string
            - 'null'
          description: IANA time zone.
          example: America/New_York
        notification_settings:
          description: Email switches. `null` or a missing switch means the default.
          oneOf:
            - $ref: '#/components/schemas/AccountNotificationSettings'
            - type: 'null'
        credits:
          type:
            - integer
            - 'null'
          description: >-
            Community feed credits (earned by reacting, spent on sharing). Not
            AI credits, not money.
          example: 140
        pm_type:
          type:
            - string
            - 'null'
          description: Card brand on file for the user's own plan.
          example: visa
        pm_last_four:
          type:
            - string
            - 'null'
          description: Last 4 card digits.
          example: '4242'
        cancel_reason:
          type:
            - string
            - 'null'
          description: Why the user cancelled their plan.
          example: null
        referrer_url:
          type:
            - string
            - 'null'
          description: Page that sent the user to Followr.
          example: null
        land_url:
          type:
            - string
            - 'null'
          description: First Followr page the user landed on.
          example: https://followr.ai/
        has_password:
          type: boolean
          description: '`false` for users who sign in only with Google or email links.'
          example: true
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2025-03-14T10:22:05.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2026-12-01T14:03:11.000000Z'
        banned_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the account was suspended. Its keys then get `403`.
          example: null
        password_changed_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the password was last set.
          example: '2025-03-14T10:22:05.000000Z'
        image:
          $ref: '#/components/schemas/File'
          description: Profile picture. With `include=image.thumbnail`.
        companies:
          type: array
          description: >-
            Companies. With `include=companies.role` (with the key's user's role
            in each) or another `companies.*` include.
          items:
            type: object
            title: Company
        roleUsers:
          type: array
          description: >-
            One entry per membership. With `include=roleUsers.role` and
            `roleUsers.company`.
          items:
            type: object
            title: AccountMembership
        subscriptions:
          type: array
          description: >-
            Own plan subscriptions, newest first. With
            `include=subscriptions.items.product` or
            `subscriptions.items.price`.
          items:
            $ref: '#/components/schemas/Subscription'
        referredBy:
          description: Referrer. With `include=referredBy`.
          type: object
          title: User
        referrals:
          type: array
          description: Referred users. With `include=referrals`.
          items:
            type: object
            title: User
        subscriptionTokens:
          type: array
          description: Redeemed lifetime codes. With `include=subscriptionTokens`.
          items:
            $ref: '#/components/schemas/AccountLifetimeCode'
        appSumoLicense:
          $ref: '#/components/schemas/AccountLicense'
          description: Active lifetime license. With `include=appSumoLicense`.
        whiteLabel:
          type: object
          description: >-
            White-label settings (domain, name, colors). With
            `include=whiteLabel`.
          additionalProperties: true
          example:
            id: 77
            name: Northside Social
            domain: social.northside.example
        tokens:
          type: array
          description: All keys and sessions. With `include=tokens`, `me` only.
          items:
            $ref: '#/components/schemas/PersonalAccessToken'
        activeTokens:
          type: array
          description: >-
            Unrevoked, unexpired keys and sessions. With `include=activeTokens`,
            `me` only.
          items:
            $ref: '#/components/schemas/PersonalAccessToken'
    AccountLifetimeCode:
      type: object
      description: >-
        A redeemed lifetime code. The number of codes an account holds is its
        lifetime tier.
      properties:
        id:
          type: integer
          description: The code's ID.
          example: 3091
        user_id:
          type: integer
          description: The user who redeemed it.
          example: 5521
        token:
          type: string
          description: The code.
          example: FLW-8K2M-Q4TZ
        source:
          type: string
          enum:
            - direct
            - appsumo
          description: Where the code came from.
          example: direct
        created_at:
          type: string
          format: date-time
          description: When it was redeemed.
          example: '2026-11-27T20:14:09.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2026-11-27T20:14:09.000000Z'
    AccountLicense:
      type: object
      description: A lifetime license with tiers of its own.
      properties:
        id:
          type: integer
          description: The license's ID.
          example: 812
        license_key:
          type: string
          description: The license key.
          example: 7d1c3b9e-4a2f-4e8b-9c61-0f5d2a7b3e48
        tier:
          type: integer
          description: The license tier, from 1.
          example: 4
        status:
          type: string
          description: Status. Only active licenses are returned.
          example: active
        created_at:
          type: string
          format: date-time
          description: When the license was activated.
          example: '2026-04-12T09:30:00.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2026-04-12T09:30:00.000000Z'
    PersonalAccessToken:
      type: object
      description: >
        A REST API key, an MCP key, or an app sign-in. Location fields describe
        the IP address the key was created from.
      properties:
        id:
          type: integer
          description: The key's ID.
          example: 48213
        name:
          type: string
          description: The key's name.
          example: Zapier integration
        is_api_key:
          type: boolean
          description: Whether this is a REST API key.
          example: true
        is_mcp_key:
          type: boolean
          description: Whether this is an MCP key (AI assistants on the MCP server only).
          example: false
        scopes:
          type: array
          description: For an MCP key, what it may do. Empty for other keys.
          items:
            $ref: '#/components/schemas/AccountMcpScope'
          example: []
        company_ids:
          type:
            - array
            - 'null'
          description: >-
            For an MCP key, the companies it is limited to. `null` for all of
            the user's companies, and for other keys.
          items:
            type: integer
          example: null
        token:
          type:
            - string
            - 'null'
          description: >
            The full key, sent as `Authorization: Bearer <token>`. Only in the
            create response; it can't be retrieved again.
          example: 48213|n4Q8rT2vX9kLm3PzW7yB1cD5fG6hJ0aS2eR4tU8i3f9a1c7b
        ip:
          type:
            - string
            - 'null'
          description: IP address the key was created from.
          example: 203.0.113.42
        user_agent:
          type:
            - string
            - 'null'
          description: User agent of the creating client.
          example: >-
            Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
            (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
        device:
          type:
            - string
            - 'null'
          description: Device, from the user agent.
          example: Macintosh
        platform:
          type:
            - string
            - 'null'
          description: Operating system, from the user agent.
          example: OS X
        browser:
          type:
            - string
            - 'null'
          description: Browser, from the user agent.
          example: Chrome
        country:
          type:
            - string
            - 'null'
          description: Country of that IP address.
          example: United States
        country_code:
          type:
            - string
            - 'null'
          description: Its two-letter country code.
          example: US
        region:
          type:
            - string
            - 'null'
          description: Its region code.
          example: OR
        region_name:
          type:
            - string
            - 'null'
          description: Its region name.
          example: Oregon
        city:
          type:
            - string
            - 'null'
          description: Its city.
          example: Portland
        zip:
          type:
            - string
            - 'null'
          description: Its postal code.
          example: '97201'
        lat:
          type:
            - number
            - 'null'
          description: Its approximate latitude.
          example: 45.5152
        lon:
          type:
            - number
            - 'null'
          description: Its approximate longitude.
          example: -122.6784
        timezone:
          type:
            - string
            - 'null'
          description: Its time zone.
          example: America/Los_Angeles
        isp:
          type:
            - string
            - 'null'
          description: Its internet provider.
          example: Comcast Cable
        last_used_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the key was last used.
          example: '2026-12-02T09:58:41.000000Z'
        expires_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the key stops working; `null` for never. Only MCP keys expire.
          example: null
        revoked_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the key was revoked.
          example: null
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2026-10-05T15:12:09.000000Z'
        updated_at:
          type: string
          format: date-time
          description: When the key was last changed or used.
          example: '2026-12-02T09:58:41.000000Z'
    FileSummary:
      type: object
      description: >-
        A stored file: an image, a video, an audio track or a document. Files
        belong to other resources (a user's avatar, an asset's image, a post's
        cover) and are returned with `include`.


        Related resources inside it are shown in brief.
      properties:
        id:
          type: integer
          example: 908112
        original_name:
          type:
            - string
            - 'null'
          description: The file name it was uploaded with.
          example: launch-banner.png
        purpose:
          type: string
          description: The role of the file on the resource that owns it.
          enum:
            - image
            - cover
            - favicon
            - images
            - scenes
            - thumbnail
            - videos
            - video
            - audio
            - audios
            - binary
            - binaries
            - source
            - master
            - package
          example: image
        visibility:
          type: string
          description: >-
            `public` files are served from the CDN at a stable URL. `private`
            files use a signed URL that expires after 12 hours. Use `public` for
            anything you publish.
          enum:
            - private
            - public
          example: public
        driver:
          type: string
          description: The storage backend. Informational only.
          enum:
            - s3
            - azure
            - r2
          example: r2
        status:
          type:
            - string
            - 'null'
          description: >
            Processing state: `pending`, then `analyzing`, then `analyzed` or
            `error`. After the bytes arrive, Followr records type, size and
            dimensions (and length, for video) and makes a thumbnail for images
            and videos. If the bytes never arrive, it stays `pending`.
          enum:
            - pending
            - analyzing
            - analyzed
            - error
            - null
          example: analyzed
        mime_type:
          type:
            - string
            - 'null'
          description: The file's media type. `null` until the file is analyzed.
          example: image/png
        extension:
          type: string
          description: The extension of the stored file name.
          example: png
        size:
          type:
            - integer
            - 'null'
          description: Size in bytes. `0` until the file is analyzed.
          example: 482113
        width:
          type:
            - integer
            - 'null'
          description: >-
            Width in pixels, for images and videos. `0` until the file is
            analyzed.
          example: 1080
        height:
          type:
            - integer
            - 'null'
          description: >-
            Height in pixels, for images and videos. `0` until the file is
            analyzed.
          example: 1350
        duration:
          type:
            - integer
            - 'null'
          description: Length in whole seconds, for video. `0` until the file is analyzed.
          example: 0
        caption_result:
          type:
            - string
            - 'null'
          description: Not filled for new uploads. Kept for older files.
          example: null
        read_result:
          type:
            - string
            - 'null'
          description: Not filled for new uploads. Kept for older files.
          example: null
        url:
          type: string
          format: uri
          description: >-
            Where to download the file. For `private` files, a signed URL that
            expires after 12 hours.
          example: >-
            https://cdn.followr.ai/files/assets/66120/images/3f9b2c1e-8d4a-4f6b-9c2e-7a1d5e8f0b3c.png
        presigned_url:
          type: string
          format: uri
          description: >
            Only in the response that starts an upload without a source `url`.
            `PUT` the bytes here, with the file's `Content-Type`, within 10
            minutes. No confirm call is needed.
          example: >-
            https://storage.example.com/files/assets/66120/images/3f9b2c1e-8d4a-4f6b-9c2e-7a1d5e8f0b3c.png?X-Amz-Expires=600&X-Amz-Signature=EXAMPLE_SIGNATURE
        created_at:
          type: string
          format: date-time
          example: '2026-12-01T14:03:11.000000Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-12-01T14:03:15.000000Z'
        thumbnail:
          description: >-
            A JPEG preview, at most 350 pixels wide, for images and videos. With
            `include`, for example `include=image.thumbnail`.
          type: object
          title: File
    InternalCommentSummary:
      type: object
      description: |-
        A note on a post group, post or library asset. Never published.

        Related resources inside it are shown in brief.
      properties:
        id:
          type: integer
          description: The ID of the note.
          example: 4471
        user_id:
          type:
            - integer
            - 'null'
          description: Always `null` for now. Use `include=user` for the author.
          example: null
        parent_id:
          type:
            - integer
            - 'null'
          description: The note this one answers, or `null` when it starts a thread.
          example: null
        message:
          type: string
          description: The text. Mentions look like `@[user:ID]`.
          example: >-
            @[user:5521] The caption looks good. Can we use the warmer photo
            instead?
        created_at:
          type: string
          format: date-time
          description: When the note was written.
          example: '2026-12-11T15:20:09.000000Z'
        updated_at:
          type: string
          format: date-time
          description: When the note was last edited.
          example: '2026-12-11T15:20:09.000000Z'
        user:
          $ref: '#/components/schemas/User'
          description: The author. Only with `include=user`.
        parent:
          description: The note this one answers. Only with `include=parent`.
          type: object
          title: InternalComment
        children:
          type: array
          description: The answers. Only with `include=children`.
          items:
            type: object
            title: InternalComment
        image:
          $ref: '#/components/schemas/File'
          description: A picture attached to the note. Only with `include=image`.
    AccountNetworkPrompt:
      type: object
      description: A legacy writing instruction for one network.
      properties:
        type:
          $ref: '#/components/schemas/SocialNetworkType'
        default:
          type: boolean
          description: Whether it was the default instruction.
          example: true
        prompt:
          type: string
          description: The instruction.
          example: Keep it under 150 characters and end with a question.
    AccountStoredBrandLook:
      type: object
      description: The brand style as saved on the company.
      properties:
        description:
          type:
            - string
            - 'null'
          description: The look in words.
          example: >-
            Warm natural light, wooden counters, hands at work behind the
            espresso bar.
        references:
          type: array
          description: Reference pictures, by library image ID.
          items:
            type: object
            properties:
              asset_id:
                type: integer
                description: The image's ID in the company's media library.
                example: 66120
              shows:
                type:
                  - string
                  - 'null'
                description: What the picture shows.
                example: Our espresso bar
        logo:
          type: string
          enum:
            - none
            - corner
          description: Whether the logo goes in a corner of AI pictures.
          example: corner
        logo_position:
          type: string
          enum:
            - top-left
            - top-right
            - bottom-left
            - bottom-right
            - top-center
            - bottom-center
          description: Where the logo goes.
          example: bottom-right
        music:
          $ref: '#/components/schemas/AccountBrandSound'
          description: The brand sound, present only when set.
    AccountAiPreferences:
      type: object
      description: AI models and formats the app preselects for the company. Saved whole.
      properties:
        text_driver:
          type: string
          description: Text model provider.
          example: openai
        text_model:
          type: string
          description: Text model.
          example: gpt-5-mini
        image_driver:
          type: string
          description: Image model provider.
          example: fal
        image_model:
          type: string
          description: Image model.
          example: flux-pro
        image_aspect_ratio:
          type: string
          description: Image aspect ratio.
          example: '4:5'
        video_driver:
          type: string
          description: Video model provider.
          example: fal
        video_model:
          type: string
          description: Video model.
          example: kling-video
        video_aspect_ratio:
          type: string
          description: Video aspect ratio.
          example: '9:16'
        video_duration:
          type: integer
          description: Video length, in seconds.
          example: 5
    AccountAiKey:
      type: object
      description: A company's own AI provider key.
      properties:
        driver:
          type: string
          enum:
            - openai
            - claude
            - stability
            - gemini
            - fal
            - ideogram
            - recraft
            - deepseek
            - straico
            - huggingface
            - creatomate
          description: The AI provider.
          example: openai
        active:
          type: boolean
          description: Whether the key is used.
          example: true
        value:
          type: string
          description: The key itself.
          example: sk-proj-XXXXXXXXXXXXXXXXXXXX
    Role:
      type: object
      description: >
        A role in a company, from most to least powerful:


        - `owner`: everything, including plan limits and giving any role.

        - `admin`: everything but limits; manages admins, users and clients.

        - `user`: makes content (posts, media, AI, social accounts) and edits
        the company. Can't invite, remove members or delete it.

        - `client`: reads everything; writes only internal notes.
      properties:
        id:
          type: integer
          description: The role's ID.
          example: 2
        name:
          type: string
          enum:
            - owner
            - admin
            - user
            - client
          description: The role.
          example: owner
        display_name:
          type: string
          description: Display name.
          example: Owner
        description:
          type:
            - string
            - 'null'
          description: Role description.
          example: Owner
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2023-04-11T21:27:56.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2023-04-11T21:27:56.000000Z'
    AvatarSummary:
      type: object
      description: |-
        A person the company's videos show.

        Related resources inside it are shown in brief.
      required:
        - id
        - company_id
        - name
        - created_at
        - updated_at
      properties:
        id:
          type: integer
          description: The avatar's ID.
          example: 410
        company_id:
          type: integer
          description: The company the avatar belongs to.
          example: 1287
        name:
          type: string
          description: The avatar's name.
          example: Maya
        description:
          type:
            - string
            - 'null'
          description: Who the avatar is, in your words.
          example: Head barista, friendly and upbeat.
        voice_id:
          type:
            - integer
            - 'null'
          description: The saved voice it speaks with, or `null`.
          example: 220
        default:
          type:
            - boolean
            - 'null'
          description: >-
            Whether it's the company's default avatar. `null` after a create
            without `default`.
          example: true
        created_at:
          type: string
          format: date-time
          example: '2026-12-03T11:20:00.000000Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-12-03T11:20:00.000000Z'
        deleted_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Always `null` (deleted avatars are not returned).
          example: null
        image:
          description: >-
            The avatar's picture. Only with `include=image`; `null` when it has
            none.
          anyOf:
            - $ref: '#/components/schemas/File'
            - type: 'null'
        scenes:
          type: array
          description: The avatar's scene pictures. Only with `include=scenes`.
          items:
            $ref: '#/components/schemas/File'
        voice:
          description: >-
            The voice the avatar speaks with. Only with `include=voice`; `null`
            when it has none or it was deleted.
          anyOf:
            - type: object
              title: Voice
            - type: 'null'
        company:
          description: The company. Only with `include=company`.
          type: object
          title: Company
    AccountDesignTemplate:
      type: object
      description: A legacy design template.
      properties:
        id:
          type: integer
          description: The template's ID.
          example: 31
        external_id:
          type:
            - string
            - 'null'
          description: ID in the source design tool.
          example: 6372a1f0b2c4
        image_id:
          type:
            - string
            - 'null'
          description: Picture placeholder.
          example: null
        image_orientation:
          type:
            - string
            - 'null'
          description: Picture orientation.
          example: null
        image_logo_id:
          type:
            - string
            - 'null'
          description: Logo placeholder.
          example: null
        background_replace:
          type:
            - boolean
            - 'null'
          description: Whether the background is replaced.
          example: false
        texts:
          type:
            - array
            - 'null'
          description: Text placeholders.
          items: {}
          example: []
        orientation:
          type:
            - string
            - 'null'
          description: Orientation.
          example: null
        active:
          type:
            - boolean
            - 'null'
          description: Whether the template is offered.
          example: true
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2024-02-01T10:00:00.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2024-02-01T10:00:00.000000Z'
    AccountSubscriptionItem:
      type: object
      description: One part of a subscription (the plan or an add-on) and its quantity.
      properties:
        id:
          type: integer
          description: The item's ID.
          example: 15230
        stripe_id:
          type: string
          description: Stripe item ID.
          example: si_RaB3cD4eF5gH6i
        quantity:
          type:
            - integer
            - 'null'
          description: How many of the product. Its amounts are multiplied by this.
          example: 1
        created_at:
          type: string
          format: date-time
          description: When the item was added.
          example: '2025-03-14T10:31:12.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2025-03-14T10:31:12.000000Z'
        product:
          $ref: '#/components/schemas/AccountProduct'
          description: The plan or add-on. With `include=items.product`.
        price:
          $ref: '#/components/schemas/AccountPrice'
          description: The billed price. With `include=items.price`.
    AccountMcpScope:
      type: string
      description: >
        What an MCP key may do. Levels, each including the one before:


        - `read`: see companies, social accounts, posts, media and results.

        - `write`: create, edit and delete drafts. Nothing goes public.

        - `publish`: schedule, queue, publish; edit or delete scheduled posts.


        Opt-in extras:


        - `inbox`: read comments and direct messages.

        - `reply`: answer them (adds `inbox`). Public, can't be undone.

        - `media`: make images and videos with AI credits. May be withdrawn.

        - `settings`: company setup (profile, brand, queues, tags, prompts,
        library, social accounts). Can delete.

        - `admin`: team, plan, limits, invoices, profile, deleting a company.
      enum:
        - read
        - write
        - publish
        - inbox
        - reply
        - media
        - settings
        - admin
      example: publish
    AccountBrandSound:
      type: object
      description: >
        Default music for the company's AI videos. At most one of `track_id`,
        `style_id` and `builtin_style` is set; all `null` (or a deleted track or
        style) means none.
      properties:
        track_id:
          type:
            - integer
            - 'null'
          description: A finished AI Music track of the company.
          example: null
        style_id:
          type:
            - integer
            - 'null'
          description: One of the company's music styles.
          example: null
        builtin_style:
          type:
            - string
            - 'null'
          description: A built-in style key.
          example: indie_pop
        volume:
          type:
            - integer
            - 'null'
          description: Volume under a video's voice, in percent (5 to 40). Default `14`.
          example: 14
    AccountProduct:
      type: object
      description: A plan, an add-on, or a one-time product, with what it includes.
      properties:
        id:
          type: integer
          description: The product's ID.
          example: 5
        stripe_id:
          type: string
          description: Stripe product ID.
          example: prod_Q1w2E3r4T5y6U7
        type:
          type: string
          enum:
            - plan
            - add-on
            - product
          description: A plan, a plan add-on, or a one-time product.
          example: plan
        name:
          type: string
          description: Product key.
          example: team
        label:
          type:
            - string
            - 'null'
          description: Display name.
          example: Team
        description:
          type:
            - string
            - 'null'
          description: A short description.
          example: For small businesses
        users_amount:
          type:
            - integer
            - 'null'
          description: Seats included.
          example: 10
        companies_amount:
          type:
            - integer
            - 'null'
          description: Companies included.
          example: 10
        words_amount:
          type:
            - integer
            - 'null'
          description: AI words per period.
          example: 500000
        images_amount:
          type:
            - integer
            - 'null'
          description: AI media credits per period.
          example: 1500
        premium_images_amount:
          type:
            - integer
            - 'null'
          description: Media credits for premium image models.
          example: 80
        bytes_amount:
          type:
            - integer
            - 'null'
          description: Storage, in bytes.
          example: 214748364800
        getlead_enabled:
          type:
            - boolean
            - 'null'
          description: Includes the website chatbot.
          example: true
        white_label_enabled:
          type:
            - boolean
            - 'null'
          description: Includes white label.
          example: false
        api_keys_enabled:
          type:
            - boolean
            - 'null'
          description: Includes the REST API.
          example: true
        plus_chat_enabled:
          type:
            - boolean
            - 'null'
          description: Includes the premium chat models.
          example: true
        mcp_enabled:
          type: boolean
          description: Includes AI assistants through the MCP server.
          example: true
        music_enabled:
          type: boolean
          description: Includes AI Music.
          example: true
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2024-09-01T12:00:00.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2026-11-30T18:20:00.000000Z'
        deleted_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the product was withdrawn from sale.
          example: null
    AccountPrice:
      type: object
      description: A price of a product.
      properties:
        id:
          type: integer
          description: The price's ID.
          example: 22
        stripe_id:
          type: string
          description: Stripe price ID.
          example: price_1PzX8yK2mN4pQ7rS
        amount:
          type: integer
          description: Amount in US cents.
          example: 3900
        recurring:
          type: string
          enum:
            - one-time
            - month
            - year
          description: How often it's charged.
          example: month
        quantity:
          type:
            - integer
            - 'null'
          description: For a pack, units per purchase (for example 500 credits).
          example: null
        created_at:
          type: string
          format: date-time
          description: Creation time.
          example: '2024-09-01T12:00:00.000000Z'
        updated_at:
          type: string
          format: date-time
          description: Last change time.
          example: '2024-09-01T12:00:00.000000Z'
        deleted_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the price was withdrawn.
          example: null
        product:
          $ref: '#/components/schemas/AccountProduct'
          description: >-
            The product, only when loaded. On subscriptions, use
            `include=items.product`.
  responses:
    BadRequest:
      description: >-
        The request can't be handled as sent (for example, a filter, sort or
        include the endpoint doesn't allow).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: >-
              Requested filter(s) `colour` are not allowed. Allowed filter(s)
              are `id, name, created_at_before, created_at_after`.
    Unauthenticated:
      description: The API key is missing, malformed, expired or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing:
              summary: No valid key
              value:
                message: Unauthenticated.
            revoked:
              summary: Revoked key
              value:
                message: Token revoked
    Forbidden:
      description: >-
        The key is valid, but its user may not do this (their role doesn't allow
        it, or the account is suspended).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: This action is unauthorized.
    TooManyRequests:
      description: Too many requests in the last minute. Wait `Retry-After` seconds.
      headers:
        Retry-After:
          $ref: '#/components/headers/Retry-After'
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: Too Many Attempts.
  headers:
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        example: 42
    X-RateLimit-Limit:
      description: Requests allowed per minute for the key's user.
      schema:
        type: integer
        example: 200
    X-RateLimit-Remaining:
      description: Requests left in the current one-minute window.
      schema:
        type: integer
        example: 0
    X-RateLimit-Reset:
      description: Unix timestamp (seconds) when the current window resets.
      schema:
        type: integer
        example: 1764672060
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: >
        Send your API key in the `Authorization` header:


        ```

        Authorization: Bearer YOUR_API_KEY

        ```


        Create keys in the Followr app under **Settings > API keys**. A key acts
        as its user, with that user's role in each company.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.