Get post details

Get detailed information about a specific post by its ID, including all containers (content segments), attached media files, scheduling status, and publishing state. The post ID is the encoded string identifier returned when creating or listing posts. The response includes the full container hierarchy with media URLs for each segment.

GET/v1/posts/{id}

Path Parameters

idstring

Response Body

fetch("https://api.outstand.so/v1/posts/string", {  method: "GET"})
{
  "success": true,
  "post": {
    "id": "9dyJS",
    "orgId": "abc123",
    "publishedAt": "2019-08-24T14:15:22Z",
    "scheduledAt": "2019-08-24T14:15:22Z",
    "isDraft": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "socialAccounts": [
      {
        "id": "9dyJS",
        "nickname": "string",
        "network": "string",
        "username": "string",
        "status": "published",
        "error": null,
        "platformPostId": "123456789",
        "publishedAt": "2025-01-15T10:30:00Z"
      }
    ],
    "containers": [
      {
        "id": "8xKmL",
        "content": "string",
        "media": [
          {
            "url": "string",
            "filename": "string"
          }
        ]
      }
    ]
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Internal server error",
  "message": "Database connection failed"
}