---
title: "Identidad del tenant y capacidades de la llave"
method: GET
path: "/whoami"
tags: ["Cuenta"]
---

# Identidad del tenant y capacidades de la llave

`GET /whoami`

## Request

- Base URL: `https://facturacobra.com/api/v1`
- URL: `https://facturacobra.com/api/v1/whoami`
- Auth: API key in header `X-API-Key`

## Response `200`

OK

- object
  - `api_version` string
  - `ruc` string, nullable
  - `razon_social` string, nullable
  - `ambiente` 1 | 2
  - `sandbox` boolean
  - `sri_activo` boolean
  - `scopes` string[]

## Other responses

- `401`: API key faltante o inválida

---

[API](https://skmtc.dev/facturacobra/apis/cobra-api-de-facturacion-electronica-sri.md) · [All operations](https://skmtc.dev/facturacobra/apis/cobra-api-de-facturacion-electronica-sri/llms.txt) · [OpenAPI document](https://skmtc.dev/facturacobra/apis/cobra-api-de-facturacion-electronica-sri/revisions/ca7de81e465d?raw)
