GET players
GET /players
Returns the players in the exercise, including their identity, role and team membership.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
empty
Response
[
{
"audience_hash": "DgjNJ",
"email": "player001@example.com",
"name": "Player001",
"lname": "Test001",
"role": "Role1",
"team_id": 3466414
},
{
"audience_hash": "J84x0",
"email": "player002@example.com",
"name": "Player002",
"lname": "Test002",
"role": "Role1",
"team_id": 3466414
}
]
{
"error": "Invalid request"
}Response fields
Field
Type
Description
audience_hash
string
Unique identifier for the player.
email
string
Player's email address.
name
string
Player's first name.
lname
string
Player's last name. May be empty.
role
string
Player's role. One of Role1, Role2, Role3, Role4 or Role5. "Role1" is default.
team_id
integer
ID of the team to which the player belongs
Last updated
Was this helpful?