Create Post
Create a new post in the feed. User posts may require admin approval depending on app settings.
Authentication: Required — Bearer token.
Feature gate: Requires posts feature enabled.
Request body:
post[name](optional, defaults to “Post”) — Post titlepost[content](required) — Post body contentpost[media_id](optional) — Media ID to attach an image/video
Response: The created post in feed format.
Side effects:
- If user posting requires approval, triggers a
UserPostSubmittedevent (notifies admins) - If auto-approved, post is immediately visible in the feed
Errors:
422— Validation errors (e.g. missing content)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
post
Response
Created