Posts — Anomalia API
Search docs… &Cmd;K

Posts

Create, approve, schedule, publish, and manage posts.

GET /brands/:slug/posts

List posts, optionally filtered by status.

Query
?status=pending_user | approved | scheduled | published | failed
Responses
200Array of posts
401Invalid token
curl -X GET \
  https://anomalia.so/api/v1/brands/:slug/posts \
  -H "Authorization: Bearer $TOKEN"
PUT /brands/:slug/posts/:id

Update 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/approve

Approve 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-all

Approve 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/publish

Publish 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/reschedule

Reschedule 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/:id

Delete a post (pending_user only).

Responses
200Deleted
curl -X DELETE \
  https://anomalia.so/api/v1/brands/:slug/posts/:id \
  -H "Authorization: Bearer $TOKEN"