Retrieve post by ID

Retrieve a post information by its unique key identifier postId.

GET
/sites/{siteId}/posts/{postId}
Authorization<token>

API key authentication.

--header 'Authorization: Bearer <VOIDFULL_API_KEY>'

In: header

Path Parameters

siteIdstring

The ID of the site

postIdstring

The ID of the post

Response Body

curl -X GET "https://api.app.voidfull.com/api/v1/sites/string/posts/string"
{
  "post": {
    "id": "string",
    "title": "string",
    "slug": "string",
    "contentMarkdown": "string",
    "content": "string",
    "featureImage": "string",
    "publishedAt": "2019-08-24T14:15:22Z",
    "timeToRead": 10,
    "excerpt": "string",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}