Authorizations
Use your API token
Path Parameters
Post Category ID
curl --request GET \
--url https://psn-api.paystub.dev/admin/post-categories/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"category": {
"id": 123,
"site_id": 123,
"type": "<string>",
"country": "<string>",
"name": "<string>",
"slug": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"message": "<string>"
}Get post category details by ID
curl --request GET \
--url https://psn-api.paystub.dev/admin/post-categories/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"category": {
"id": 123,
"site_id": 123,
"type": "<string>",
"country": "<string>",
"name": "<string>",
"slug": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"message": "<string>"
}Use your API token
Post Category ID