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 Rewards API

The Rewards API from Hang — 5 operation(s) for rewards.

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

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

This API exposes 6 operations across 5 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 5 paths 0 schemas 2 GET2 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 Rewards 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 5 paths, the API surfaces 6 operations — 2 GET, 2 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Rewards 6
GET
/v2/program-memberships/{program_membership_id}/rewards
Retrieve the rewards, if any, for a given program membership id.
get_v2_program-memberships_program_membership_id_rewards 1 param → 200404500
GET
/v2/admin/rewards/{reward_uuid}
Endpoint to retrieve a reward with given unique id.
get_v2_admin_rewards_reward_uuid 1 param → 200
PATCH
/v2/admin/rewards/{reward_uuid}
Endpoint to update a reward.
patch_v2_admin_rewards_reward_uuid 26 params → 200
POST
/v2/admin/rewards
Endpoint to create a reward.
post_v2_admin_rewards 25 params → 200
POST
/v2/admin/rewards/batch-create
Endpoint to create a batch of rewards.
post_v2_admin_rewards_batch-create 1 param → 200
PATCH
/v2/admin/rewards/batch-update
Endpoint to edit a batch of rewards.
patch_v2_admin_rewards_batch-update 2 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hang-rewards-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 Loot Boxes 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