cURL
product_updates
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" } '
201
{ "id": "post_category_YzS1wOU20yw87UUHKxMzwn", "name": "Product Updates", "created": "2022-05-23T11:00:00.000Z", "updated": "2022-05-23T11:00:00.000Z"}
Creates a new category for organizing blog posts.
Team API key for authentication. Find your API key in SendX Settings → Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_here
Category name
"Product Updates"
✅ Category created successfully
Id for the post category
"post_category_YzS1wOU20yw87UUHKxMzwn"
Name for the post category
Date and time when the post category was created
Date and time when the post category was last updated
Was this page helpful?