Skip to main content
PUT
/
tag
/
{identifier}
Update tag
curl --request PUT \
  --url https://api.sendx.io/api/v1/rest/tag/{identifier} \
  --header 'Content-Type: application/json' \
  --header 'X-Team-ApiKey: <api-key>' \
  --data '{
  "name": "VIP Customer"
}'
{
  "id": "tag_abc123def456ghi789",
  "name": "VIP Customer",
  "created": "2024-01-20T10:30:00Z",
  "updated": "2024-01-20T10:30:00Z"
}

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

Path Parameters

identifier
string
required

Tag identifier to update

Body

application/json
name
string
required

Tag name (must be unique within team)

Example:

"VIP Customer"

Response

βœ… Tag updated successfully

id
string

Unique tag identifier with tag_ prefix

Example:

"tag_abc123def456ghi789"

name
string

Tag name

Example:

"VIP Customer"

created
string<date-time>

Tag creation timestamp

Example:

"2024-01-20T10:30:00Z"

updated
string<date-time>

Tag last update timestamp

Example:

"2024-01-20T10:30:00Z"

⌘I