OAuth Clients
Register OAuth client
Changed onRegister a new OAuth client for third-party application integration.
The generated client_id and client_secret are returned in the response. The secret is shown only once — store it securely.
post/admin/oauth-clients
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/oauth-clients
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token)
Request body
Example request
{
"description": "My application production deployment",
"name": "my-app-production",
"redirect_uris": [
"https://app.example.com/auth/callback"
],
"require_consent": true
}Response
Successful Response
Example response
{
"active": true,
"active_grant_count": 0,
"allowed_scopes": [
"agents:read",
"credentials:read"
],
"approval_status": "approved",
"client_id": "oc_abc123...",
"client_secret": "<redacted>",
"consent_model": "user",
"created_at": "2026-08-18T12:00:00Z",
"created_by": "usr_abc123",
"description": "My application production deployment",
"id": "oac_2NxYz...",
"name": "my-app-production",
"redirect_uris": [
"https://app.example.com/auth/callback"
],
"registration_source": "admin",
"require_consent": true,
"software_id": "com.example.my-app",
"token_endpoint_auth_method": "client_secret_basic",
"updated_at": "2026-08-18T12:00:00Z"
}Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info
- info
added the optional property
to the response with the status
- info