Posts
List posts
GET
Newest first by creation time, unless sort=oldest.
header
AuthorizationBearer <token>Send your key as Authorization: Bearer eksis_sk_....
status?stringKeep only posts in this state.
Value in
"all""draft""pending_approval""scheduled""publishing""published""partially_published""failed"channels?stringComma-separated channel ids. Keeps posts aimed at any of them.
q?stringCase-insensitive text found in the title or the caption.
Length
length <= 200sort?stringOrder by creation time.
Default
"newest"Value in
"newest""oldest"from?stringKeep posts scheduled at or after this time. Posts without a schedule are left out once from or to is set.
Format
date-timeto?stringKeep posts scheduled at or before this time.
Format
date-timelimit?integerRows per page. Values above 100 are clamped to 100.
Range
1 <= value <= 100Default
25cursor?stringThe nextCursor from the previous page, unchanged.
One page of posts.
application/json- 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"}