Herald
OpenapiClient

Get a specific client app by ID

Retrieves the details of a specific OAuth client application.

GET
/api/client/{clientAppId}

Retrieves the details of a specific OAuth client application.

Path Parameters

clientAppId*string

client app UUID

Formatuuid

Response Body

ClientApp retrieved

application/json
  1. response
allowedOrigins*array<string>
browserRefreshAbsoluteTtlSeconds*integer
Formatint32
clientId*string

OAuth client_id (used in OAuth flows)

The public identifier used in OAuth authorization flows.

clientSecret?|

OAuth client secret (only shown during creation)

The secret key used for confidential client authentication in OAuth flows. Store this securely - it will not be retrievable after the initial creation response. This field will be null in update and list responses.

description?|

Detailed description

Description explaining the purpose and functionality of the application.

deviceCodeGrantEnabled*boolean
emailVerifyReturnUrl?string|null
enabled*boolean

Whether this client is currently enabled

When false, the client cannot be used for new OAuth flows.

iconUrl?|

Application icon URL

URL to an image file that will be displayed as the app icon.

id*string

Client application UUID

Internal unique identifier for the client application.

Formatuuid
isFirstParty*boolean
isSystemBuiltin*boolean

Read-only resource-protection flag: true for the two built-in UI clients, the built-in API Key client, and the built-in MCP client. Not a user permission — callers still need clients.view/manage.

name*string

Human-readable application name

Display name shown to users in authorization screens and admin panels.

passwordResetReturnUrl?string|null
realmId*string

Realm this client belongs to

The realm ID that this client application is associated with.

redirectUris*array<string>

Allowed OAuth redirect URIs

List of valid redirect URIs for OAuth flows. Users will only be redirected to these URIs after authentication.

turnstileEnabled*boolean

Whether Cloudflare Turnstile human-verification is enforced for this Client App (D-PROTECT-01).

turnstileSiteKey?|

Cloudflare Turnstile site key (public), shown to the client widget. None when Turnstile is disabled.

Example Request
curl -X GET 'https://example.com/api/client/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{
  "allowedOrigins": [
    "string"
  ],
  "browserRefreshAbsoluteTtlSeconds": 0,
  "clientId": "string",
  "clientSecret": "string",
  "description": "string",
  "deviceCodeGrantEnabled": true,
  "emailVerifyReturnUrl": "string",
  "enabled": true,
  "iconUrl": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "isFirstParty": true,
  "isSystemBuiltin": true,
  "name": "string",
  "passwordResetReturnUrl": "string",
  "realmId": "string",
  "redirectUris": [
    "string"
  ],
  "turnstileEnabled": true,
  "turnstileSiteKey": "string"
}