{ "data": { "chest_id": "550e8400-e29b-41d4-a716-446655440000", "opened_at": "2024-01-15T14:35:22Z", "collectibles": [ { "type": "collectible", "id": "collectible_001", "attributes": { "name": "Ancient Dragon Scale", "description": "A shimmering scale from an ancient dragon", "rarity": "legendary", "collection_id": "dragon-artifacts", "images": [ "https://example.com/images/dragon-scale.png" ] } }, { "type": "collectible", "id": "collectible_002", "attributes": { "name": "Dragon Tooth Pendant", "description": "A pendant carved from a dragon's tooth", "rarity": "rare", "collection_id": "dragon-artifacts", "images": [ "https://example.com/images/dragon-pendant.png" ] } }, { "type": "collectible", "id": "collectible_003", "attributes": { "name": "Fire Gem", "description": "A gem that burns with eternal flame", "rarity": "common", "collection_id": "elemental-gems", "images": [ "https://example.com/images/fire-gem.png" ] } } ], "statistics": { "total_items": 3, "rarity_breakdown": { "legendary": 1, "rare": 1, "common": 1 } } }, "meta": { "chest_consumed": true, "experience_gained": 150, "message": "Congratulations! You found some amazing treasures!" }}
Open a chest to reveal its contents. This endpoint returns a randomly generated list of collectibles based on the chest’s internal rules and rarity settings.
Opening a chest consumes it from the player’s inventory. This action cannot be undone.
Status: 403 ForbiddenThe player doesn’t own this chest or it has already been opened.Solution: Verify chest ownership before showing open options to the player.
The collectibles received are immediately added to the player’s permanent collection. Use the Get Collections endpoint to view organized collections.