GET v1/tokens/participant/{id}
Returns an array of all tokens for a single participant. If the participant does not already exist in the system, it will be created and an empty list will be returned.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Unique ID of the participant for which you want a list of tokens. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A response containing the participant's tokens.
Collection of Token| Name | Description | Type | Additional information |
|---|---|---|---|
| TokenSourceId | string |
None. |
|
| IssueDate | date |
None. |
|
| ExpirationDate | date |
None. |
|
| ParticipantSourceId | string |
None. |
|
| GameSourceId | string |
None. |
|
| GameName | string |
None. |
|
| GameIconUrl | string |
None. |
|
| Reason | string |
None. |
|
| GamePlayKey | globally unique identifier |
None. |
Response Codes
- 200 OK: All of the participant's game tokens were returned successfully.
- 401 Unauthorized:
- 500 InternalServerError:
Response Formats
application/json, text/json
Sample:
[
{
"TokenSourceId": "sample string 1",
"IssueDate": "2025-12-11T17:09:03.3867603Z",
"ExpirationDate": "2025-12-11T17:09:03.3867603Z",
"ParticipantSourceId": "sample string 3",
"GameSourceId": "sample string 4",
"GameName": "sample string 5",
"GameIconUrl": "sample string 6",
"Reason": "sample string 7",
"GamePlayKey": "e0a4bf83-dc38-4521-80cb-a457bf1fb5ec"
},
{
"TokenSourceId": "sample string 1",
"IssueDate": "2025-12-11T17:09:03.3867603Z",
"ExpirationDate": "2025-12-11T17:09:03.3867603Z",
"ParticipantSourceId": "sample string 3",
"GameSourceId": "sample string 4",
"GameName": "sample string 5",
"GameIconUrl": "sample string 6",
"Reason": "sample string 7",
"GamePlayKey": "e0a4bf83-dc38-4521-80cb-a457bf1fb5ec"
}
]
text/html
Sample:
[{"TokenSourceId":"sample string 1","IssueDate":"2025-12-11T17:09:03.3867603Z","ExpirationDate":"2025-12-11T17:09:03.3867603Z","ParticipantSourceId":"sample string 3","GameSourceId":"sample string 4","GameName":"sample string 5","GameIconUrl":"sample string 6","Reason":"sample string 7","GamePlayKey":"e0a4bf83-dc38-4521-80cb-a457bf1fb5ec"},{"TokenSourceId":"sample string 1","IssueDate":"2025-12-11T17:09:03.3867603Z","ExpirationDate":"2025-12-11T17:09:03.3867603Z","ParticipantSourceId":"sample string 3","GameSourceId":"sample string 4","GameName":"sample string 5","GameIconUrl":"sample string 6","Reason":"sample string 7","GamePlayKey":"e0a4bf83-dc38-4521-80cb-a457bf1fb5ec"}]
application/xml, text/xml
Sample:
<ArrayOfToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Games.Api.Contracts.v1.Models">
<Token>
<ExpirationDate>2025-12-11T11:09:03.3867603-06:00</ExpirationDate>
<GameIconUrl>sample string 6</GameIconUrl>
<GameName>sample string 5</GameName>
<GamePlayKey>e0a4bf83-dc38-4521-80cb-a457bf1fb5ec</GamePlayKey>
<GameSourceId>sample string 4</GameSourceId>
<IssueDate>2025-12-11T11:09:03.3867603-06:00</IssueDate>
<ParticipantSourceId>sample string 3</ParticipantSourceId>
<Reason>sample string 7</Reason>
<TokenSourceId>sample string 1</TokenSourceId>
</Token>
<Token>
<ExpirationDate>2025-12-11T11:09:03.3867603-06:00</ExpirationDate>
<GameIconUrl>sample string 6</GameIconUrl>
<GameName>sample string 5</GameName>
<GamePlayKey>e0a4bf83-dc38-4521-80cb-a457bf1fb5ec</GamePlayKey>
<GameSourceId>sample string 4</GameSourceId>
<IssueDate>2025-12-11T11:09:03.3867603-06:00</IssueDate>
<ParticipantSourceId>sample string 3</ParticipantSourceId>
<Reason>sample string 7</Reason>
<TokenSourceId>sample string 1</TokenSourceId>
</Token>
</ArrayOfToken>