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

List posts

GET
/v1/posts

Newest first by creation time, unless sort=oldest.

Authorization

headerAuthorizationBearer <token>

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

Query Parameters

status?string

Keep only posts in this state.

Value in"all""draft""pending_approval""scheduled""publishing""published""partially_published""failed"
channels?string

Comma-separated channel ids. Keeps posts aimed at any of them.

q?string

Case-insensitive text found in the title or the caption.

Lengthlength <= 200
sort?string

Order by creation time.

Default"newest"
Value in"newest""oldest"
from?string

Keep posts scheduled at or after this time. Posts without a schedule are left out once from or to is set.

Formatdate-time
to?string

Keep posts scheduled at or before this time.

Formatdate-time
limit?integer

Rows per page. Values above 100 are clamped to 100.

Range1 <= value <= 100
Default25
cursor?string

The nextCursor from the previous page, unchanged.

Response Body

One page of posts.

application/json
  1. response
data?array<>
nextCursor?|

Pass back as cursor for the next page. null means this was the last page.

curl -X GET 'https://api.eksis.io/v1/posts' \  -H 'Authorization: Bearer eksis_sk_...'
{  "data": [    {      "id": "string",      "title": "string",      "status": "draft",      "caption": "string",      "scheduledAt": "2019-08-24T14:15:22Z",      "publishedAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "channels": [        {          "id": "string",          "platform": "string",          "username": "string"        }      ]    }  ],  "nextCursor": "string"}