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

# Business information

> Get the business data associated with your API Key (name, contact, timezone, categories, and company types)

## Description

This endpoint returns the data of the business (company) associated with your API Key: name, contact details, address, timezone, size, enabled company types, and categories.

It is read-only and is automatically scoped to the company of the API Key used.

## Authentication header

<ParamField header="X-API-Key" type="string" required>
  Your Mindo API Key. Format: `mindo_xxxxxxxxxxxxxxxxxxxxxxxx`
</ParamField>

## Response

<ResponseField name="id" type="integer">
  Internal company ID.
</ResponseField>

<ResponseField name="name" type="string">
  Company name.
</ResponseField>

<ResponseField name="email" type="string">
  Company contact email.
</ResponseField>

<ResponseField name="phone" type="string">
  Company contact phone.
</ResponseField>

<ResponseField name="website" type="string">
  Company website.
</ResponseField>

<ResponseField name="address" type="string">
  Company address.
</ResponseField>

<ResponseField name="description" type="string">
  Business description.
</ResponseField>

<ResponseField name="timezone" type="string">
  Company timezone (IANA format, e.g. `America/Argentina/Buenos_Aires`).
</ResponseField>

<ResponseField name="companySize" type="string">
  Company size. See [company sizes](#company-sizes). Can be `null`.
</ResponseField>

<ResponseField name="companySizeDisplay" type="string">
  Human-readable label of the company size (e.g. `11-50 empleados (Pequeña)`). Can be `null`.
</ResponseField>

<ResponseField name="companyTypes" type="array">
  Enabled business types. Possible values: `ECOMMERCE`, `CLINIC`.
</ResponseField>

<ResponseField name="categories" type="array">
  Company categories (names).
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET https://api.mindosoftware.com/api/v1/business-info/ \
    -H "X-API-Key: mindo_xxxxxxxxxxxxxxxxxxxxxxxx"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.mindosoftware.com/api/v1/business-info/",
      headers={"X-API-Key": "mindo_xxxxxxxxxxxxxxxxxxxxxxxx"}
  )

  data = response.json()
  print(data)
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    "https://api.mindosoftware.com/api/v1/business-info/",
    {
      headers: { "X-API-Key": "mindo_xxxxxxxxxxxxxxxxxxxxxxxx" }
    }
  );

  const data = await response.json();
  console.log(data);
  ```
</RequestExample>

<ResponseExample>
  ```json 200 - OK theme={null}
  {
    "id": 12,
    "name": "Mi Empresa SRL",
    "email": "contacto@miempresa.com",
    "phone": "+54 9 223 675-0780",
    "website": "https://miempresa.com",
    "address": "Av. Siempre Viva 123, Mar del Plata",
    "description": "Tienda de indumentaria deportiva.",
    "timezone": "America/Argentina/Buenos_Aires",
    "companySize": "SMALL",
    "companySizeDisplay": "11-50 empleados (Pequeña)",
    "companyTypes": ["ECOMMERCE"],
    "categories": ["Indumentaria", "Retail"]
  }
  ```

  ```json 401 - API Key not sent theme={null}
  {
    "error": "Este endpoint requiere autenticacion con API Key (header X-API-Key)"
  }
  ```
</ResponseExample>

## Company sizes

| Value        | Description                  |
| ------------ | ---------------------------- |
| `MICRO`      | 1-10 employees (Micro)       |
| `SMALL`      | 11-50 employees (Small)      |
| `MEDIUM`     | 51-250 employees (Medium)    |
| `LARGE`      | 251-1000 employees (Large)   |
| `ENTERPRISE` | 1000+ employees (Enterprise) |
