Hang Users API

The Users API from Hang — 1 operation(s) for users.

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-users-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-users-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: Hang Partner API (params in:formData) Activities Users 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'
basePath: /partner-api
schemes:
- https
consumes:
- application/x-www-form-urlencoded
- multipart/form-data
security:
- ApiKeyAuth: []
tags:
- name: Users
paths:
  /users:
    post:
      tags:
      - Users
      consumes:
      - application/x-www-form-urlencoded
      - multipart/form-data
      operationId: post_users
      summary: Creates a new user with the given wallet_address and either a phone or an email address.
      parameters:
      - name: wallet_address
        type: string
        in: formData
        required: true
        description: the user's wallet_address
      - name: phone
        type: string
        in: formData
        description: the user's phone (must be provided if email is blank)
      - name: email
        type: string
        in: formData
        description: the user's email (must be provided if phone is blank)
      responses:
        '200':
          description: User was created successfully
          schema:
            type: object
            properties:
              user:
                type: object
                properties:
                  id:
                    type: string
                    description: The ID of the new user
                additionalProperties: false
                required:
                - id
            additionalProperties: false
            required:
            - user
        '400':
          description: Missing required parameters.
        '409':
          description: When any of the parameters passed in already exist in the system.
      description: Invoke this endpoint to add a new user to your loyalty program.
securityDefinitions:
  ApiKeyAuth:
    type: apiKey
    in: header
    name: X-API-Key