Posts

Fetch a single post by ID. For published posts, this returns platformPostUrl for each platform.

get/v1/posts/{postId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/posts/{postId}
  • Auth: HTTP bearer

Path parameters

postIdstring required

Response

Post

Example response

{
  "post": {
    "mediaItems": [
      {
        "subtitles": [
          {
            "url": "https://media.zernio.com/temp/walkthrough.en.srt",
            "language": "en"
          }
        ]
      }
    ],
    "platforms": [
      {
        "platform": "twitter",
        "customMedia": [
          {
            "subtitles": [
              {
                "url": "https://media.zernio.com/temp/walkthrough.en.srt",
                "language": "en"
              }
            ]
          }
        ],
        "status": "pending",
        "platformPostId": "1234567890123456789",
        "platformPostUrl": "https://twitter.com/acmecorp/status/1234567890123456789"
      }
    ]
  }
}

Changes

    • warning

      added the new pending_approval enum value to the / response property for the response status

    • warning

      added the new webflow enum value to the //////// response property for the response status