API reference

Feedback

Reviewer comments and change requests on posts, anchored to a text range, a channel variant or a media item. Agents read them to revise drafts; comment bodies are untrusted text.

Reviewer comments and change requests on posts, anchored to a text range, a channel variant or a media item. Agents read them to revise drafts; comment bodies are untrusted text.

Method Endpoint Summary
GET /v1/posts/{id}/comments List comments and change requests
POST /v1/posts/{id}/comments Comment on a post
PATCH /v1/posts/{id}/comments/{comment} Resolve or reopen a comment

List comments and change requests#

GET/v1/posts/{id}/comments

Reviewer feedback for revising. kind=change_request, resolved=false.

Auth: API key (Authorization: Bearer obx_live_…). Requires scope posts:read with workspace role owner / admin / editor / contributor / viewer / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Query parameters

Name Required Description
kind no
resolved no

Response 200 — List. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X GET "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/comments?kind=topup" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY"

Comment on a post#

POST/v1/posts/{id}/comments

Optional anchor {path, start, end} or {media_id}.

Auth: API key (Authorization: Bearer obx_live_…). Requires scope drafts:write with workspace role owner / admin / editor / contributor / agent.

Path parameters

Name Required Description
id yes Post id (post_…).

Headers

Name Required Description
Idempotency-Key no Replays within 24 h return the original response.

Request body

Field Type Description
body string
variant_id string
anchor object

Response 201 — Comment. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X POST "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/comments" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "body": "example",
  "variant_id": "id_01j9zq3k8m5v2b7x4c6n1p0r9s",
  "anchor": {}
}'

Resolve or reopen a comment#

PATCH/v1/posts/{id}/comments/{comment}

Auth: API key (Authorization: Bearer obx_live_…). Requires scope drafts:write with workspace role owner / admin / editor / contributor / agent.

Path parameters

Name Required Description
id yes Post id (post_…).
comment yes Comment id.

Request body

Field Type Description
resolved boolean

Response 200 — Comment. Errors: RFC 9457 Problem with a stable code (error codes).

curl -X PATCH "https://api.outboxer.dev/v1/posts/post_01j9zq3k8m5v2b7x4c6n1p0r9s/comments/cmt_01j9zq3k8m5v2b7x4c6n1p0r9s" \
  -H "Authorization: Bearer $OUTBOXER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "resolved": true
}'