Hang Member Actions API

The Member Actions API from Hang — 3 operation(s) for member actions.

Operations 3

POST /v2/admin/program-memberships/{program_membership_id}/member-actions/grant-reward Endpoint to grant a reward to a program membership #
POST /v2/admin/program-memberships/{program_membership_id}/member-actions/grant-loot-box Endpoint to grant a loot box to a program membership #
POST /v2/admin/program-memberships/{program_membership_id}/member-actions/grant-points Endpoint to grant points to a program membership #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hang-member-actions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hang-member-actions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hang Partner API (params in:formData) Activities Member Actions API
  description: '

    <p>The Partner API allows you to request various resources that can power your loyalty program.</p>

    &copy Hang 2023'
  version: 2023.09.07
  x-copyright: '&copy Hang 2023'
servers:
- url: /partner-api
security:
- ApiKeyAuth: []
tags:
- name: Member Actions
paths:
  /v2/admin/program-memberships/{program_membership_id}/member-actions/grant-reward:
    post:
      tags:
      - Member Actions
      operationId: post_v2_admin_program-memberships_program_membership_id_member-actions_grant-reward
      summary: Endpoint to grant a reward to a program membership
      parameters:
      - name: program_membership_id
        in: path
        required: true
        description: The program membership id
        schema:
          type: string
      responses:
        '200':
          description: ok
      description: ''
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                nft_loyalty_reward_uuid:
                  type: string
                  description: The uuid of the reward
              required:
              - nft_loyalty_reward_uuid
          multipart/form-data:
            schema:
              type: object
              properties:
                nft_loyalty_reward_uuid:
                  type: string
                  description: The uuid of the reward
              required:
              - nft_loyalty_reward_uuid
  /v2/admin/program-memberships/{program_membership_id}/member-actions/grant-loot-box:
    post:
      tags:
      - Member Actions
      operationId: post_v2_admin_program-memberships_program_membership_id_member-actions_grant-loot-box
      summary: Endpoint to grant a loot box to a program membership
      parameters:
      - name: program_membership_id
        in: path
        required: true
        description: The program membership id
        schema:
          type: string
      responses:
        '200':
          description: ok
      description: ''
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                loot_box_id:
                  type: string
                  description: The id of the loot box
              required:
              - loot_box_id
          multipart/form-data:
            schema:
              type: object
              properties:
                loot_box_id:
                  type: string
                  description: The id of the loot box
              required:
              - loot_box_id
  /v2/admin/program-memberships/{program_membership_id}/member-actions/grant-points:
    post:
      tags:
      - Member Actions
      operationId: post_v2_admin_program-memberships_program_membership_id_member-actions_grant-points
      summary: Endpoint to grant points to a program membership
      parameters:
      - name: program_membership_id
        in: path
        required: true
        description: The program membership id
        schema:
          type: string
      responses:
        '200':
          description: ok
      description: ''
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                points:
                  type: number
                  description: The amount of points to grant
              required:
              - points
          multipart/form-data:
            schema:
              type: object
              properties:
                points:
                  type: number
                  description: The amount of points to grant
              required:
              - points
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key