{instance} is your unique instance slug and eu1 is the
current environment; both are provided during onboarding:
Authentication
Every API request must carry an OAuth2 access token — a signed JSON Web Token (JWT) — in theAuthorization header:
API keys are deprecated. Guardian still accepts a long-lived instance key in the
x-api-key header, so
existing integrations keep working, but new integrations should use an access token. The x-admin-token
header has been replaced — administrative endpoints now use the same access token carrying the relevant
admin:* scope.Scopes
Each endpoint requires a specific scope. Request only the scopes a given integration needs through thescope parameter when you request a token — follow the principle of least
privilege.
Token operations
network:tokens:* requires the Network Tokens add-on, and metadata:inquiries:create requires the
Metadata Inquiries add-on, enabled on your instance. See Plans & Access.Administrative operations
Administrative endpoints manage the instance itself. They require a token carrying the relevantadmin:*
scope, and should be issued to operator or back-office clients only.
Next steps
API Keys
Manage the deprecated instance API keys that existing integrations still use.