REST API

Get Posts

API token can be found in "Settings > API".

Endpoint:

GET https://api.blogmaker.app/posts

Query parameters:

status    draft | published
type      post | page
limit     integer (max 100)
offset    integer (requires limit)

Example:

curl "https://api.blogmaker.app/posts?status=published&type=post&limit=10?offset=20" \
  -X GET \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {token}"

Response:

HTTP/1.1 200 OK
Content-Type: application/json

[
  {
    "id": "1d1aeb7e0c70ca8fc8df4e5e6b237371c042c8df",
    "title": "Dark Knight",
    "type": "post",
    "status": "published"
  }
]