Skip to main content
The Moca Network REST API enables server-to-server operations that do not require user presence. Use it for backend automation, bulk credential issuance, programmatic status checks, and browsing the credential catalog.

Base URLs

EnvironmentBase URL
Sandboxhttps://api.sandbox.mocachain.org/v1
Productionhttps://mocachain-mainnet.api.air3.com/v1

Authentication

Credential endpoints require a Partner JWT passed in the x-partner-auth header. The JWT must be signed with your private key (RS256 or ES256) and include:
ClaimRequiredDescription
partnerIdYesYour Partner ID from the Developer Dashboard
emailYesTarget user’s email address
scopeYesOperation scope (e.g. "issue on-behalf")
expYesExpiration timestamp (recommended: 5 minutes)
The JWT header must include kid (Key ID) matching a key in your JWKS endpoint and typ: "JWT". For full setup instructions, key generation, and code examples see Partner Authentication. Catalog endpoints are public and require no authentication. API Playground: Requests from the Try it out playground are sent directly from your browser to the API. Your API must allow CORS from your docs origin (e.g. your Mintlify subdomain or custom domain) for the playground to work. If you see 403 from the playground, check that the API allows the request origin and that your Partner JWT is valid.

Credentials

Issue credential on behalf

Submit server-side credential issuance for a user without requiring their active session.

Check issuance status

Poll the status of an asynchronous credential issuance until it is confirmed on-chain.

Catalog

Sandbox only at this stage. Catalog endpoints are available exclusively on https://api.sandbox.mocachain.org/v1 during the pilot. They are under active development and may change without notice — not yet available in production.

Browse schemas

Paginated list of credential schemas with credential count and number of issuers. Sortable by popularity or title.

Schema detail

Single schema with every credential built on it, including issuer info and traction metrics.

Credential detail

Full credential profile: data points, issuer identity, holder/issuance/verification metrics, linked programs, and availability window.

Browse programs

Paginated list of verification programs with verification counts and accepted credential types.

Program detail

Verification program with verifier identity, pricing model, accepted credentials, and ZK verification conditions.

Search catalog

Full-text search across credentials, issuers, and programs with relevance-ranked grouped results.

Code examples

For end-to-end integration examples including issue-and-poll flows, webhook-driven issuance, and retry logic, see Issue on Behalf API & Examples.