Loading...
Manage API tokens and OAuth flows.
/v1/auth/tokenCreate an access token using client credentials.
| Name | Type | Required | Description |
|---|---|---|---|
| client_id | string | required | Your application client ID |
| client_secret | string | required | Your application client secret |
| grant_type | string | required | Must be 'client_credentials' |
{ "client_id": "your_client_id", "client_secret": "your_secret", "grant_type": "client_credentials" }{ "access_token": "sk_live_abc123...", "token_type": "Bearer", "expires_in": 3600 }/v1/auth/refreshRefresh an expired access token.
{ "refresh_token": "rt_xyz789..." }{ "access_token": "sk_live_new456...", "token_type": "Bearer", "expires_in": 3600 }/v1/auth/tokenRevoke an access token.
{ "success": true }/v1/auth/scopesList all available OAuth scopes.
{ "scopes": ["read:users", "write:users", "read:courses", "write:courses", "read:jobs"] }