Posts
List posts
List recent posts visible to the credential using cursor pagination.
Request
bash
curl 'https://app.trovv.io/api/v1/posts?page[limit]=25&status=scheduled' -H "Authorization: Bearer $TROVV_API_KEY"Query parameters
| Parameter | Type | Description |
|---|---|---|
page[limit] | integer 1–100 | Page size; default 25 |
page[after] | string | Opaque cursor |
status | string | Optional post-status filter |
Response
json
{"data":[{"id":"post_123","status":"scheduled","media":[],"targets":[]}],"page":{"hasMore":false,"next":null,"limit":25}}Errors
| Status | Code | Meaning |
|---|---|---|
400 | invalid_request | A parameter or body field is invalid. |
401 | http_401 | The credential is missing, malformed, expired, or revoked. |
403 | http_403 | The credential lacks the required scope or account grant. |
409 | idempotency_conflict | An idempotency key was reused with different input. |
429 | http_429 | The credential exceeded its fixed-minute request limit. |
Was this page helpful?