Skip to main content
GET
/
post
/
category
/
{identifier}
Get post category by ID
curl --request GET \
  --url https://api.sendx.io/api/v1/rest/post/category/{identifier} \
  --header 'X-Team-ApiKey: <api-key>'
{
  "id": "post_category_YzS1wOU20yw87UUHKxMzwn",
  "name": "Product Updates",
  "created": "2023-11-07T05:31:56Z",
  "updated": "2023-11-07T05:31:56Z"
}

Authorizations

X-Team-ApiKey
string
header
required

Team API key for authentication. Find your API key in SendX Settings → Team API Key.

Example:

X-Team-ApiKey: your_team_api_key_here

Path Parameters

identifier
string
required

The unique post category identifier to retrieve.

  • post_category_YzS1wOU20yw87UUHKxMzwn
Example:

"post_category_YzS1wOU20yw87UUHKxMzwn"

Response

✅ Category retrieved successfully

id
string

Id for the post category

Example:

"post_category_YzS1wOU20yw87UUHKxMzwn"

name
string

Name for the post category

Example:

"Product Updates"

created
string<date-time>

Date and time when the post category was created

updated
string<date-time>

Date and time when the post category was last updated

I