Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hang Loot Boxes API

The Loot Boxes API from Hang — 4 operation(s) for loot boxes.

Hang Loot Boxes API is one of 18 APIs that Hang publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Loot Boxes. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and API documentation.

This API exposes 6 operations across 4 paths. It is described by OpenAPI 2.0, at version 2023.09.07.

Requests are made against the base URL https://loyalty.hang.xyz/partner-api.

6 operations 4 paths 0 schemas 3 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
2023.09.07
Base URL
https://loyalty.hang.xyz/partner-api
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Hang Loot Boxes API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-Key (ApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 3 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Loot Boxes 6
GET
/v2/admin/loot-boxes
Endpoint to fetch all loot boxes for a program
get_v2_admin_loot-boxes 2 params → 200
POST
/v2/admin/loot-boxes
Endpoint to create a loot box
post_v2_admin_loot-boxes 10 params → 200
GET
/v2/admin/loot-boxes/{loot_box_id}
Get the Loot Box with the given ID.
get_v2_admin_loot-boxes_loot_box_id 1 param → 200
PATCH
/v2/admin/loot-boxes/{loot_box_id}
Updates the lootbox with the provided fields.
patch_v2_admin_loot-boxes_loot_box_id 11 params → 200
GET
/v2/program-memberships/{program_membership_id}/loot-boxes
Endpoint to fetch all loot boxes for a program membership
get_v2_program-memberships_program_membership_id_loot-boxes 1 param → 200
POST
/v2/program-memberships/{program_membership_id}/loot-boxes/{loot_box_id}/open
Endpoint to open a loot box
post_v2_program-memberships_program_membership_id_loot-boxes_loot_box_id_open 2 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hang-loot-boxes-api-openapi.yml Raw ↑

Other APIs Hang publishes across the network.

Hang Activities API
Hang Loot Box Reward Choices API
Hang Loot box reward probabilities API
Hang Member Actions API
Hang Memberships API
Hang Program memberships API
Hang Program Tiers API
Hang ProgramMembershipPuzzles API
Hang Programs API
Hang Puzzles API
Hang Quests API
Hang Redemptions API