Posts
Get post
Read a post, embedded media, delivery targets, provider IDs, and safe errors.
Request
bash
curl https://app.trovv.io/api/v1/posts/POST_ID -H "Authorization: Bearer $TROVV_API_KEY"Response
json
{
"data": {
"id": "post_123", "text": "Launch day", "status": "draft",
"scheduledAt": null, "publishedAt": null,
"media": [],
"targets": [{ "id": "target_123", "status": "pending", "providerPostId": null,
"error": null, "account": { "id": "account_123", "platform": "linkedin", "connectionStatus": "connected" } }]
},
"queued": false, "warning": null, "requestId": "8d2..."
}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. |
404 | http_404 | The post is absent or outside the account grant. |
Was this page helpful?