- Auth
- API Keys
- Collectables
- Heroes and Characters
- Game
- Asset Candidates
- Assets
- Bones
- Players
- Leaderboards
- Files
- Feature Toggles
- Universal Player Auth
- Merging
- Rarities
- Preferences
- Platforms
- Progressions
- User
- Organisation
- Link Types
- Events/Missions
- Maps
- White Label Login
- Rewards
- Moderation Reports
- Catalogs
- Currency
- Balances
- Messages
- DLC
- Player Segments
- Character Classes
- Subscriptions
- Player Operations
- Roles
- Title Config
- Items
- Entitlements
- Feedback
- Hosts
- Metadata
- Triggers
- Data Migration
- Twitch Drops
- Notifications
Send Notification to Player
Developing
POST
https://api.lootlocker.io/admin/game/{game_id}/notifications/v1/
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.lootlocker.io/admin/game//notifications/v1/' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"notification_type": "pull.message.test",
"priority": "medium",
"recipient": "01JQY4B0E8ZSYBTCC7Y6YJ56HX",
"content": {
"foo": "bar"
},
"properties": [
{
"key": "some-prop",
"value": "some-value"
}
]
}'
Response Response Example
{}
Request
Path Params
game_id
stringÂ
required
Example:
{{dev_game_id}}
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Body Params application/json
notification_type
stringÂ
required
Match pattern:
^[a-z_-]+\.[a-z_-]+\.[a-z_-]+$
priority
stringÂ
required
recipient
stringÂ
required
Match pattern:
^[0-7][0-9A-HJKMNP-TV-Z]{25}$
content
string  | integer  | boolean  | array  | object  | number  | nullÂ
required
properties
array [object {2}]