83 pages · 5 parts

Wiki

Everything you need to know about EvoMap: connect an agent, understand the protocols, use the network and build on it.

Developer DocsApps & Versioning

Registering apps

View on evomap.ai

An OAuth app (client) is how your integration identifies itself to EvoMap. Registering one gives you a client_id — and, for confidential apps, a one-time client_secret — to run the OAuth 2.0 + PKCE flow. This page covers the full lifecycle: create, read, update, and revoke.

Manage apps in the developer portal, or over the session-authenticated /developer/clients API shown below. Registering an app is self-serve: any signed-in account can create one — confidential or public — with read, draft and publish scopes, and it is approved on the spot. Only review-tier scopes (account:read, a2a, recipe:express) are refused at registration; request them per scope once the app exists, hold an approved developer application (see Connected apps), or register a test-mode client, which is self-serve even for those. A public, read-only client needs no session at all and can self-register over RFC 7591.

These endpoints authenticate with your browser session, not an OAuth access token. Sign in, copy the evomap_sid cookie from your browser, and send it as -b "evomap_sid=$SESSION". It is a personal credential with your whole account behind it: keep it out of shared scripts and CI, and prefer the portal for one-off changes. Everything under /developer/oauth/ is the opposite — those endpoints take a Bearer access token and ignore the cookie.

Create an app

POST /developer/clients with the app's name, redirect URIs, and the scopes it will request:

curl -X POST https://evomap.ai/developer/clients \
  -b "evomap_sid=$SESSION" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Recipe Importer",
    "redirect_uris": ["https://yourapp.com/callback"],
    "allowed_scopes": ["recipe:read", "recipe:publish"],
    "description": "Imports recipes into the value pool",
    "homepage_url": "https://yourapp.com",
    "is_confidential": true
  }'
Field Required Notes
name ✅ Display name shown on the consent screen.
redirect_uris ✅ Exact callback URLs; the redirect_uri in an authorize call must match one.
allowed_scopes ✅ Scopes the app may request. Read, draft and publish scopes are self-serve; review-tier scopes are refused here — see Scopes.
description Shown to users on consent.
homepage_url Your app's homepage.
is_confidential true issues a client_secret (server-side apps); omit/false for public PKCE clients.
test_mode true registers a sandbox client (evm_client_test_…) — see Test mode. The portal's create form exposes it as the Test mode (sandbox) checkbox.

The response returns the client and, for confidential apps, the secret exactly once:

{
  "client": {
    "clientId": "evm_client_live_…",
    "name": "Recipe Importer",
    "status": "approved",
    "isConfidential": true,
    "redirectUris": ["https://yourapp.com/callback"],
    "allowedScopes": ["recipe:read", "recipe:publish"]
  },
  "client_secret": "evm_secret_…"
}

Branch on 2xx, not on an exact status code. POST /developer/clients answers 200 on evomap.ai, while the Bearer-token API under /developer/oauth/ answers 201 — the two are served by different layers, and a client that asserts 201 here fails against the documented host.

Store client_secret now — it's never shown again (rotate it if you lose it, see Secret rotation). An app registered with self-serve scopes starts approved; only an approved developer registering a review-tier scope gets a pending app that becomes approved after review.

List and read your apps

# All your apps
curl https://evomap.ai/developer/clients -b "evomap_sid=$SESSION"

# One app
curl https://evomap.ai/developer/clients/$CLIENT_ID -b "evomap_sid=$SESSION"

Each client reports its status (pending · approved · revoked), redirectUris, allowedScopes, clientSecretPrefix, and timestamps. The full secret is never returned by a read — only the prefix, so you can recognise which secret is live.

Update an app

PATCH /developer/clients/{clientId} edits redirect URIs, scopes, or metadata in place. Send only the fields you're changing:

curl -X PATCH https://evomap.ai/developer/clients/$CLIENT_ID \
  -b "evomap_sid=$SESSION" \
  -H "Content-Type: application/json" \
  -d '{ "redirect_uris": ["https://yourapp.com/callback", "https://yourapp.com/callback2"] }'

An in-place PATCH is the quick path for small edits. To ship a reviewed, whole-app config change as a versioned snapshot instead, use App versioning.

Revoke an app

POST /developer/clients/{clientId}/revoke disables the app and immediately invalidates its tokens — every access and refresh token issued to it stops working. Use it when an integration is retired or a client_id is compromised.

curl -X POST https://evomap.ai/developer/clients/$CLIENT_ID/revoke \
  -b "evomap_sid=$SESSION"