> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hackgate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /api/organization — organization details

> GET /api/organization returns your organization's ID and available credit balance. Credits determine your HackGATE usage capacity.

Use this endpoint to retrieve the core details of the organization associated with your Bearer token. The response includes the organization's unique identifier and its current credit balance. Credits represent your available usage capacity — contact the Hackrate team to top up your balance.

## Endpoint

```
GET https://api-admin.hackgate.io/api/organization
```

## Request

<ParamField header="Authorization" type="string" required>
  Bearer token. See [Authentication](/api/authentication).
</ParamField>

## Response

<ResponseField name="id" type="string">
  The unique identifier for your organization.
</ResponseField>

<ResponseField name="credits" type="number">
  The number of credits currently available to your organization. Credits are consumed as researcher traffic passes through HackGATE.
</ResponseField>

<Note>
  To purchase additional credits, contact [support@hckrt.com](mailto:support@hckrt.com) or [sales@hckrt.com](mailto:sales@hckrt.com).
</Note>

## Example

```bash theme={null}
curl https://api-admin.hackgate.io/api/organization \
  -H "Authorization: Bearer <token>"
```

```json theme={null}
{
  "id": "org_xyz",
  "credits": 5000
}
```
