Suger

Get API Client

GET https://api.suger.cloud/org/{orgId}/apiClient/{apiClientId}

Get the API client by ID.

Parameters

NameInTypeRequiredDescription
orgId path string yes Organization ID
apiClientId path string yes API client ID

Responses

200 — OK

Content-Type: application/json · Schema: ApiClient

ApiClient fields:

FieldTypeRequiredDescription
apiKeyHash string no
creationTime string no
id string no
info array<integer> no
lastUpdateTime string no
organizationID string no
provider string no
role string no
secret string no
type string no

400 — Bad request error

Content-Type: application/json

500 — Internal server error

Content-Type: application/json

Example

Generated from this operation's schema. Values are placeholders — substitute your own ids, and set SUGER_TOKEN to a bearer token from the OAuth client-credentials exchange.

Request

curl -X GET 'https://api.suger.cloud/org/{orgId}/apiClient/{apiClientId}' \
  -H "Authorization: Bearer $SUGER_TOKEN"

Response — 200

{
  "apiKeyHash": "string",
  "creationTime": "2026-01-31T12:00:00Z",
  "id": "01H0000000000000000000",
  "info": [
    1
  ],
  "lastUpdateTime": "2026-01-31T12:00:00Z",
  "organizationID": "01H0000000000000000000",
  "provider": "string",
  "role": "string",
  "secret": "string",
  "type": "string"
}

Error — 400

"string"

View as Markdown · Interactive API reference

Spotted something wrong or out of date on this page? Tell us and we'll correct it.