[GET] Game Details
This api will list the details of your games in your account. An optional query parameter for status can be used to filter the games the api will return. Default status is ACTIVE.
[GET] https://prod-api.flarie.com/v1/public/games
Authentication
The API expects an Authorization header with a value of Bearer <token>.
Learn more about Access Keys here.
Authorization: Bearer {your api access key}
Query Params
You can use a query parameter "status" to filter what games the api should return. If status is not provided ACTIVE games will be returned by default.
Name |
Type |
Description |
status |
string |
Game Status: ACTIVE, DRAFT, EXPIRED, REMOVED |
Example: below url will only return the games with status EXPIRED.
https://prod-api.flarie.com/v1/public/games?status=EXPIRED
Response 200
[
{
"gameId": "3g18913e-74ee-4se6-b154-7d7a5e4dad61",
"status": "ACTIVE",
"startDate": "",
"endDate": "2025-01-09 14:42:00",
"timeZone": "Europe/Stockholm",
"createdAt": "2025-01-21T14:42:17.000Z",
"game": "knock",
"name": "Winter-game-Newsletter",
"type": "SINGLE_PLAYER",
"language": "",
"background": "https://dwfedcf5lscmq.cloudfront.net/skins/5c0a6c9a4c67e.png",
"identifierFormInputType": "EMAIL",
"gameCenterId": "",
"gamificationConditionId": "",
"gamificationId": "",
"hasSplitGame": false,
"timePeriods": [
{
"id": "ae65908e-8563-4b1e-a0d5-945e7a21a356",
"startDate": "",
"endDate": "2025-01-09 14:42:00"
}
]
}
]
Status code |
Message |
200 |
Success |
400 |
Api Access Key can not be empty |
404 |
Api Access Key not found |
500 |
Internal Server Error. |