---
title: "Get organization"
method: GET
path: "/organizations/{id}"
tags: ["Organizations"]
---

# Get organization

`GET /organizations/{id}`

## Request

- Base URL: `https://app.codethreat.com/api/v1`
- URL: `https://app.codethreat.com/api/v1/organizations/{id}`
- Auth: API key in header `X-API-Key`

Get details of a specific organization

## Path parameters

- `id` string, required

## Response `200`

Successful response

- OrganizationResponse
  - `success` boolean
  - `data` object
    - `id` string
    - `name` string
    - `slug` string
    - `planType` 'FREE' | 'PRO'
    - `isPersonal` boolean
    - `usageBalance` number
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `pagination` Pagination
    - `page` integer
    - `limit` integer
    - `total` integer
    - `totalPages` integer
    - `hasNext` boolean
    - `hasPrev` boolean
  - `meta` ResponseMeta
    - `timestamp` string, date-time
    - `version` string
    - `requestId` string
    - `organizationId` string

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/codethreat/apis/codethreat-api.md) - [All operations](https://skmtc.dev/codethreat/apis/codethreat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/codethreat/apis/codethreat-api/revisions/18f11fecbb30?raw)
