Hang Users API

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

Operations 1

POST /users Creates a new user with the given wallet_address and either a phone or an email address. #

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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

hang-users-api-openapi.yml Raw ↑
openapi: 3.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'
servers:
- url: /partner-api
security:
- ApiKeyAuth: []
tags:
- name: Users
paths:
  /users:
    post:
      tags:
      - Users
      operationId: post_users
      summary: Creates a new user with the given wallet_address and either a phone or an email address.
      responses:
        '200':
          description: User was created successfully
          content:
            application/json:
              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.
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                wallet_address:
                  type: string
                  description: the user's wallet_address
                phone:
                  type: string
                  description: the user's phone (must be provided if email is blank)
                email:
                  type: string
                  description: the user's email (must be provided if phone is blank)
              required:
              - wallet_address
          multipart/form-data:
            schema:
              type: object
              properties:
                wallet_address:
                  type: string
                  description: the user's wallet_address
                phone:
                  type: string
                  description: the user's phone (must be provided if email is blank)
                email:
                  type: string
                  description: the user's email (must be provided if phone is blank)
              required:
              - wallet_address
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key