The API reference moved here from eksis.io/developers.
Posts

Approve a post

POST
/v1/posts/{postId}/approve

Approves a post a contributor submitted, so it goes out at its scheduled time. Needs a key with the editor role or higher. Only a post whose status is pending_approval can be approved.

Authorization

headerAuthorizationBearer <token>

Send your key as Authorization: Bearer eksis_sk_....

Path Parameters

postId*string

Response Body

The post is scheduled.

application/json
  1. response
data?
curl -X POST 'https://api.eksis.io/v1/posts/string/approve' \  -H 'Authorization: Bearer eksis_sk_...'
{  "data": {    "id": "string",    "status": "draft",    "scheduledAt": "2019-08-24T14:15:22Z"  }}