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

# Create a tag

> Creates a tag. Put it on post groups and queues with `tags_ids`, to decide which queue takes which groups.

Roles: owner, admin, user.




## OpenAPI

````yaml /api-reference/openapi.json post /tags
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:
  /tags:
    post:
      tags:
        - Tags
      summary: Create a tag
      description: >
        Creates a tag. Put it on post groups and queues with `tags_ids`, to
        decide which queue takes which groups.


        Roles: owner, admin, user.
      operationId: createTag
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - company_id
                - name
              properties:
                company_id:
                  type: integer
                  description: The company's ID.
                  example: 1287
                name:
                  type: string
                  maxLength: 255
                  description: The tag's name.
                  example: Launch
                color:
                  type: string
                  maxLength: 255
                  description: Color in the app, as a CSS hex code.
                  example: '#F97316'
                active:
                  type: boolean
                  default: true
                  description: '`false` creates it archived.'
                  example: true
            example:
              company_id: 1287
              name: Launch
              color: '#F97316'
      responses:
        '201':
          description: Created. Fields you didn't send are `null` here.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Tag'
              example:
                data:
                  id: 731
                  company_id: 1287
                  active: null
                  name: Launch
                  color: '#F97316'
                  created_at: '2026-11-02T10:00:00.000000Z'
                  updated_at: '2026-11-02T10:00:00.000000Z'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  schemas:
    Tag:
      type: object
      description: >-
        A label for a company's post groups. It also decides which queue takes a
        waiting group.
      properties:
        id:
          type: integer
          description: The tag's ID.
          example: 731
        company_id:
          type: integer
          description: The company's ID.
          example: 1287
        active:
          type:
            - boolean
            - 'null'
          description: >
            `false` when archived: hidden from the app's tag picker, still on
            its post groups. `null` in a create response if not sent (stored as
            `true`).
          example: true
        name:
          type: string
          description: The tag's name.
          example: Launch
        color:
          type:
            - string
            - 'null'
          description: Color in the app.
          example: '#F97316'
        created_at:
          type: string
          format: date-time
          description: When the tag was created.
          example: '2026-11-02T10:00:00.000000Z'
        updated_at:
          type: string
          format: date-time
          description: When the tag last changed.
          example: '2026-11-02T10:00:00.000000Z'
        company:
          $ref: '#/components/schemas/Company'
          description: The company. Only with `include=company`.
        postGroups:
          type: array
          description: Post groups with this tag. Only with `include=postGroups`.
          items:
            $ref: '#/components/schemas/PostGroupSummary'
    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'
    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'
    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.
    ValidationError:
      type: object
      description: Returned with `422 Unprocessable Content` when the request isn't valid.
      required:
        - message
        - errors
      properties:
        message:
          type: string
          description: The first error, followed by a count of the others.
          example: The name field is required. (and 1 more error)
        errors:
          type: object
          description: >-
            Every invalid field, keyed by its path in the request
            (`rows.0.content` for nested fields), with one or more messages.
          additionalProperties:
            type: array
            items:
              type: string
          example:
            name:
              - The name field is required.
            publish_at:
              - The publish at field must be a valid date.
    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'
    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'
    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`.
    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'
    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'
    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`.
    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'
    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
    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
    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
    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'
    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
    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
    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`.
    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
    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:
    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.
    NotFound:
      description: No resource with this ID, or it was deleted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: No query results for model [App\Models\PostGroup] 99999999
    ValidationFailed:
      description: One or more fields are invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
    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.