XreplyAIDevelopers
API ReferencePosts

Approve multiple posts at once

Requires scope: `posts:write`, a Pro/Team plan, and a write role. Approves the supplied post IDs.

POST
/posts/batch_approve
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  ]}