Participants
Get a participant by Scrip ID
Retrieve a participant with full details.
get/v1/participants/{participant_id}
Request
- Base URL: https://api.scrip.dev
- URL: https://api.scrip.dev/v1/participants/{participant_id}
- Auth: HTTP bearer
Path parameters
participant_idstring required
The participant's id, or ext: followed by the participant's external_id.
Query parameters
expand[]string[]
Detail sections to include: programs, tiers, balances. Repeat the parameter to include several. Omit for all sections; none returns the profile and state only. Tags, attributes and counters are always returned, so state has no effect.
Response
Participant details
Example response
{
"attributes": {
"plan": "premium",
"region": "us-east"
},
"balances": [
{
"asset_id": "a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02",
"available": "1500.00",
"deferred": "0.00",
"held": "200.00"
}
],
"counters": {
"points_earned": "1500",
"purchases": "42"
},
"created_at": "2027-01-15T10:30:00Z",
"display_name": "Jane Doe",
"email": "jane@example.com",
"external_id": "user_123",
"first_name": "Jane",
"id": "f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006",
"last_name": "Doe",
"phone": "+15551234567",
"program_ids": [
"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"
],
"status": "ACTIVE",
"tags": [
"vip"
],
"tiers": {
"loyalty": {
"level": "gold",
"rank": 2
}
},
"updated_at": "2027-01-15T10:30:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.