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

# Update Release ID

> Updates the `releaseId` of a post that currently has its release ID set to `"missing"`. This connects the post to its actual published content on the platform, enabling analytics and statistics tracking.

Typically used after calling the **Get Missing Content** endpoint to retrieve the list of available content items.

This reconnects a post that already exists on a network to its entry on your calendar, so her
analytics can find it. Pair it with [Missing Content](/public-api/posts/missing-content), which
lists what the provider has that she has not matched up yet.

<Warning>
  **Validation failures surface as `500`, not `400`.** A malformed body reaches the handler before
  anything rejects it cleanly, so you get a server error rather than a message naming the field
  that was wrong. Validate on your side first.
</Warning>

The release id is whatever the network calls its own published item: a tweet id on X, a media id
on Instagram, a video id on YouTube. [Missing Content](/public-api/posts/missing-content) returns
them in the shape each provider uses, so taking the value straight from there avoids guessing.


## OpenAPI

````yaml PUT /posts/{id}/release-id
openapi: 3.1.0
info:
  title: PostQueen Public API
  description: >-
    API for managing social media posts, integrations, and media uploads in
    PostQueen.


    ## Authentication


    All endpoints require an API key passed in the `Authorization` header:


    ```

    Authorization: your-api-key

    ```


    Get your API key from PostQueen Settings.


    ## Rate Limits


    The create-post endpoint is capped per organization per hour. With
    `API_LIMIT` unset the ceiling is **90 requests per hour**; the shipped
    Compose files and PostQueen Cloud both set it to **30**. No other endpoint
    is throttled.


    ## Terminology


    The UI uses `channel`, but the API uses `integration`. They refer to the
    same thing.


    ## Supported Platforms (34)


    **Social Platforms:** X (Twitter), LinkedIn, LinkedIn Page, Facebook,
    Instagram, Instagram Standalone, Threads, Bluesky, Mastodon, Warpcast
    (Farcaster), Nostr, VK


    **Video Platforms:** YouTube, TikTok


    **Community Platforms:** Reddit, Lemmy, Discord, Slack, Telegram, Kick,
    Twitch


    **Design Platforms:** Pinterest, Dribbble


    **Blogging Platforms:** Medium, Dev.to, Hashnode, WordPress, Moltbook


    **Business:** Google My Business (GMB), Listmonk (newsletters), Whop, Skool
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.postqueen.ai/public/v1
    description: PostQueen Cloud
  - url: https://{host}/api/public/v1
    description: Self-hosted
    variables:
      host:
        default: localhost:4007
        description: Your PostQueen instance domain
security:
  - ApiKeyAuth: []
tags:
  - name: Integrations
    description: Manage connected social media channels
  - name: Posts
    description: Create, list, and delete posts
  - name: Uploads
    description: Upload media files
  - name: Notifications
    description: View organization notifications
  - name: Analytics
    description: View analytics for integrations and posts
  - name: Video Generation
    description: Generate videos with AI
  - name: OAuth
    description: Authorize third-party apps and exchange codes for access tokens
paths:
  /posts/{id}/release-id:
    put:
      tags:
        - Posts
      summary: Update release ID
      description: >-
        Updates the `releaseId` of a post that currently has its release ID set
        to `"missing"`. This connects the post to its actual published content
        on the platform, enabling analytics and statistics tracking.


        Typically used after calling the **Get Missing Content** endpoint to
        retrieve the list of available content items.
      operationId: updateReleaseId
      parameters:
        - name: id
          in: path
          required: true
          description: Post ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - releaseId
              properties:
                releaseId:
                  type: string
                  description: The platform-specific content ID to connect to this post
            example:
              releaseId: '7321456789012345678'
      responses:
        '200':
          description: Release ID updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  releaseId:
                    type: string
              example:
                id: post-123
                releaseId: '7321456789012345678'
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Your PostQueen API key

````