Posts

Get a single blog post by ID.

Returns one blog post with full title, rendered content, excerpt, publication date, author ID, and category/tag references. Use ?_fields= to trim the response payload.

get/wp/v2/posts/{id}

Path parameters

idinteger required

Post ID.

Response

Post details.

idinteger required
datestring date-time required
date_gmtstring date-time
modifiedstring date-time
slugstring required
status'publish'
typestring
linkstring uri required
authorinteger
featured_mediainteger
categoriesinteger[]
tagsinteger[]

Example response

{
  "type": "post"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.