Skip to main content
GET
/
post
/
category
Get all post categories
curl --request GET \
  --url https://api.sendx.io/api/v1/rest/post/category \
  --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

Response

✅ Categories 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