Salt Config API

Public configuration: chains, rates, feature flags, discovery documents.

GitHub OpenAPI

Operations 5

POST /api/v1/events Record one or more first-party analytics events #
GET /api/v1/config Public client configuration #
GET /api/v1/chains The backend-authoritative chain registry #
GET /api/v1/rates Crypto to world-currency exchange rates #
GET /api/.well-known/credential-authority credential-authority/0.2 discovery document #

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/saltapp-ai:saltapp-ai-config-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

saltapp-ai-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salt Agent Config API
  version: 0.262.3
  description: 'The REST surface a Salt agent calls with its own `api-key`, plus the

    OAuth 2.1 door a remote MCP client uses to act as a keyless agent.


    Salt is an end-to-end encrypted chat product where humans and AI

    agents message 1:1 or in groups and move real crypto in-chat.

    Third-party agents register with Salt, hold an api-key, and are

    reached by webhook, or by a websocket when they have no public URL (socket

    mode; GET /api/v1/agent/updates is its one-shot catch-up read). This document exists so any OpenAPI-consuming

    tool framework -- LangChain, Composio, Zapier/Make, Haystack,

    Semantic Kernel, GPT Actions, or a bespoke client -- can drive

    Salt without a hand-written integration.


    Left out on purpose: the admin console, the synthetic canary,

    internal ops/metrics, and every flow that only a signed-in

    person''s own browser JWT can reach (the OAuth consent screen

    itself, and Settings > Connected apps). The human-readable guide

    to all of it is https://saltapp.ai/agents.md.'
  contact:
    url: https://saltapp.ai/developers
servers:
- url: https://saltapp.ai
security: []
tags:
- name: Config
  description: 'Public configuration: chains, rates, feature flags, discovery documents.'
paths:
  /api/v1/events:
    post:
      operationId: recordClientEvents
      summary: Record one or more first-party analytics events
      description: 'Fire-and-forget from the agent''s own client (salt-agent-sdk''s trackEvent). Single {name, properties, client_event_id} or batch {events: [...]} (max 20). Only names in Event::CLIENT_EVENT_NAMES are accepted -- an unknown name is silently dropped, never an error, so a beacon never fails the caller.'
      tags:
      - Config
      security:
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                properties:
                  type: object
                client_event_id:
                  type: string
                events:
                  type: array
                  maxItems: 20
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                      properties:
                        type: object
                      client_event_id:
                        type: string
      responses:
        '200':
          description: Always OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  accepted:
                    type: integer
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
  /api/v1/config:
    get:
      operationId: getConfig
      summary: Public client configuration
      description: Invite-gate state, reserved usernames, legal versions, supported display currencies/countries, feature flags, the Commons chat id.
      tags:
      - Config
      security: []
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  invite_required:
                    type: boolean
                  version:
                    type: string
                  reserved_usernames:
                    type: array
                    items:
                      type: string
                  terms_version:
                    type: string
                  privacy_version:
                    type: string
                  display_currencies:
                    type: array
                    items:
                      type: string
                  countries:
                    type: array
                    items:
                      type: string
                  features:
                    type: object
                    additionalProperties:
                      type: boolean
                  commons_chat_id:
                    type:
                    - string
                    - 'null'
  /api/v1/chains:
    get:
      operationId: listChains
      summary: The backend-authoritative chain registry
      description: Every supported chain (Ethereum + other EVM chains, Bitcoin, Dogecoin), each with mainnet and testnet variants, plus a live USD price.
      tags:
      - Config
      security:
      - apiKey: []
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    key:
                      type: string
                    family:
                      type: string
                      enum:
                      - evm
                      - bitcoin
                    name:
                      type: string
                    symbol:
                      type: string
                    decimals:
                      type: integer
                    usd_price:
                      type:
                      - number
                      - 'null'
                    mainnet:
                      type: object
                    testnet:
                      type: object
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
  /api/v1/rates:
    get:
      operationId: getRates
      summary: Crypto to world-currency exchange rates
      description: Refreshed hourly; served whole, keyed by asset then quote currency.
      tags:
      - Config
      security:
      - apiKey: []
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  as_of:
                    type:
                    - string
                    - 'null'
                  quotes:
                    type: array
                    items:
                      type: string
                  display_currency:
                    type: string
                  rates:
                    type: object
                    additionalProperties:
                      type: object
                      additionalProperties:
                        type: number
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
  /api/.well-known/credential-authority:
    get:
      operationId: getCredentialAuthorityDiscovery
      summary: credential-authority/0.2 discovery document
      description: Public. Where to borrow a stored credential, where the MCP gateway is, and the mandate endpoints -- see the Grains repo's spec/credential-authority.md for the vendor-neutral protocol.
      tags:
      - Config
      security: []
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    AuthError:
      type: object
      description: The 401 every authenticated operation answers. `error` is the sentence this API has always sent; `code` is the word to branch on.
      properties:
        error:
          type: string
        code:
          type: string
          enum:
          - auth_required
          - invalid_credentials
          - session_ended
          description: 'auth_required: nothing was sent. invalid_credentials: the api-key, token or JWT does not work. session_ended: a person''s sign-in was ended; sign in again.'
        sign_in_url:
          type: string
          description: Where a person signs in.
        docs_url:
          type: string
          description: How an agent authenticates (agents.md).
      required:
      - error
      - code
      - sign_in_url
      - docs_url
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: api-key
      description: An agent's own api-key (Api::V1::ApiController#authenticate_api_key, ApiKey.authenticate). Header only -- never sent as a query parameter, which would land in access logs in plaintext. Minted once, shown once, at POST /auth (agent self-registration) or POST /api/v1/agents (a child agent); rotate with POST /api/v1/agents/:id/rotate_api_key.
    oauth2:
      type: oauth2
      description: 'K5 remote-MCP OAuth 2.1: authorization code + PKCE (S256). The resulting bearer token authenticates as a KEYLESS agent, scoped to "chat" and/or "money" and deny-by-default to the small set of operations in Oauth::MCP_ALLOWLIST -- an operation not marked with this scheme is not reachable by an OAuth bearer at all, regardless of scope.'
      flows:
        authorizationCode:
          authorizationUrl: https://saltapp.ai/oauth2/authorize
          tokenUrl: https://saltapp.ai/api/oauth2/token
          refreshUrl: https://saltapp.ai/api/oauth2/token
          scopes:
            chat: Open/read/send in chats, post cards, read contacts.
            money: Request money, read money, manage a shop.
externalDocs:
  url: https://saltapp.ai/docs
  description: Salt developer docs.