curl --request PUT \ --url https://api.scrip.dev/v1/participants/{id}/state/tags/{tag} \ --header 'X-API-Key: <api-key>'
{ "tag": "vip"}
State
Add tag to participant
Add a tag to a participant. Idempotent.
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.