Posts
List posts
GET
https://hivepost.app/v1/postsNewest first. Test keys list test-mode posts; live keys list the workspace's posts.
Query
limitinteger1 to 100. Default 20.
cursorstringnext_cursorfrom the previous page.statusstringOne of
draft,waiting,scheduled,publishing,live,failed,blocked
Returns
200 A page of posts.
Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | No API key, or one that isn't valid (unauthorized). |
| 403 | forbidden, drafts_only, network_not_available | The key can't do this (forbidden, drafts_only), or the network isn't open in the API (network_not_available). |
| 422 | validation_failed, return_url_not_allowed, account_not_connected, text_too_long, media_required, time_in_past | A field is wrong (validation_failed), a connect link's return_url isn't on an allowed domain (return_url_not_allowed), an account needs reconnecting (account_not_connected), or a network refuses the post as it is (e.g. text_too_long, media_required, time_in_past). details lists each problem with the account it is about. |
| 429 | rate_limited | More than 60 requests in a minute (rate_limited). |
| 500 | internal_error | Something went wrong on our side (internal_error). Safe to retry with the same Idempotency-Key. |