GET/api/apps/{app_id}/client-secretAuthenticated

Get client secret metadata

Reports whether a client application has a client secret (is a confidential client) and when it was generated / rotated. The secret itself is never retrievable after generation. Requires management access; hardcoded apps cannot be configured.

operationId get_api_apps_app_id_client_secretClient applications

Authentication & permissionsAuthenticated

Any authenticated user

Accepted credentials
Who may call
Any authenticated user

Path parameters

NameTypeDescription
app_id*string

Client application id

Responses

application/json
ClientSecretMetadataResponse
PropertyTypeDescription
success*true
has_client_secret*boolean

Whether the app currently has a client secret (is a confidential client)

created_atnumber

First-generation time (ms since epoch); absent without a secret

updated_atnumber

Last generation / rotation time (ms since epoch); absent without a secret

JSONExample
"success"true
"has_client_secret"true
"created_at"1.5
"updated_at"1.5

Example request

bashcurl
curl -X GET 'https://auth.schemavaults.com/api/apps/<app_id>/client-secret' \
  -b 'refresh_token_<auth_server_app_id>=<value>'