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 underhttps://app.jojapi.com/rest/:
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.
