---
title: "Read a post command receipt"
method: GET
path: "/v1/posts/operations/{operationId}"
tags: ["posts"]
---

# Read a post command receipt

`GET /v1/posts/operations/{operationId}`

## Request

- Base URL: `https://app.legend.trade/api/rest`
- URL: `https://app.legend.trade/api/rest/v1/posts/operations/{operationId}`
- Auth: HTTP bearer

## Path parameters

- `operationId` string, uuid, required

## Response `200`

Successful response

- PostOperationOutput
  - `receipt` PostCommandReceipt, required
    - `operationId` string, uuid, required
    - `status` 'succeeded' | 'rejected', required
    - `result` PostCommandResult, required
      - `postId` string, uuid, required
      - `messageId` string, uuid
      - `commentMessageId` string, uuid
      - `chatRoomId` string, uuid, nullable
      - `liked` boolean
      - `likeCount` integer
      - `revision` string
      - `commentsRevision` string
    - `error` object, nullable, required
      - `code` string, required
      - `message` string, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `404`: Not found
- `500`: Internal server error

## Changes

- **2026-10-19** `a1df32202e48`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/legend/apis/legend-api/changes/v1/posts/operations/:operationId/get.md)

---

[API](https://skmtc.dev/legend/apis/legend-api.md) - [All operations](https://skmtc.dev/legend/apis/legend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/legend/apis/legend-api/revisions/c3e45061cf81?raw)
