Skip to main content
PUT
/
v1
/
participants
/
{id}
/
state
/
tags
/
{tag}
Add tag to participant (idempotent)
curl --request PUT \
  --url https://api.scrip.dev/v1/participants/{id}/state/tags/{tag} \
  --header 'X-API-Key: <api-key>'
{
  "tag": "vip"
}
Adds a single tag to a participant. The tag name is passed as a path parameter and is normalized to lowercase. If the tag already exists on the participant, this call is a no-op and returns successfully. This makes the endpoint safe to call repeatedly without side effects.
For usage patterns and examples, see the State Management guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Path Parameters

id
string<uuid>
required

Participant ID

tag
string
required

Tag to add

Response

Tag already existed

tag
string

Tag value

Example:

"vip"