Skip to main content
This article is for API providers. It covers the tokens that let a script or an agent act on your listings — publishing an OpenAPI document, editing endpoints, reading analytics — without your login.
The Management API is the same REST the API Studio uses. A management token stands in for your session on those routes, and nothing else changes: the same validation, the same ownership checks, the same audit trail.

Management tokens are not API keys

Give each script or agent its own token with only the scopes it needs, set an expiry, and revoke it when the job is done. Tokens are created in Studio → Management API; the token itself is shown once.

Scopes

Deleting an API is never available to a token; do that in the Studio.

Calling it

Send the token as a bearer token to the Studio’s REST routes under https://app.jojapi.com/rest/:
If a proxy in front of your script strips Authorization, the header X-Management-Token: jm_… is accepted too. Answers are JSON with a status field; the HTTP status is 200 for every answer the application produced, so read status, not the code:

Routes

Every route takes and returns JSON. GET routes take their parameters in the query string; POST routes take a JSON body. slug is the listing’s slug — the last part of its Studio URL.

Listings

Imports — publishing an OpenAPI document

The fastest way to keep a listing in step with your code is to publish its OpenAPI document. An import never touches an existing endpoint’s blocked/hidden flags, its group or its plans unless you ask it to. bundle is a JSON string in the import engine’s source-agnostic shape:
value_type is one of string, enum, number, integer, boolean, date, time, object, array, geopoint. Preview first, read the diff, then apply.

Pricing

Analytics and subscribers

Audit and limits

Every request made with a token is logged with its outcome — allowed, refused route, missing scope — and kept for 90 days; the token’s last used stamp is on the Management API page. A token can be valid for at most a year, an account can hold 20 live tokens, and the import routes share the Studio’s limit of 200 imports an hour. Keep tokens where your scripts read secrets from, never in a repository. If one leaks, revoke it on the Management API page; the revocation is immediate.