Organizations
api/admin/organizations
History
api/admin/organizations Changed · +12 / -13 lines
#### Response (200) ## Domain types #### Response ## Domain Types
---- -title: Organizations -url: https://platform.claude.com/docs/en/api/admin/organizations ---- - # Organizations ## Get Current Organization -**get** `/v1/organizations/me` +**GET** `/v1/organizations/me` Retrieve information about the organization associated with the authenticated API key. ### Returns -- `Organization object { id, name, type }` +- `Organization object` - `id: string` ID of the Organization. + format: uuid + - `name: string` Name of the Organization.
For Organizations, this is always `"organization"`. - - `"organization"` + default: organization ### Example -```http +```bash curl https://api.anthropic.com/v1/organizations/me \ -H 'anthropic-version: 2023-06-01' \ -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" ``` -#### Response +#### Response (200) ```json {
} ``` -## Domain Types +## Domain types ### Organization -- `Organization object { id, name, type }` +- `Organization object` - `id: string` ID of the Organization. + format: uuid + - `name: string` Name of the Organization.
For Organizations, this is always `"organization"`. - - `"organization"` + default: organization
api/admin/organizations First recorded · 72 lines, first recorded
# Organizations ## Get Current Organization ### Returns ### Example #### Response ## Domain Types ### Organization
The first capture of this source. The page was already there, and this is what it said.
---
title: Organizations
url: https://platform.claude.com/docs/en/api/admin/organizations
---
# Organizations
## Get Current Organization
**get** `/v1/organizations/me`
Retrieve information about the organization associated with the authenticated API key.
### Returns
- `Organization object { id, name, type }`
- `id: string`
ID of the Organization.
- `name: string`
Name of the Organization.
- `type: "organization"`
Object type.
For Organizations, this is always `"organization"`.
- `"organization"`
### Example
```http
curl https://api.anthropic.com/v1/organizations/me \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
```
#### Response
```json
{
"id": "12345678-1234-5678-1234-567812345678",
"name": "Organization Name",
"type": "organization"
}
```
## Domain Types
### Organization
- `Organization object { id, name, type }`
- `id: string`
ID of the Organization.
- `name: string`
Name of the Organization.
- `type: "organization"`
Object type.
For Organizations, this is always `"organization"`.
- `"organization"`