infinihash-com Config API

The Config API from infinihash-com — 1 operation(s) for config.

Operations 2

GET /config Get brand config #
POST /config Upsert brand config (admin) #

Specifications

Schemas & Data

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/infinihash-com:infinihash-com-config-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

infinihash-com-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Infinihash KYC Config API
  version: 1.0.0
  description: 'Identity verification, KYB, sanctions screening, UBO orchestration and periodic review.


    Auth: send your key as `X-API-Key: ` (or `Authorization: Bearer `).


    Most endpoints are mounted twice — at the root (`/kyc/...`) and under `/api` (`/api/kyc/...`). Prefer the `/api` form; it is what the hosted portals and SDKs use.


    Python SDK: `pip install "git+https://github.com/Infinihash/kyc-python@v0.1.0"` (https://github.com/Infinihash/kyc-python; runnable examples in examples/).'
  contact:
    name: Infinihash
    url: https://kyc.infinihash.com
servers:
- url: https://kyc-api.infinihash.com
  description: Production
tags:
- name: Config
paths:
  /config:
    get:
      x-route-source:
        file: routes/config.js
        method: get
        path: /
      summary: Get brand config
      description: Returns the white-label brand config for the calling API key, falling back to the first stored config, then to built-in defaults. Missing fields are filled from defaults (a stored null overrides the default).
      tags:
      - Config
      operationId: getBrandConfig
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      responses:
        '200':
          description: Brand config
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandConfig'
        '401':
          description: Missing API key, or invalid or revoked API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      x-route-source:
        file: routes/config.js
        method: post
        path: /
      summary: Upsert brand config (admin)
      description: 'Creates or updates the brand config for an API key. On update only supplied fields change; on create missing fields use defaults. When apiKeyId is omitted the oldest non-revoked API key is used. Admin-only: requires the X-Admin-Secret header (not an API key).'
      tags:
      - Config
      operationId: upsertBrandConfig
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrandConfigWrite'
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      responses:
        '200':
          description: Config saved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandConfigSaved'
        '400':
          description: No API key found to associate config with
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Missing or wrong X-Admin-Secret header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    BrandConfig:
      type: object
      required:
      - entityName
      - logoUrl
      - logoMark
      - primaryColor
      - accentColor
      - domain
      - contactEmail
      properties:
        entityName:
          type: string
        logoUrl:
          type:
          - string
          - 'null'
        logoMark:
          type:
          - string
          - 'null'
        primaryColor:
          type: string
        accentColor:
          type: string
        domain:
          type:
          - string
          - 'null'
        contactEmail:
          type:
          - string
          - 'null'
    BrandConfigWrite:
      type: object
      properties:
        entityName:
          type: string
        logoUrl:
          type:
          - string
          - 'null'
        logoMark:
          type:
          - string
          - 'null'
        primaryColor:
          type: string
        accentColor:
          type: string
        domain:
          type:
          - string
          - 'null'
        contactEmail:
          type:
          - string
          - 'null'
        apiKeyId:
          type: string
          description: API key the config belongs to. Defaults to the oldest non-revoked API key.
    BrandConfigSaved:
      type: object
      required:
      - ok
      - config
      properties:
        ok:
          type: boolean
          enum:
          - true
        config:
          $ref: '#/components/schemas/BrandConfig'
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer