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

# Update a post release ID

> Attach the selected provider post ID to a published post currently marked as missing.



## OpenAPI

````yaml /api-reference/openapi.json put /public/v1/workspaces/{workspaceId}/posts/{id}/release-id
openapi: 3.0.0
info:
  title: PostlyBee Public API
  description: >-
    Connect accounts, create and manage social posts, inspect analytics and
    notifications, and upload media with the PostlyBee Public API.
  version: 1.0.0
  contact:
    name: PostlyBee Support
    url: https://postlybee.com
    email: support@postlybee.com
  license:
    name: Proprietary
    url: https://postlybee.com/terms
servers:
  - url: https://api.postlybee.com
    description: Production
security: []
tags:
  - name: Workspaces
    description: List workspaces available to the API token.
  - name: Posts
    description: Create, list, update, and delete social posts.
  - name: Media
    description: Upload media and use enabled video generators.
  - name: Accounts
    description: Discover connected social accounts.
  - name: Analytics
    description: Inspect account and published-post performance.
  - name: Notifications
    description: List workspace notifications.
  - name: Utilities
    description: Verify access and find posting slots.
paths:
  /public/v1/workspaces/{workspaceId}/posts/{id}/release-id:
    put:
      tags:
        - Posts
      summary: Update a post release ID
      description: >-
        Attach the selected provider post ID to a published post currently
        marked as missing.
      operationId: updatePostReleaseId
      parameters:
        - name: id
          required: true
          in: path
          description: Post ID.
          schema:
            type: string
        - name: workspaceId
          required: true
          in: path
          description: Workspace ID returned by GET /public/v1/workspaces.
          schema: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicApiReleaseIdRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiReleaseIdDto'
        '401':
          description: The bearer token is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
        '429':
          description: Hourly API limit exceeded.
      security:
        - public-api: []
components:
  schemas:
    PublicApiReleaseIdRequestDto:
      type: object
      properties:
        releaseId:
          type: string
          example: '7548392019384756'
      required:
        - releaseId
    PublicApiReleaseIdDto:
      type: object
      properties:
        id:
          type: string
          example: clz8v2f6r0001k9p8t5m3w7q1
        releaseId:
          type: string
          example: '7548392019384756'
      required:
        - id
        - releaseId
    PublicApiErrorDto:
      type: object
      properties:
        msg:
          type: string
          example: Invalid API token
      required:
        - msg
  securitySchemes:
    public-api:
      scheme: bearer
      bearerFormat: API token
      type: http
      description: >-
        User API token from Settings → Public API. Access is restricted by
        scopes and workspace selection.

````