API ReferencePosts
Approve multiple posts at once
Requires scope: `posts:write`, a Pro/Team plan, and a write role. Approves the supplied post IDs.
Authorization
ApiKey AuthorizationBearer <token>
A personal API key created in the dashboard (Starter, Pro, and Team plans).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/posts/batch_approve" \ -H "Content-Type: application/json" \ -d '{ "post_ids": [ 9001, 9002, 9003 ] }'{ "approved": [ 9001, 9002, 9003 ]}Create up to 50 posts in one call POST
Requires scope: `posts:write`. Each item is created in its own transaction, so a single invalid item does not roll back the others. Returns `201` if any item succeeded, `422` if all failed or if more than 50 items were supplied.
Get a post GET
Requires scope: `posts:read`.