Cue
API ReferencePosts

Get a post

Retrieve a single post with platform statuses and attached media.

GET
/posts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.

Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234

In: header

Path Parameters

id*string

Post ID

Response Body

application/json

application/json

application/json

curl -X GET "https://api.oncue.so/v1/posts/pst_r3v8n2xk5qmj"
{
  "data": {
    "id": "pst_r3v8n2xk5qmj",
    "profileId": "prf_h7k2m9xp4qnj",
    "content": "Excited to announce our new feature launch!",
    "status": "published",
    "scheduledAt": null,
    "createdAt": "2025-01-15T10:00:00Z",
    "updatedAt": "2025-01-15T10:01:00Z",
    "platforms": [
      {
        "id": "pp_k8m3n7x2pqhj",
        "postId": "pst_r3v8n2xk5qmj",
        "socialAccountId": "sac_p4n7k2m9xqhj",
        "status": "published",
        "errorMessage": null,
        "publishedAt": "2025-01-15T10:01:00Z",
        "platformPostId": "3k2j4h5g6f7d",
        "createdAt": "2025-01-15T10:00:00Z",
        "updatedAt": "2025-01-15T10:01:00Z"
      }
    ],
    "media": []
  }
}
{
  "error": "Unauthorized"
}
{
  "error": "Post not found"
}