Skip to main content
Create and revoke tokens at meigen.ai → Settings → API Keys. Each account supports up to 5 active tokens. Token format: meigen_sk_ followed by 32 characters. The full value is shown only at creation — copy it immediately. Pass the token as a Bearer credential on any authenticated endpoint:
Token management itself (POST / GET / DELETE /api/tokens) is authenticated with a logged-in browser session, not with an API key — an API key cannot create or revoke tokens. Manage them from account settings.
API tokens can only spend purchased credits. Daily free credits are not available via the API.