Posts
Create, approve, schedule, publish, and manage posts.
GET
/brands/:slug/postsList posts, optionally filtered by status.
Query
?status=pending_user | approved | scheduled | published | failedResponses
200Array of posts
401Invalid token
curl -X GET \ https://anomalia.so/api/v1/brands/:slug/posts \ -H "Authorization: Bearer $TOKEN"
PUT
/brands/:slug/posts/:idUpdate a post.
Request Body
{ "caption": "New text", "platforms": ["instagram"] }Responses
200Updated
404Not found
curl -X PUT \
https://anomalia.so/api/v1/brands/:slug/posts/:id \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "caption": "New text", "platforms": ["instagram"] }'POST
/brands/:slug/posts/:id/approveApprove and publish a single post.
Responses
200Approved
curl -X POST \ https://anomalia.so/api/v1/brands/:slug/posts/:id/approve \ -H "Authorization: Bearer $TOKEN"
POST
/brands/:slug/posts/approve-allApprove all pending posts.
Responses
200Bulk result
curl -X POST \ https://anomalia.so/api/v1/brands/:slug/posts/approve-all \ -H "Authorization: Bearer $TOKEN"
POST
/brands/:slug/posts/:id/publishPublish immediately.
Responses
200Published
curl -X POST \ https://anomalia.so/api/v1/brands/:slug/posts/:id/publish \ -H "Authorization: Bearer $TOKEN"
POST
/brands/:slug/posts/:id/rescheduleReschedule a post.
Request Body
{ "scheduled_for": "2026-06-22T14:00:00Z" }Responses
200Rescheduled
curl -X POST \
https://anomalia.so/api/v1/brands/:slug/posts/:id/reschedule \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "scheduled_for": "2026-06-22T14:00:00Z" }'DELETE
/brands/:slug/posts/:idDelete a post (pending_user only).
Responses
200Deleted
curl -X DELETE \ https://anomalia.so/api/v1/brands/:slug/posts/:id \ -H "Authorization: Bearer $TOKEN"