- 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
Create
Developing
POST
https://api.lootlocker.io/admin/game/{game_id}/triggers/cozy-crusader/v1
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.io/admin/game//triggers/cozy-crusader/v1' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "mykey",
"reward_id": "01J5ZH463QW8T7W4KKP552V7NF",
"name": "enter_ice_caves",
"limit": 5
}'
Response Response Example
{
"id": "01J5ZH463QW8T7W4KKP552V7NF"
}
Request
Path Params
game_id
stringÂ
required
Header Params
x-auth-token
stringÂ
optional
Example:
{{admin_auth_token}}
Body Params application/json
key
stringÂ
required
reward_id
stringÂ
required
name
stringÂ
required
limit
integerÂ
required
Examples
Responses
🟢200OK
application/json
Body
id
stringÂ
required
Modified at 2025-02-13 12:51:14