Repost Post
Toggle a repost of a post by the current user. Calling once reposts; calling again removes the repost.
Authentication: Required — Bearer token (no visitor fallback).
Feature gate: Requires posts feature enabled.
Path parameters:
id(required) — Post ID (numeric, not slug)
Response:
data.reposted— true when reposted, false when undonedata.reposts_count— Updated repost count
Side effects: Broadcasts a FEED_UPDATED websocket event.
Errors:
403—visitors_cannot_repostorreposting_unavailable422—cannot_repost_a_repostor validation errors404— Post not found
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Response
OK