Posterly Accounts API

Connected social accounts

GitHub OpenAPI

Operations 3

GET /api/v1/accounts List connected social accounts #
DELETE /api/v1/accounts/{id} Disconnect a social account #
GET /api/v1/accounts/{id}/learned-voice Get learned voice for a connected account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/poster-ly:poster-ly-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

poster-ly-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: posterly Accounts API
  version: 1.0.0
  description: 'REST API for scheduling and managing social posts in posterly. ### Get your API key

    1. Go to `Dashboard -> API & MCP` in posterly. 2. Click **Generate API key**. 3. Copy the key and use it as `Authorization: Bearer pst_live_...`. Agents can create additional scoped API keys with `POST /api/v1/api-keys` and revoke user-created keys with `DELETE /api/v1/api-keys/{id}` after explicit confirmation. Both actions require a dashboard-created API key; OAuth-issued and managed assistant tokens cannot manage API keys. Agents can start a new API signup with `POST /api/v1/signup`. It starts a 7-day free trial of posterly with API and MCP access: a card is required, you are charged on day 8 unless you start the paid plan sooner, and API and MCP are limited during the trial. This returns a poll URL and a browser Checkout link. It never returns an API key before the card is saved and access is active. API page: `https://www.poster.ly/dashboard/api`


    ### Quickstart

    ```bash

    curl -H "Authorization: Bearer pst_live_xxx" \

    https://www.poster.ly/api/v1/accounts

    ```


    ```bash

    curl -X POST https://www.poster.ly/api/v1/posts \

    -H "Authorization: Bearer pst_live_xxx" \

    -H "Content-Type: application/json" \

    -d ''{

    "account_id":"123",

    "platform":"instagram",

    "caption":"Launching soon",

    "post_type":"image",

    "media_urls":["https://assets.poster.ly/users/123/post.jpg"],

    "settings":{"__type":"instagram","post_type":"post"}

    }''

    ```


    Use `POST /api/v1/posts/batch` to create up to 25 posts in a single request. ### X posting limits

    - posterly-managed X posting is limited per workspace monthly X posting cycle. - X posts containing URLs are currently blocked in the API, including bare domains like `poster.ly`. - X thread segments count toward the monthly X allowance one post per tweet segment. - Use `GET /api/v1/x-posting/quota` to inspect the current X allowance before creating posts. ### Rate limits and errors

    - `POST /api/v1/posts` and `POST /api/v1/posts/batch`: 100 requests/hour per API key. - Post creation is also capped at 1,000 created post items/hour per user across all API keys; a batch of 25 counts as 25 items. - `POST /api/v1/media/*`: 120 requests/hour per API key. A signed upload batch (`files`) counts one request per file. - Read endpoints: 300 requests/hour per API key. - Authenticated API traffic is capped at 2,000 requests/hour per user across all API keys. - Each workspace also has a shared hourly budget for every API key and AI app acting in it (owner and teammates together), set by the workspace owner plan: Starter 500 calls and 100 post creates, Pro 1,000 and 200, Power 2,000 and 300, Agency 4,000 and 600. The `429` message names the cap. - Pre-authenticated requests are IP-limited before API key lookup to protect against invalid-token floods. - Every authenticated response includes `X-Request-Id`, `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers. - If rate-limited, the API returns `429` with `retry_after`, `limit`, `remaining`, `reset`, and a `Retry-After` header. ### Teammates and API access

    - A workspace owner with the API add-on can turn on API and AI app access for a teammate (Team settings, or `PATCH /api/v1/workspaces/{workspaceId}/members/{memberId}` with `api_access`). It is off by default, and nobody can change their own. - The teammate then uses their own API keys and AI app connections in that workspace, with their own role and brand limits. Usage, AI credits and quotas count against the workspace owner plan. Viewers get read-only API access: AI generation and media upload endpoints answer `403 insufficient_workspace_permissions` for them. - A `workspace_id` the key may not use through the API answers `403 insufficient_workspace_permissions` before rate limits run. Post creates count against the workspace each post lands in; a batch spanning several workspaces counts once against each. - A key only reaches the workspaces it is allowed to use.'
servers:
- url: https://www.poster.ly
security:
- bearerAuth: []
tags:
- name: Accounts
  description: Connected social accounts
paths:
  /api/v1/accounts:
    get:
      tags:
      - Accounts
      summary: List connected social accounts
      operationId: listAccounts
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          type: string
        description: Filter to a specific workspace.
      responses:
        '200':
          description: Accounts fetched successfully
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountsResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '429':
          $ref: '#/components/responses/RateLimitError'
        '500':
          description: Every item failed because of a server-side error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchCreatePostsResponse'
  /api/v1/accounts/{id}:
    delete:
      tags:
      - Accounts
      summary: Disconnect a social account
      description: 'Disconnects a connected social account owned by the caller. This is irreversible: posterly removes the account row, cleans up local profile-picture storage, preserves reconnect metadata for scheduled posts, archives Instagram analytics, and emits `account.disconnected` webhooks.'
      operationId: disconnectAccount
      parameters:
      - $ref: '#/components/parameters/AccountIdPath'
      responses:
        '200':
          description: Account disconnected successfully
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisconnectAccountResponse'
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '429':
          $ref: '#/components/responses/RateLimitError'
  /api/v1/accounts/{id}/learned-voice:
    get:
      tags:
      - Accounts
      summary: Get learned voice for a connected account
      description: Returns the read-only voice posterly has learned from this account's real published captions, or null until the account has enough published posts to learn from.
      operationId: getAccountLearnedVoice
      parameters:
      - $ref: '#/components/parameters/AccountIdPath'
      responses:
        '200':
          description: Learned voice fetched successfully
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LearnedVoiceResponse'
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '429':
          $ref: '#/components/responses/RateLimitError'
components:
  schemas:
    CreatePostResponse:
      type: object
      properties:
        post:
          type: object
          properties:
            id:
              type: integer
            status:
              type: string
              description: '`publishing` when the post is going out now. `scheduled` when it is for a later time.'
            scheduled_at:
              type: string
              format: date-time
            platform:
              type: string
            post_type:
              type: string
            workspace_id:
              type: string
              nullable: true
            workspace_client_id:
              type: string
              format: uuid
              nullable: true
          required:
          - id
          - status
          - scheduled_at
          - platform
          - post_type
        workspace:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            is_personal:
              type: boolean
            resolved_from:
              type: string
          required:
          - id
          - name
          - is_personal
          - resolved_from
        replayed:
          type: boolean
          description: True when this response is the original post for an Idempotency-Key that was already completed. Present when the request sent a key.
        deduplicated:
          type: boolean
          description: Same value as replayed. True means nothing new was created and post.id is the original post.
        warnings:
          type: array
          description: Present only when a non-blocking warning applies. The post was still created.
          items:
            type: object
            properties:
              code:
                type: string
                enum:
                - tiktok_pending_inbox_cap
                - instagram_first_comment_unsupported
              message:
                type: string
            required:
            - code
            - message
            additionalProperties: false
      required:
      - post
      - workspace
      example:
        post:
          id: 971
          status: scheduled
          scheduled_at: '2026-03-20T10:00:00.000Z'
          platform: instagram
          post_type: image
          workspace_id: 2d0a6d4c-9eef-4ee2-9026-2ca0dc29c8d6
          workspace_client_id: f12e4af7-75d9-4bb3-a501-9a6d058afbee
        workspace:
          id: 2d0a6d4c-9eef-4ee2-9026-2ca0dc29c8d6
          name: Grassroots
          is_personal: false
          resolved_from: account
    BatchCreatePostsResponse:
      type: object
      properties:
        posts:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
                minimum: 0
              post:
                $ref: '#/components/schemas/CreatePostResponse/properties/post'
              workspace:
                $ref: '#/components/schemas/CreatePostResponse/properties/workspace'
              replayed:
                type: boolean
              warnings:
                $ref: '#/components/schemas/CreatePostResponse/properties/warnings'
            required:
            - index
            - post
            - workspace
            - replayed
            additionalProperties: false
        errors:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
                minimum: 0
              status:
                type: integer
              error:
                type: string
              validation_errors:
                type: array
                items:
                  type: object
                  additionalProperties: true
            required:
            - index
            - status
            - error
            additionalProperties: false
        total:
          type: integer
          minimum: 0
        created:
          type: integer
          minimum: 0
        replayed:
          type: integer
          minimum: 0
        failed:
          type: integer
          minimum: 0
      required:
      - posts
      - errors
      - total
      - created
      - replayed
      - failed
      additionalProperties: false
      example:
        posts:
        - index: 0
          replayed: false
          post:
            id: 971
            status: scheduled
            scheduled_at: '2026-03-20T10:00:00.000Z'
            platform: instagram
            post_type: image
            workspace_id: 2d0a6d4c-9eef-4ee2-9026-2ca0dc29c8d6
          workspace:
            id: 2d0a6d4c-9eef-4ee2-9026-2ca0dc29c8d6
            name: Grassroots
            is_personal: false
            resolved_from: account
        errors:
        - index: 1
          status: 400
          error: scheduled_at must be a valid ISO datetime
        total: 2
        created: 1
        replayed: 0
        failed: 1
    LearnedVoiceResponse:
      type: object
      properties:
        learned_voice:
          oneOf:
          - $ref: '#/components/schemas/LearnedVoice'
          - type: 'null'
      required:
      - learned_voice
      additionalProperties: true
      example:
        learned_voice: null
    ValidationErrorItem:
      type: object
      properties:
        field:
          type: string
        code:
          type: string
        message:
          type: string
      required:
      - field
      - code
      - message
      additionalProperties: true
    LearnedVoice:
      type: object
      description: Read-only voice derived from one connected account's real published captions.
      properties:
        social_account_id:
          type: integer
        platform:
          type: string
        username:
          type: string
          nullable: true
        narrative_summary:
          type: string
          nullable: true
        summary:
          type: string
          nullable: true
        traits:
          type: array
          items:
            type: string
        style_guidelines:
          type: array
          items:
            type: string
        observations:
          type: object
          additionalProperties: true
          description: Observed posting habits such as typical caption length, emoji and hashtag usage, question hooks, and line breaks.
        sample_post_ids:
          type: array
          items:
            type: integer
        post_count:
          type: integer
          minimum: 0
        derived_at:
          type: string
          format: date-time
          nullable: true
      required:
      - social_account_id
      - platform
      - username
      - narrative_summary
      - summary
      - traits
      - style_guidelines
      - observations
      - sample_post_ids
      - post_count
      - derived_at
      additionalProperties: true
      example:
        social_account_id: 123
        platform: instagram
        username: thebrightlabuae
        narrative_summary: Your posts are short, upbeat, and usually open with a question.
        summary: Short, conversational captions with practical hooks.
        traits:
        - warm
        - direct
        - practical
        style_guidelines:
        - Open with a one-line hook
        - Keep the caption under two short paragraphs
        observations:
          sample_size: 20
          avg_caption_length: 148
          emoji_rate: 0.8
          hashtag_avg: 2
          question_rate: 0.35
        sample_post_ids:
        - 971
        - 970
        - 969
        post_count: 20
        derived_at: '2026-06-22T04:30:48.378Z'
    Account:
      type: object
      properties:
        id:
          type: string
        platform:
          type: string
        username:
          type: string
          nullable: true
        account_type:
          type: string
          nullable: true
        profile_picture_url:
          type: string
          nullable: true
        workspace_id:
          type: string
          nullable: true
        workspace_client_id:
          type: string
          nullable: true
        location_id:
          type: string
          nullable: true
          description: 'Google Business only: the numeric location id to pass as location_id to GBP tools. Not the ChIJ... Place ID.'
        connection_mode:
          type: string
          enum:
          - meta
          - instagram_direct
          nullable: true
          description: 'Instagram only: whether the account is Meta/Facebook-linked or connected with Instagram Login.'
        instagram_tagging:
          type: object
          nullable: true
          additionalProperties: true
          description: 'Instagram only: account-specific support and post-type rules for caption mentions, native media user tags, and collaborators.'
      required:
      - id
      - platform
      additionalProperties: true
      example:
        id: '123'
        platform: instagram
        username: thebrightlabuae
        account_type: profile
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
          nullable: true
        request_id:
          type: string
          nullable: true
        retry_after:
          type: number
          nullable: true
        upgrade_url:
          type: string
          nullable: true
          description: Where to start the paid plan. Present on free-trial limit errors.
        trial_limit:
          type: boolean
          nullable: true
          description: True when the error is a free-trial limit rather than a plan or rate limit.
        required_plan_code:
          type: string
          nullable: true
          enum:
          - individual_api
          - agency_api
          - enterprise_api
          - null
          description: 'Present on a 403 that blocks API access because of the API and MCP add-on: the add-on plan the account needs.'
        required_plan_name:
          type: string
          nullable: true
          description: Display name of `required_plan_code`.
        required_price_usd:
          type: number
          nullable: true
          description: 'Price of the SELF-SERVE STANDALONE purchase of `required_plan_code` (3 for Starter and legacy plans, 4 for Pro, 5 for Power, 29 for Agency), read with `required_price_interval`. It does not describe the upgrade a paid combined subscription gets: that is a swap of the add-on item on the same subscription, quoted by `addon_swap_offer` on `GET /api/subscription/api-addon`.'
        required_price_interval:
          type: string
          nullable: true
          enum:
          - month
          - year
          - null
          description: 'Billing cadence of `required_price_usd`. Always `month`: the standalone add-on is monthly. A seat on a yearly plan (free trial add-on, or the combined-subscription upgrade) is priced yearly instead (Starter $29, Pro $38, Power $48, Agency $278 a year); the dashboard shows that price, and the upgrade shows an exact quote (`addon_swap_offer`: `amount_due_now_cents`, `renewal_price_usd`, `interval`, `proration_date`) that must be confirmed with its amount and `proration_date` before the saved card is charged (409 `quote_changed` when the amount or date no longer holds; 409 `api_addon_tier_mismatch` when support must fix the plan). The 403 does not quote it.'
        validation_errors:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorItem'
          nullable: true
      required:
      - error
      additionalProperties: true
      example:
        error: Invalid request
        code: validation_error
    AccountsResponse:
      type: object
      properties:
        accounts:
          type: array
          items:
            $ref: '#/components/schemas/Account'
      required:
      - accounts
      example:
        accounts:
        - id: '123'
          platform: instagram
          username: thebrightlabuae
          account_type: profile
          profile_picture_url: https://example.com/avatar.jpg
    DisconnectAccountResponse:
      type: object
      properties:
        disconnected:
          type: boolean
        account:
          $ref: '#/components/schemas/Account'
        stamped_post_count:
          type: integer
          minimum: 0
        transferred_to_account_id:
          type: integer
          nullable: true
        transferred_post_count:
          type: integer
          minimum: 0
        archived_analytics:
          type: object
          properties:
            snapshots:
              type: integer
              minimum: 0
            syncStatus:
              type: boolean
          additionalProperties: true
        restored_analytics:
          type: object
          nullable: true
          properties:
            snapshots:
              type: integer
              minimum: 0
            syncStatus:
              type: boolean
          additionalProperties: true
      required:
      - disconnected
      - account
      - stamped_post_count
      - transferred_to_account_id
      - transferred_post_count
      - archived_analytics
      - restored_analytics
      additionalProperties: true
      example:
        disconnected: true
        account:
          id: '123'
          platform: instagram
          username: thebrightlabuae
          account_type: profile
          workspace_id: 2d0a6d4c-9eef-4ee2-9026-2ca0dc29c8d6
        stamped_post_count: 4
        transferred_to_account_id: null
        transferred_post_count: 0
        archived_analytics:
          snapshots: 30
          syncStatus: true
        restored_analytics: null
  headers:
    XRateLimitReset:
      description: Unix timestamp (seconds) when the rate limit window resets.
      schema:
        type: integer
      example: 1760000100
    XRequestId:
      description: Request correlation ID to share with support.
      schema:
        type: string
      example: req_018f7bbd-1d2e-4b60-a795-0c1b21a99db2
    XRateLimitRemaining:
      description: Requests remaining in the current window.
      schema:
        type: integer
      example: 119
    XRateLimitLimit:
      description: Maximum requests allowed in the current window.
      schema:
        type: integer
      example: 120
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
      example: 60
  responses:
    UnauthorizedError:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            unauthorized:
              summary: Missing bearer token
              value:
                error: Unauthorized
                code: unauthorized
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            notFound:
              value:
                error: Post not found
                code: not_found
    RateLimitError:
      description: Too many requests
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
        X-RateLimit-Limit:
          $ref: '#/components/headers/XRateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/XRateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/XRateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            throttled:
              value:
                error: Rate limit exceeded
                code: rate_limited
                retry_after: 60
                limit: 100
                remaining: 0
                reset: 1780480800
            trialThrottled:
              summary: Free-trial hourly limit
              description: 'While the workspace owner is on the free trial: 20 write requests and 100 read requests per hour (separate buckets). The message leads with starting the paid plan. The wait is a later sentence. reset_at is the reset time as an ISO string.'
              value:
                error: Starting the paid plan ends the trial today and charges $19.00 today (Pro plan $15.00 + AI agent access $4.00). Ask the human which plan they want, call manage_plan with action list, then manage_plan with action confirm_link (omit tier and interval to start the current plan), and send them the confirm link. You cannot charge the card yourself. The free trial also allows only 20 write requests per hour. You can also wait until 25 Oct 2026 at 15:04 UTC, when this hourly limit resets. https://www.poster.ly/dashboard/account/billing
                code: rate_limited
                retry_after: 1800
                limit: 20
                remaining: 0
                reset: 1780480800
                reset_at: '2026-10-25T15:04:00.000Z'
                upgrade_url: https://www.poster.ly/dashboard/account/billing
                trial_limit: true
    ValidationError:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            invalidPayload:
              summary: Missing required field
              value:
                error: 'Validation failed: account_id is required'
                code: validation_error
            xUrlBlocked:
              summary: X post contains a URL
              value:
                error: Please remove the URL from the X post. The April 2026 X update means every post with a URL now costs $0.20. We are working on a solution, but for now please remove the URL to continue with the post.
                code: validation_error
                validation_errors:
                - field: content
                  code: twitter_urls_temporarily_disabled
                  message: Please remove the URL from the X post. The April 2026 X update means every post with a URL now costs $0.20. We are working on a solution, but for now please remove the URL to continue with the post.
            pdfNotLinkedIn:
              summary: PDF sent to a platform other than LinkedIn
              value:
                error: Facebook does not support PDF document posts. LinkedIn is the only platform that can publish a PDF.
                code: validation_error
                validation_errors:
                - field: media
                  code: pdf_requires_linkedin
                  message: Facebook does not support PDF document posts. LinkedIn is the only platform that can publish a PDF.
            facebookReelMediaCount:
              summary: Facebook Reel with anything other than exactly one video
              value:
                error: Facebook Reels require exactly one video. Remove the extra media, or switch Facebook to a post.
                code: facebook_reel_media_count
                validation_errors:
                - field: media
                  code: facebook_reel_media_count
                  message: Facebook Reels require exactly one video. Remove the extra media, or switch Facebook to a post.
            instagramUnsupportedVideoContainer:
              summary: Instagram video uses a container posterly cannot convert (.avi/.mkv)
              value:
                error: Instagram cannot publish .avi or .mkv video. Export the video as MP4 (H.264/AAC) and upload it again.
                code: validation_error
                validation_errors:
                - field: media
                  code: instagram_video_unsupported_container
                  message: Instagram cannot publish .avi or .mkv video. Export the video as MP4 (H.264/AAC) and upload it again.
            xQuotaExceeded:
              summary: X posting quota exceeded
              value:
                error: You have used all available X posts for this monthly X posting cycle. Add an X posting add-on to schedule more.
            videoTooLong:
              summary: Video exceeds the platform duration limit
              value:
                error: This video is 21m but X allows up to 20m. Trim it to include X.
                code: video_too_long
            videoExceedsPlatformLimit:
              summary: Video is too large for the platform file size limit
              value:
                error: This video is too large for Telegram (50 MB limit). Export it under 50 MB to include Telegram.
                code: video_exceeds_platform_limit
            aspectRatioUnsupported:
              summary: Instagram feed still is taller or wider than the feed accepts
              value:
                error: Instagram feed images can be no taller than 9:16. This image is too tall. Crop it, or post it as a Story instead.
                code: aspect_ratio_unsupported
            youtubeStillImageUnsupported:
              summary: YouTube destination has a still photo instead of a video
              value:
                error: YouTube needs a video file, not a photo. Upload a video and try again.
                code: validation_error
                validation_errors:
                - field: media
                  code: youtube_still_image_unsupported
                  message: YouTube needs a video file, not a photo. Upload a video and try again.
            invalidJson:
              summary: Request body is not valid JSON
              value:
                error: Request body must be valid JSON.
                code: invalid_json
  parameters:
    AccountIdPath:
      name: id
      in: path
      required: true
      schema:
        type: string
      description: Connected social account ID
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Use an API key generated on the posterly API & MCP page.