curl --request POST \
--url https://api.sendx.io/api/v1/rest/post/category \
--header 'Content-Type: application/json' \
--header 'X-Team-ApiKey: <api-key>' \
--data '
{
"name": "Product Updates"
}
'{
"id": "post_category_YzS1wOU20yw87UUHKxMzwn",
"name": "Product Updates",
"created": "2022-05-23T11:00:00.000Z",
"updated": "2022-05-23T11:00:00.000Z"
}Post Category
Create post category
Creates a new category for organizing blog posts.
POST
/
post
/
category
curl --request POST \
--url https://api.sendx.io/api/v1/rest/post/category \
--header 'Content-Type: application/json' \
--header 'X-Team-ApiKey: <api-key>' \
--data '
{
"name": "Product Updates"
}
'{
"id": "post_category_YzS1wOU20yw87UUHKxMzwn",
"name": "Product Updates",
"created": "2022-05-23T11:00:00.000Z",
"updated": "2022-05-23T11:00:00.000Z"
}🎯 Key Features:
- Organize content
- Hierarchical structure
- SEO friendly
Authorizations
Team API key for authentication. Find your API key in SendX Settings → Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_here
Body
application/json
Category name
Example:
"Product Updates"
Response
✅ Category created successfully
Was this page helpful?