List Notifications
GET
https://api.lootlocker.io/admin/game/{game_id}/notifications/v1/
notifications
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lootlocker.io/admin/game//notifications/v1/?per_page=10&page=1&priority=medium¬ification_type=pull.reward.acquired&read=true&source=purchasing.apple_app_store&custom=true' \
--header 'x-auth-token: ' \
--header 'x-auth-token;'
Response Response Example
{
"notifications": [
{
"created_at": "2019-08-24T14:15:22Z",
"expiration_date": "2019-08-24T14:15:22Z",
"read_at": "2019-08-24T14:15:22Z",
"notification_type": "string",
"priority": "string",
"source": "purchasing.apple_app_store",
"content": {
"context": [
{
"key": "string",
"value": "string"
}
],
"body": {
"kind": "group",
"group": {
"created_at": "string",
"name": "string",
"description": "string",
"associations": [
{
"kind": "string",
"group": null,
"currency": {
"created_at": "string",
"updated_at": "string",
"amount": "string",
"details": {
"name": "string",
"code": "string",
"amount": "string",
"id": "string"
},
"reward_id": "string",
"currency_id": "string"
},
"progression_reset": {
"created_at": "string",
"updated_at": "string",
"details": {
"key": "string",
"name": "string",
"id": "string"
},
"progression_id": "string",
"reward_id": "string"
},
"progression_points": {
"created_at": "string",
"updated_at": "string",
"details": {
"key": "string",
"name": "string",
"amount": 0,
"id": "string"
},
"amount": 0,
"progression_id": "string",
"reward_id": "string"
},
"asset": {
"created_at": "string",
"updated_at": "string",
"details": {
"name": "string",
"thumbnail": null,
"variation_name": null,
"rental_option_name": null,
"variation_id": null,
"rental_option_id": null,
"legacy_id": 0,
"id": "string"
},
"asset_variation_id": null,
"asset_rental_option_id": null,
"asset_id": 0,
"reward_id": "string",
"asset_ulid": "string"
}
}
],
"reward_id": "string"
},
"currency": null,
"progression_reset": null,
"progression_points": null,
"asset": null
}
},
"id": {},
"player_id": {},
"read": true
}
],
"pagination": {
"errors": [
{
"field": "string",
"message": "string"
}
],
"per_page": 0,
"offset": 0,
"total": 0,
"last_page": 0,
"current_page": 0,
"next_page": 0,
"prev_page": 0
}
}
Request
Path Params
game_id
stringÂ
required
Query Params
per_page
integer <uint64>
optional
>= 1
Example:
10
page
integer <uint64>
optional
>= 1
Example:
1
priority
enum<string>Â
optional
Allowed values:
lowmediumhighemergency
Default:
medium
Example:
medium
notification_type
enum<string>Â
optional
Allowed value:
pull.reward.acquired
Example:
pull.reward.acquired
read
booleanÂ
optional
Example:
true
source
enum<string>Â
optional
Allowed values:
purchasing.apple_app_storepurchasing.google_play_storepurchasing.steam_storepurchasing.lootlockertriggerslootlocker.consolelootlocker.server_api
Example:
purchasing.apple_app_store
custom
stringÂ
required
true
If you want to restrict notifications to custom ones, false
to view only automated notifications.Example:
true
Header Params
x-auth-token
stringÂ
optional
Example:
{{admin_auth_token}}
Responses
Modified at 2025-04-09 09:13:56