> ## Documentation Index
> Fetch the complete documentation index at: https://scaleup-c34c4386.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Obter Organização

> Retorna os detalhes da organização associada ao cliente autenticado.

Retorna as informações da organização vinculada ao token de sessão do cliente.

## Autenticação

> [!NOTE]
>
> Requer **Customer Session Token** no header `Authorization: Bearer cst_xxx`.

## Requisição

**Authorization** `string` *required*

Token de sessão do cliente. Formato: `Bearer cst_xxx`

```bash cURL theme={null}
curl -X GET https://api.chargefy.io/api/v1/customer-portal/organization \
  -H "Authorization: Bearer cst_xxx"
```

## Resposta

**id** `string`

Identificador único da organização.

**name** `string`

Nome da organização.

**slug** `string`

Slug da organização para URLs.

**avatar\_url** `string | null`

URL do logo da organização.

```json Resposta 200 theme={null}
{
  "id": "org_abc123",
  "name": "Minha Empresa LTDA",
  "slug": "minha-empresa",
  "avatar_url": "https://api.chargefy.io/assets/org_abc123/logo.png",
  "bio": "Soluções digitais para o seu negócio.",
  "blog_posts_count": 5,
  "donation_badge_shown": false,
  "feature_settings": {
    "subscriptions_enabled": true,
    "sales_enabled": true
  },
  "created_at": "2024-06-01T08:00:00Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.