Update a participant
Partially update a participant.
Updates a participant’sDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
external_id, attributes, tags, or profile fields (email, phone, first_name, last_name, display_name). Only the fields you include in the request body are changed; omitted fields are left as-is. Sending an empty string for a profile field clears it.
This endpoint does not modify the participant’s status. To change status, use the dedicated status endpoint. This separation prevents accidental state transitions during routine profile updates.
Authorizations
API key passed in the X-API-Key header.
Path Parameters
Participant ID
Body
Participant updates
Key-value metadata to merge with existing attributes. Each key is accessible in rules as participant.attributes.{key}
{ "plan": "premium", "region": "us-east" }Display name. Empty string clears the value
255"Jane Doe"
Contact email. Empty string clears the value
255"jane@example.com"
First name. Empty string clears the value
255"Jane"
Last name. Empty string clears the value
255"Doe"
Contact phone. Empty string clears the value
50"+15551234567"
Lifecycle state
ACTIVE, SUSPENDED, CLOSED "SUSPENDED"
Replaces all existing tags
["vip"]Response
Participant updated
Key-value metadata. Each key is accessible in rules as participant.attributes.{key}
{ "plan": "premium", "region": "us-east" }Current balances per asset, split by bucket
Numeric accumulators, returned as strings for precision
{
"points_earned": "1500",
"purchases": "42"
}When the participant was created
"2024-01-15T10:30:00Z"
Display name
"Jane Doe"
Contact email
"jane@example.com"
Your application's identifier for this user
"user_123"
First name
"Jane"
Participant ID
"550e8400-e29b-41d4-a716-446655440000"
Last name
"Doe"
Contact phone
"+15551234567"
Programs this participant is enrolled in
["550e8400-e29b-41d4-a716-446655440000"]Lifecycle state
"ACTIVE"
Labels for segmentation, accessible in rules as participant.tags
["vip"]Current tier level per tier type
{ "loyalty": { "level": "gold", "rank": 2 } }When the participant was last modified
"2024-01-15T10:30:00Z"