Skip to content

Get post details

Get detailed information about a specific post by its ID

GET/v1/posts/{id}

Path Parameters

idstring

Response Body

200application/json

403application/json

404application/json

500application/json

JavaScript

Go

Java

C#

cURL

TypeScript

Python

Swift

fetch(" {
  method: "GET"
})

200403404500

{
  "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"
}

List posts GET\ \ Previous Page Get post analytics GET\ \ Next Page