This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a single post by URL slug.
You can only call this method when authenticated as a Wix app or Wix user identity.
URL slug.
Array of extra post fields to be added in the response.
Post for the provided post ID.
curl -X GET https://www.wixapis.com/forum/v1/posts/slugs/welcome-to-the-forum
-H 'Content-Type: application/json;charset=UTF-8'
-H 'Authorization: <ACCESS_TOKEN>'
{
"post": {
"id": "5cacd5fe04976c0015f35363",
"categoryId": "5cacd5fe04976c0015f35362",
"ownerId": "a27d2491-90b0-4a3a-87d9-7a9de00bf17a",
"title": "Welcome to the Forum!",
"contentText": "It’s good to have you here! Feel free to share anything - stories, ideas, pictures or whatever is on your mind.",
"bestAnswerCommentId": "5ce7bb354f055300a4b7f945",
"pinned": false,
"closed": false,
"commentCount": 3,
"likeCount": 0,
"viewCount": 11,
"createdDate": "2019-04-09T17:27:26.171Z",
"updatedDate": "2019-04-09T17:27:26.171Z",
"lastActivityDate": "2019-05-24T11:55:29.339Z",
"slug": "welcome-to-the-forum",
"postType": "DISCUSSION",
"commentInteraction": "REACTION",
"totalReactionCount": 1,
"reactionCounts": [
{
"reactionCode": ":like:",
"count": 1
}
],
"reactedIdentities": [
{
"reactionCode": ":like:",
"reactionIdentity": [
{
"identityId": "0933513a-fcd7-459e-b76e-508d4806d908",
"identityType": "MEMBER"
}
]
}
],
"url": {
"base": "https://wix.com",
"path": "/forum/discussion-corner/welcome-to-the-forum"
}
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.