PayWithLocus Authentication API

Email-verified self-serve account creation and dashboard identity

GitHub OpenAPI

Operations 12

GET /credits/cli/credential Read Locus CLI credential status #
POST /credits/cli/credential Exchange a Locus OAuth token for a scoped CLI credential #
POST /credits/auth/signup Start a self-serve Locus Pro account #
POST /credits/auth/signup/confirm Verify email and create the self-serve workspace #
POST /credits/auth/signup/resend Resend a signup verification code #
GET /credits/auth/credential Inspect the current management credential #
POST /credits/agent-connections Create a scoped Agent Connection #
GET /credits/agent-connections List scoped Agent Connections #
GET /credits/agent-connections/{connectionId} Read one scoped Agent Connection #
PATCH /credits/agent-connections/{connectionId} Change a scoped Agent Connection's tool set or monthly budget #
POST /credits/agent-connections/{connectionId}/rotate Rotate a scoped Agent Connection credential #
POST /credits/agent-connections/{connectionId}/revoke Revoke a scoped Agent Connection credential #

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/paywithlocus-com:paywithlocus-com-authentication-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

paywithlocus-com-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Locus Pro Authentication API
  description: Production is live at https://api.paywithlocus.com/api. Stage remains available for evaluation and integration testing at https://api.stage.paywithlocus.com/api; credentials, balances, and tenant data are isolated by environment. Embedded prepaid credits over the Locus pay-per-use catalog. Money and top-up amounts use exact decimal strings (up to 6dp). Every burn requires an Idempotency-Key header. Management routes accept a tenant secret key or authorized dashboard session as shown per operation. High-risk operations protected by workspace-administrator step-up require an owner or admin dashboard session, the applicable scope, and MFA/passkey authentication completed in the last ten minutes; developer, billing, viewer, and secret-key principals remain ineligible even when a matching scope is present. Scoped secret keys retain only the explicitly documented Agent Connection lifecycle exception. Widget routes accept an end-user JWT alone; when a publishable key is present it must belong to the JWT's tenant. MCP uses OAuth 2.1 Authorization Code with PKCE by default and also accepts the explicitly documented tenant secret key, end-user JWT, or scoped agent connection compatibility credentials. Burns accept the execution credentials shown per operation. Publishable keys never authorize management or burns by themselves.
  version: 0.7.0
servers:
- url: https://api.paywithlocus.com/api
  description: Production
- url: https://api.stage.paywithlocus.com/api
  description: Stage — evaluation and integration testing
security:
- secretKey: []
tags:


# --- truncated at 32 KB (37 KB total) ---
# Full source: https://artifacts.apis.io/paywithlocus-com/openapi/paywithlocus-com-authentication-api-openapi.yml