> ## 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 API keys

> Lists your REST API keys (`is_api_key: true`), MCP keys (`is_mcp_key: true`) and app sign-ins (both `false`). Secrets are never listed.




## OpenAPI

````yaml /api-reference/openapi.json get /personalAccessTokens
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:
  /personalAccessTokens:
    get:
      tags:
        - API keys
      summary: List API keys
      description: >
        Lists your REST API keys (`is_api_key: true`), MCP keys (`is_mcp_key:
        true`) and app sign-ins (both `false`). Secrets are never listed.
      operationId: listApiKeys
      parameters:
        - name: filter[is_api_key]
          in: query
          required: false
          description: '`true` for REST API keys only, `false` for everything else.'
          schema:
            type: boolean
          example: true
        - name: filter[is_mcp_key]
          in: query
          required: false
          description: '`true` for MCP keys only, `false` for everything else.'
          schema:
            type: boolean
          example: false
        - name: filter[name]
          in: query
          required: false
          description: Only keys whose name contains this text (case-insensitive).
          schema:
            type: string
          example: zapier
        - $ref: '#/components/parameters/AccountCreatedAtBefore'
        - $ref: '#/components/parameters/AccountCreatedAtAfter'
        - name: filter[revoked_at_before]
          in: query
          required: false
          description: Revoked at or before this time (ISO 8601, UTC if no offset).
          schema:
            type: string
            format: date-time
          example: '2026-12-01T00:00:00Z'
        - name: filter[revoked_at_after]
          in: query
          required: false
          description: Revoked at or after this time (ISO 8601, UTC if no offset).
          schema:
            type: string
            format: date-time
          example: '2026-11-01T00:00:00Z'
        - name: filter[last_used_at_before]
          in: query
          required: false
          description: >-
            Last used at or before this time (ISO 8601, UTC if no offset).
            Never-used keys don't match.
          schema:
            type: string
            format: date-time
          example: '2026-09-01T00:00:00Z'
        - name: filter[last_used_at_after]
          in: query
          required: false
          description: Last used at or after this time (ISO 8601, UTC if no offset).
          schema:
            type: string
            format: date-time
          example: '2026-11-01T00:00:00Z'
        - name: sort
          in: query
          required: false
          description: >
            Sort by `id`, `name`, `is_api_key`, `created_at`, `revoked_at` or
            `last_used_at`. Prefix `-` for descending; separate several with
            commas.
          schema:
            type: string
          example: '-last_used_at'
        - $ref: '#/components/parameters/PageNumber'
        - $ref: '#/components/parameters/PageSize'
      responses:
        '200':
          description: A page of keys.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/PersonalAccessToken'
                  links:
                    $ref: '#/components/schemas/PaginationLinks'
                  meta:
                    $ref: '#/components/schemas/PaginationMeta'
              example:
                data:
                  - id: 48213
                    name: Zapier integration
                    is_api_key: true
                    is_mcp_key: false
                    scopes: []
                    company_ids: null
                    token: null
                    ip: 203.0.113.42
                    user_agent: >-
                      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: Macintosh
                    platform: OS X
                    browser: Chrome
                    country: United States
                    country_code: US
                    region: OR
                    region_name: Oregon
                    city: Portland
                    zip: '97201'
                    lat: 45.5152
                    lon: -122.6784
                    timezone: America/Los_Angeles
                    isp: Comcast Cable
                    last_used_at: '2026-12-02T09:58:41.000000Z'
                    expires_at: null
                    revoked_at: null
                    created_at: '2026-10-05T15:12:09.000000Z'
                    updated_at: '2026-12-02T09:58:41.000000Z'
                links:
                  first: >-
                    https://api.followr.ai/api/personalAccessTokens?page%5Bnumber%5D=1
                  last: >-
                    https://api.followr.ai/api/personalAccessTokens?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/personalAccessTokens?page%5Bnumber%5D=1
                      label: '1'
                      active: true
                    - url: null
                      label: Next &raquo;
                      active: false
                  path: https://api.followr.ai/api/personalAccessTokens
                  per_page: 30
                  to: 1
                  total: 1
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    AccountCreatedAtBefore:
      name: filter[created_at_before]
      in: query
      required: false
      description: Created at or before this time (ISO 8601, UTC if no offset).
      schema:
        type: string
        format: date-time
      example: '2026-12-01T00:00:00Z'
    AccountCreatedAtAfter:
      name: filter[created_at_after]
      in: query
      required: false
      description: Created at or after this time (ISO 8601, UTC if no offset).
      schema:
        type: string
        format: date-time
      example: '2026-11-01T00:00:00Z'
    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:
    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'
    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
    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
    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.
  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
    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.