cURL
curl --request POST \ --url https://api.sendx.io/api/v1/rest/post/tag \ --header 'Content-Type: application/json' \ --header 'X-Team-ApiKey: <api-key>' \ --data ' { "name": "Summer Sale" } '
201
Example
{ "id": "post_tag_leBDiFdrUnRmRz4nfopSrv", "name": "Summer Sale", "created": "2023-11-07T05:31:56Z", "updated": "2023-11-07T05:31:56Z"}
Creates a new tag for 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
Tag name
"Summer Sale"
✅ Tag created successfully
"post_tag_leBDiFdrUnRmRz4nfopSrv"
Date and time when tag was created
Date and time when tag was updated
Was this page helpful?