Search...
Generate a test token to explore our APIs
Get Category
Developer Preview
Returns a single category by ID.
Authorization
This endpoint requires an authorization header - pass the access token from the OAuth installation flow.
Permissions
This endpoint requires the Read Forums permission scope.
GET
https://www.wixapis.com/forum/v1/categories/{categoryId}
Path Params
NAME
TYPE
DESCRIPTION
categoryId
Required
string
ID of the retrieved category.
Query Params
NAME
TYPE
DESCRIPTION
extraFields
Array<string>
Supported values: UNKNOWN
, URL
.
Array of extra category fields to be added in the response. UNKNOWN
must not be passed.
Response Object
NAME
TYPE
DESCRIPTION
category
object
Retrieved category for the provided category ID.
Status/Error Codes
The response will include an HTTP status code.
Was this helpful?
Request
curl
Copy Code
1curl -X GET https://www.wixapis.com/forum/v1/categories/5cacd5fe04976c0015f353622 -H 'Content-Type: application/json;charset=UTF-8'3 -H 'Authorization: <ACCESS_TOKEN>'
Response
json
1{"category": {2 "id": "5cacd5fe04976c0015f35362",3 "parentId": "001005fe04976c0015f35362",4 "name": "Discussion corner",5 "headerTitle": "Discussion corner",6 "description": "Share stories, ideas, pictures and more!",7 "headerType": "IMAGE",8 "headerImage": {9 "id": "image.jpg",10 "url": "https://static.wixstatic.com/media/image.jpg",11 "height": 760,12 "width": 210013 },14 "rank": 0,15 "postCount": 2,16 "postViewCount": 17,17 "slug": "discussion-corner",18 "noMemberPosting": true,19 "categoryAccess": "PUBLIC",20 "createdDate": "2019-04-09T17:27:26.171Z",21 "updatedDate": "2019-04-09T17:27:26.171Z",22 "postTypes": [23 "DISCUSSION",24 "QUESTION"25 ],26 "commentInteraction": "REACTION",27 "url": {28 "base": "https://wix.com",29 "path": "/forum/discussion-corner"30 }31}}