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

# Add a blog feed

> Watch a blog and turn its new articles into posts.

> [!NOTE]
>
> Needs `blog_sources:create`, and a role in the workspace that can write posts: owners, managers, content managers and content creators can (the roles that can write posts). See [Permissions](https://docs.postsyncer.com/essentials/authentication.md#permissions).

PostSyncer reads `url` first, as the app's **Verify** button does: when it finds no article there, the feed is refused with `422` and the message `No articles were found at this address. Give the blog's page or its RSS feed.`, and nothing is saved. Give the blog's page or its RSS or Atom feed.

Then each new article becomes a post for `account_ids`, written with AI from the workspace owner's credits:

* `posting_schedule: "DRAFT"` saves each one as a draft for you to check.
* `"DAILY"` schedules it at `posting_time`, in the workspace's timezone, given as `09:00` or `09:00 AM` (midnight when left out). Other text is refused with `422`.
* `"AUTO_QUEUE"` gives it the workspace's next free posting time.

Posts are written only while the workspace owner is on a paid plan. On Free the feed is saved, and no post is written from it.

The workspace is checked first, then your role, then the body, then the address.

Each address read costs a page read and an AI pick, so a workspace has 30 read a day, whatever is found there: a new feed or a new `url` past that reads nothing and answers `429` with `error: rate_limited`, a `Retry-After` header and the wait in the message. A request refused before the address is read doesn't count.

## Errors

| Status | `error` | When | Retry? |
| - | - | - | - |
| 401 | | No API key, or not a valid one. | No: fix the key. |
| 403 | | The key lacks `blog_sources:create`, or its user is inactive. | No: grant it in Settings → API. |
| 403 | | Your role in the workspace can't write posts. | No. |
| 422 | | No `workspace_id`, or one the key can't reach, a missing field, a value that isn't one of the listed ones, an account that isn't in the workspace, or no article found at `url`. | No: fix the request. |
| 429 | `rate_limited` | The workspace had 30 blog addresses read today. Nothing was read or saved. | Yes, after `Retry-After` seconds. |
| 429 | | More than 60 requests a minute. | Yes, after `Retry-After` seconds. |

## Related

* [List blog feeds](https://docs.postsyncer.com/api-reference/blog-sources/list.md): the feeds there are.
* [Update a blog feed](https://docs.postsyncer.com/api-reference/blog-sources/update.md): change one, or pause it.


## OpenAPI

````yaml POST /blog-sources
openapi: 3.0.3
info:
  title: PostSyncer API
  description: >-
    Post to 12 social networks from your code: posts, media, comments,
    analytics, webhooks and more.
  version: 1.0.0
servers:
  - url: https://postsyncer.com/api/v1
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: The workspaces the key can reach.
  - name: Accounts
    description: Connected social accounts, links to connect more, and disconnecting them.
  - name: Posts
    description: Drafts, scheduled and published posts, approvals and a post's history.
  - name: Post settings
    description: A post's auto-plug, comment moderation and contact collection.
  - name: Media
    description: >-
      The media library: file uploads, URL imports, and reading videos and
      social posts' files.
  - name: Folders
    description: Folders that organise the media library.
  - name: Comments
    description: >-
      Comments on your posts: reading, replying, editing, hiding, deleting and
      syncing them.
  - name: Reviews
    description: Google Business Profile reviews and your replies to them.
  - name: Analytics
    description: Workspace, account and post performance.
  - name: Brand
    description: >-
      A workspace's brand: identity, voice, look, accounts, competitors,
      learnings and rules.
  - name: Labels
    description: Labels used to tag posts.
  - name: Campaigns
    description: Campaigns used to group posts.
  - name: Snippets
    description: Saved snippets and hashtag groups to drop into posts.
  - name: Webhooks
    description: Signed webhook endpoints that get your notification events.
  - name: Billing
    description: >-
      The owner's plan, invoices and the links that pay for, change or cancel
      it.
  - name: Team
    description: A workspace's teammates and invitations, and their roles.
  - name: Notifications
    description: >-
      Your bell and notification settings, and the workspace's Slack, Discord
      and Telegram channels.
  - name: Blog-to-social
    description: Blog feeds that turn a workspace's new articles into posts.
  - name: Products
    description: Products the workspace's posts can promote.
  - name: Contacts
    description: People who commented on the workspace's posts, and the lists they are on.
  - name: Profile
    description: 'The key''s user: their name and sign-in email.'
  - name: API keys
    description: 'Your API keys: listing and deleting them.'
  - name: Agent sign-up
    description: >-
      An AI agent signs a person up with a code emailed to them, and gets their
      first key. No key needed.
paths:
  /blog-sources:
    post:
      tags:
        - Blog-to-social
      summary: Add a blog feed
      description: >-
        Needs `blog_sources:create`. Your role in the workspace must also let
        you create posts. Reads the blog's address first, as the app does: an
        address where no article is found is refused with `422` on `url`, and
        nothing is saved. The feed starts on, as the workspace owner's. Its
        posts are written with AI from the owner's credits, and only while the
        owner is on a paid plan: a Free owner's feed is saved and waits. A
        workspace has 30 addresses read a day, whatever is found there: past
        that, a new feed answers `429` with `error: rate_limited`.
      operationId: createBlogSource
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - workspace_id
                - name
                - url
                - account_ids
                - image_option
                - posting_schedule
                - link_placement
              properties:
                workspace_id:
                  type: integer
                  description: The workspace. It must be one the key can reach.
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                  description: A name for the feed, shown in the app.
                url:
                  type: string
                  maxLength: 2048
                  description: >-
                    The blog's page or its RSS or Atom feed. It is read first:
                    an address where no article is found is refused.
                account_ids:
                  type: array
                  minItems: 1
                  items:
                    type: integer
                  description: The workspace's accounts the posts go to.
                image_option:
                  type: string
                  enum:
                    - WITHOUT_IMAGE
                    - AUTO
                    - WITH_IMAGE
                    - AI_SOCIAL_QUOTE_CARD
                    - AI_SOCIAL_INFOGRAPHIC
                    - AI_SOCIAL_MINIMAL
                    - BLOG_FEATURED_IMAGE
                  description: >-
                    The picture with each post: none, the article's featured
                    image, one PostSyncer picks or makes (`AUTO`, `WITH_IMAGE`),
                    or an AI quote card, infographic or minimal card.
                posting_schedule:
                  type: string
                  enum:
                    - DAILY
                    - AUTO_QUEUE
                    - DRAFT
                  description: >-
                    `DAILY` posts at `posting_time`, `AUTO_QUEUE` takes the
                    workspace's next free posting time, `DRAFT` saves each post
                    as a draft for you to check.
                link_placement:
                  type: string
                  enum:
                    - MAIN_POST
                    - FIRST_COMMENT
                    - NO_LINK
                  description: >-
                    Where the article's link goes: in the post, in its first
                    comment, or nowhere.
                posting_time:
                  type: string
                  nullable: true
                  description: >-
                    For `DAILY`: the time of day in the workspace's timezone, as
                    `09:00` or `09:00 AM` (the form answers give). Any other
                    text is refused with `422`. Left out on a new feed:
                    midnight.
                custom_prompt:
                  type: string
                  nullable: true
                  maxLength: 5000
                  description: >-
                    Extra words for the AI that writes the posts, like the tone
                    to use.
            examples:
              default:
                summary: A daily feed
                value:
                  workspace_id: 12
                  name: Halden journal
                  url: https://haldencoffee.com/journal
                  account_ids:
                    - 41
                  image_option: BLOG_FEATURED_IMAGE
                  posting_schedule: DAILY
                  link_placement: FIRST_COMMENT
                  posting_time: '09:00'
                  custom_prompt: Warm and short. End with a question for the reader.
      responses:
        '201':
          description: The feed. It has no posts yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlogSource'
              examples:
                default:
                  summary: A new feed
                  value:
                    id: 77
                    name: Halden journal
                    url: https://haldencoffee.com/journal
                    image_option: BLOG_FEATURED_IMAGE
                    posting_schedule: DAILY
                    link_placement: FIRST_COMMENT
                    posting_time: 09:00 AM
                    custom_prompt: Warm and short. End with a question for the reader.
                    is_active: true
                    accounts:
                      - id: 41
                        workspace_id: 12
                        platform: linkedin
                        username: haldencoffee
                        name: Halden Coffee
                        avatar: https://cdn.postsyncer.com/examples/halden-logo.jpg
                        has_expired: false
                        needs_reconnect: false
                        reconnect_reason: null
                        platform_hold: null
                        renewal_failing: null
                        sign_in_ends_at: '2031-01-10T09:00:00.000000Z'
                        profile_url: https://www.linkedin.com/company/haldencoffee
                        is_default: true
                        support_threads: false
                        is_verified: false
                        plan_allows_posting: true
                        analytics_unavailable: null
                    posts_count: 0
                    created_at: '2030-03-05T10:12:00.000000Z'
                    updated_at: '2030-03-05T10:12:00.000000Z'
                    workspace_id: 12
                    recent_posts: []
        '401':
          $ref: '#/components/responses/Unauthorized401'
        '403':
          description: >-
            The key lacks `blog_sources:create`, or its user is inactive, or
            your role in the workspace doesn't allow it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_permission:
                  summary: The key lacks blog_sources:create
                  value:
                    message: >-
                      This API key does not have the "blog_sources:create"
                      permission. Edit the key in PostSyncer under Settings →
                      API to grant it.
                inactive_account:
                  summary: The key's user is inactive
                  value:
                    message: Your account is inactive.
                role:
                  summary: Your role can't do this
                  value:
                    message: >-
                      Your role in the workspace "Halden Coffee" does not allow
                      you to create posts. Ask the workspace owner or a manager
                      to do it, or to change your role.
        '422':
          description: >-
            No article was found at `url`, the workspace is one the key can't
            reach, an account isn't the workspace's, or a field is missing or
            not one of its values. Nothing is saved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
              examples:
                no_articles:
                  summary: No article at the address
                  value:
                    message: >-
                      No articles were found at this address. Give the blog's
                      page or its RSS feed.
                    errors:
                      url:
                        - >-
                          No articles were found at this address. Give the
                          blog's page or its RSS feed.
                workspace_id:
                  summary: A workspace the key can't reach
                  value:
                    message: Invalid workspace ID.
                    errors:
                      workspace_id:
                        - Invalid workspace ID.
                account_ids:
                  summary: An account of another workspace
                  value:
                    message: The selected account_ids.0 is invalid.
                    errors:
                      account_ids.0:
                        - The selected account_ids.0 is invalid.
        '429':
          description: >-
            30 blog addresses checked today in this workspace (`error:
            rate_limited`): nothing was read or saved. Or more than 60 requests
            in a minute from this key's user (`Too Many Attempts.`, with the
            `X-RateLimit-*` headers). Nothing was done. Wait `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds until requests are allowed again.
              schema:
                type: integer
            X-RateLimit-Limit:
              description: Requests allowed a minute.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left this minute.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: When requests are allowed again, as a Unix timestamp.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                feed_checks:
                  summary: 30 addresses checked today
                  value:
                    error: rate_limited
                    message: >-
                      This workspace checked 30 blog addresses today. You can
                      check another in 9 hours.
                too_many_attempts:
                  summary: Too many requests
                  value:
                    message: Too Many Attempts.
components:
  schemas:
    BlogSource:
      type: object
      description: >-
        A blog feed: PostSyncer reads the blog every day and writes a post from
        each new article for the feed's accounts.
      required:
        - id
        - name
        - url
        - image_option
        - posting_schedule
        - link_placement
        - posting_time
        - custom_prompt
        - is_active
        - accounts
        - posts_count
        - created_at
        - updated_at
        - workspace_id
        - recent_posts
      properties:
        id:
          type: integer
        name:
          type: string
        url:
          type: string
          description: The blog's page or feed.
        image_option:
          type: string
          enum:
            - WITHOUT_IMAGE
            - AUTO
            - WITH_IMAGE
            - AI_SOCIAL_QUOTE_CARD
            - AI_SOCIAL_INFOGRAPHIC
            - AI_SOCIAL_MINIMAL
            - BLOG_FEATURED_IMAGE
        posting_schedule:
          type: string
          enum:
            - DAILY
            - AUTO_QUEUE
            - DRAFT
        link_placement:
          type: string
          enum:
            - MAIN_POST
            - FIRST_COMMENT
            - NO_LINK
        posting_time:
          type: string
          nullable: true
          description: >-
            The time of day posts go out, in the workspace's timezone, like
            `09:00 AM`.
        custom_prompt:
          type: string
          nullable: true
        is_active:
          type: boolean
          description: False while the feed is paused.
        accounts:
          type: array
          items:
            $ref: '#/components/schemas/Account'
        posts_count:
          type: integer
          description: Posts the feed has made.
        created_at:
          type: string
        updated_at:
          type: string
        workspace_id:
          type: integer
        recent_posts:
          type: array
          items:
            $ref: '#/components/schemas/BlogSourceRecentPost'
          description: The feed's 5 newest posts, newest first.
    Error:
      type: object
      description: >-
        An error answer. Every one has `message`, in plain words; some add an
        `error` code and fields of their own.
      required:
        - message
      properties:
        message:
          type: string
          description: What went wrong and what to do about it.
        error:
          type: string
          description: >-
            A code a few errors add, such as `rate_limited`. See [Handle
            errors](/essentials/error-handling#answers-with-an-error-code).
    ValidationError:
      type: object
      description: '422: the request didn''t pass validation, and nothing changed.'
      required:
        - message
        - errors
      properties:
        message:
          type: string
          description: >-
            The first error and, when there are more, how many: `(and 1 more
            error)`, `(and 2 more errors)`.
        errors:
          type: object
          description: >-
            The messages, by field. A field inside a list is named with dots:
            `accounts.0.id`.
          additionalProperties:
            type: array
            items:
              type: string
    Account:
      type: object
      description: A connected social account.
      required:
        - id
        - workspace_id
        - platform
        - username
        - name
        - avatar
        - has_expired
        - needs_reconnect
        - reconnect_reason
        - platform_hold
        - renewal_failing
        - sign_in_ends_at
        - profile_url
        - is_default
        - support_threads
        - is_verified
        - plan_allows_posting
        - analytics_unavailable
      properties:
        id:
          type: integer
          description: The account's id. Posts take it in `accounts[].id`.
        workspace_id:
          type: integer
        platform:
          type: string
          enum:
            - twitter
            - linkedin
            - instagram
            - facebook
            - tiktok
            - youtube
            - threads
            - pinterest
            - bluesky
            - telegram
            - mastodon
            - google_business
          description: >-
            The network. `twitter` is X; `google_business` is Google Business
            Profile.
        username:
          type: string
          nullable: true
          description: >-
            The handle on the network, without `@` (a Mastodon handle includes
            its server).
        name:
          type: string
          nullable: true
          description: The display name on the network.
        avatar:
          type: string
          description: >-
            The profile picture, or an avatar made from the name when there is
            none.
        has_expired:
          type: boolean
          description: The same as `needs_reconnect`, kept for older integrations.
        needs_reconnect:
          type: boolean
          description: >-
            True when the sign-in no longer works, so the account can't post
            until someone reconnects it in PostSyncer. A new post leaves it out
            and lists it in `skipped_accounts`.
        reconnect_reason:
          type: string
          nullable: true
          description: >-
            The network's reason the account needs reconnecting, when it gave
            one. Null when `needs_reconnect` is false.
        platform_hold:
          type: object
          nullable: true
          description: >-
            Set when the network holds the account until its owner acts there
            (an identity check, a lock, a suspension, a restriction, the bot
            removed from a channel). The sign-in still works, so no reconnect is
            needed: posts to it fail with the network's reason until the hold is
            resolved there, and trying a failed post again asks the network
            again. Null when not held.
          required:
            - reason
            - scope
            - since
            - next_check_at
          properties:
            reason:
              type: string
              nullable: true
              description: The network's own words.
            scope:
              type: string
              nullable: true
              enum:
                - publish
                - all
                - null
              description: >-
                `publish`: only posting is held. `all`: everything the account
                does is.
            since:
              type: string
              format: date-time
              nullable: true
              description: When the network first refused.
            next_check_at:
              type: string
              format: date-time
              nullable: true
              description: >-
                When PostSyncer asks the network again (every 3 hours). Null
                while a retry is letting posts through.
        renewal_failing:
          type: object
          nullable: true
          description: >-
            Set when the network refused to renew a sign-in that still works.
            The account keeps posting until `works_until`; if the renewal is
            still refused then, it needs a reconnect. Null when renewals are
            fine.
          required:
            - reason
            - since
            - works_until
          properties:
            reason:
              type: string
              nullable: true
              description: The network's reason for refusing.
            since:
              type: string
              format: date-time
              nullable: true
              description: When the renewal was first refused.
            works_until:
              type: string
              format: date-time
              nullable: true
              description: >-
                When the sign-in stops working. Reconnect the account before
                then.
        sign_in_ends_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the network ends this sign-in whatever PostSyncer does
            (LinkedIn: a year after it was connected). Reconnect the account
            before then. Null when the network doesn't say.
        profile_url:
          type: string
          nullable: true
          description: >-
            The account's own page on its network. Null when PostSyncer can't
            make one, for example a Mastodon account without its server, or a
            Telegram channel with no public name.
        is_default:
          type: boolean
          description: Whether the account is picked by default for new posts.
        support_threads:
          type: boolean
          nullable: true
          description: >-
            Whether a post can be a thread of several parts on this network (X,
            Threads, Bluesky and Mastodon).
        is_verified:
          type: boolean
          nullable: true
          description: >-
            Whether the network marks the account verified (X only; false
            elsewhere).
        plan_allows_posting:
          type: boolean
          description: >-
            False when the owner's plan doesn't let new posts go to this account
            (Free after the first week: 2 picked accounts). Drafts, replies and
            analytics still work.
        can_publish_articles:
          type: boolean
          description: >-
            X accounts only: true when X lets the account publish Articles (X
            Premium or Premium+). Absent for other networks.
        analytics_unavailable:
          type: object
          nullable: true
          description: >-
            Why this account's post numbers can't be read, or null when they
            can. Its posts' numbers are not read meanwhile.
          required:
            - reason
            - message
          properties:
            reason:
              type: string
              enum:
                - x_private
                - linkedin_reconnect
                - pinterest_not_business
                - google_business_no_post_stats
                - telegram_private
              description: >-
                `x_private`: a private X account. `linkedin_reconnect`: a
                LinkedIn profile on the older connection; reconnect it.
                `pinterest_not_business`: not a Pinterest business account.
                `google_business_no_post_stats`: Google gives numbers for a
                location, never for one post. `telegram_private`: a private
                Telegram channel shows no views (subscribers are still counted).
            message:
              type: string
              description: The same, in words to show a person.
        is_page:
          type: boolean
          description: >-
            LinkedIn accounts only: true for a Company Page, false for a person.
            Absent for other networks.
        location:
          type: object
          description: >-
            Google Business Profile accounts only: the location this account is.
            Absent for other networks.
          required:
            - address
            - verified
            - can_post
            - maps_uri
            - new_review_uri
          properties:
            address:
              type: string
              nullable: true
            verified:
              type: boolean
              description: Whether Google verified the location.
            can_post:
              type: boolean
              description: Whether Google lets the location publish posts.
            maps_uri:
              type: string
              nullable: true
              description: The location on Google Maps.
            new_review_uri:
              type: string
              nullable: true
              description: The link that opens Google's form for a new review.
        boards:
          type: array
          description: >-
            List accounts and Get account only. A Pinterest account's boards,
            read from Pinterest; `[]` for other networks, and when Pinterest
            can't be read. Pass a board's `id` as `accounts[].settings.board_id`
            on a post.
          items:
            type: object
            required:
              - id
              - name
              - image_cover_url
            properties:
              id:
                type: string
                nullable: true
              name:
                type: string
              image_cover_url:
                type: string
                nullable: true
        playlists:
          type: array
          nullable: true
          description: >-
            Get account only. A YouTube channel's own playlists, read from
            YouTube, up to 500. `[]` for other networks and when
            `playlists_reconnect` is `true`. `null` when YouTube didn't answer:
            the channel may still have playlists, so try again later. Pass a
            playlist's `id` as `accounts[].settings.playlist_id` on a post to
            add the video to it.
          items:
            type: object
            required:
              - id
              - title
              - privacy_status
              - video_count
            properties:
              id:
                type: string
              title:
                type: string
              privacy_status:
                type: string
                nullable: true
                enum:
                  - public
                  - unlisted
                  - private
                  - null
                description: Who can see the playlist.
              video_count:
                type: integer
                nullable: true
                description: How many videos it holds.
        playlists_reconnect:
          type: boolean
          description: >-
            Get account only. `true` for a YouTube channel that must be
            reconnected to list its playlists and add videos to them: it was
            connected before PostSyncer asked YouTube for that permission, or
            its sign-in no longer works. `false` for every other account.
        scheduled_posts:
          type: object
          description: >-
            Get account only. Scheduled posts still to go out to this account.
            Deleting the account moves the ones that go only to it to drafts
            (they keep their time); the others still go to their other accounts.
          required:
            - total
            - only_this_account
          properties:
            total:
              type: integer
            only_this_account:
              type: integer
              description: The ones with no other account.
        posts_to_put_back:
          type: object
          nullable: true
          description: >-
            Get account only. Set when this profile was disconnected and
            connected again to the same workspace, and posts it was on can get
            it back with [Put back account
            posts](/api-reference/accounts/put-back-posts). Null otherwise.
          required:
            - posts
            - counts
            - relinked
            - disconnected_at
          properties:
            posts:
              type: integer
              description: Posts that would get the account back.
            counts:
              $ref: '#/components/schemas/PutBackCounts'
            relinked:
              type: integer
              description: >-
                Published posts already linked to the account again, with their
                link, numbers and comments. That happens on its own at the
                reconnect and sends nothing.
            disconnected_at:
              type: string
              format: date-time
              nullable: true
              description: When the profile was disconnected.
    BlogSourceRecentPost:
      type: object
      required:
        - id
        - status
        - content
        - created_at
      properties:
        id:
          type: integer
          description: 'The post''s id: read it whole with GET /posts/{id}.'
        status:
          type: string
          description: The post's status, like `DRAFT`, `SCHEDULED` or `PUBLISHED`.
        content:
          type: string
          description: The start of the post's text, up to 210 characters.
        created_at:
          type: string
          nullable: true
    PutBackCounts:
      type: object
      description: >-
        Posts by what putting back does with them (all 11 are always there):
        `scheduled_again` (a draft the disconnect took off the schedule,
        unchanged since, scheduled again at its time), `added_to_scheduled`
        (scheduled or waiting for approval: the account is added, the time
        stays), `added_to_draft` (a draft stays a draft),
        `added_to_draft_time_passed` and `added_to_draft_changed` (taken off the
        schedule by the disconnect, but its time passed or it was edited since,
        so it stays a draft), `added_to_draft_refused` (kept a draft because the
        plan's post limit refused scheduling it), `skipped_deleted`,
        `skipped_already_there`, `skipped_went_out` (published, failed or
        sending), `skipped_time_passed` (due within 5 minutes), and `not_done`
        (an error stopped it; calling again tries it again).
      required:
        - scheduled_again
        - added_to_scheduled
        - added_to_draft
        - added_to_draft_time_passed
        - added_to_draft_changed
        - added_to_draft_refused
        - skipped_deleted
        - skipped_already_there
        - skipped_went_out
        - skipped_time_passed
        - not_done
      properties:
        scheduled_again:
          type: integer
        added_to_scheduled:
          type: integer
        added_to_draft:
          type: integer
        added_to_draft_time_passed:
          type: integer
        added_to_draft_changed:
          type: integer
        added_to_draft_refused:
          type: integer
        skipped_deleted:
          type: integer
        skipped_already_there:
          type: integer
        skipped_went_out:
          type: integer
        skipped_time_passed:
          type: integer
        not_done:
          type: integer
  responses:
    Unauthorized401:
      description: No API key, or not a valid one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unauthenticated:
              summary: No valid API key
              value:
                message: Unauthenticated.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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