# Get API Client

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

Get the API client by ID.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |
| `apiClientId` | path | string | yes | API client ID |

## Responses

### 200 — OK

Content-Type: `application/json` · Schema: `ApiClient`

**`ApiClient`** fields:

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `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](https://doc.fours.com/settings/oauth-app/)._

### Request

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

### Response — 200

```json
{
  "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

```json
"string"
```

---

API reference: https://doc.fours.com/api/
