Skip to main content
POST
/
post
/
tag
Create post tag
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"
}'
{
"id": "post_tag_leBDiFdrUnRmRz4nfopSrv",
"name": "Summer Sale",
"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

Body

application/json
name
string
required

Tag name

Example:

"Summer Sale"

Response

✅ Tag created successfully

id
string
Example:

"post_tag_leBDiFdrUnRmRz4nfopSrv"

name
string

Tag name

Example:

"Summer Sale"

created
string<date-time>

Date and time when tag was created

updated
string<date-time>

Date and time when tag was updated

I