Skip to main content
GET
/
api-keys
Listar API keys
curl --request GET \
  --url https://api.example.com/api-keys
[
  {
    "id": "ak_1a2b3c4d",
    "key": "vp_****abcd",
    "active": true,
    "createdAt": "2026-01-15T10:30:00Z",
    "environment": "production"
  },
  {
    "id": "ak_5e6f7g8h",
    "key": "vp_****efgh",
    "active": false,
    "createdAt": "2025-12-01T08:00:00Z",
    "environment": "sandbox"
  }
]
Requiere autenticación con Bearer token.

Respuesta

La respuesta es un array de objetos con la siguiente estructura:
id
string
Identificador único de la API key.
key
string
API key enmascarada (ej: vp_****abcd). Por seguridad, la key completa solo se muestra al momento de crearla.
active
boolean
Indica si la API key está activa.
createdAt
string
Fecha de creación en formato ISO 8601.
environment
string
Entorno de la API key: sandbox o production.
[
  {
    "id": "ak_1a2b3c4d",
    "key": "vp_****abcd",
    "active": true,
    "createdAt": "2026-01-15T10:30:00Z",
    "environment": "production"
  },
  {
    "id": "ak_5e6f7g8h",
    "key": "vp_****efgh",
    "active": false,
    "createdAt": "2025-12-01T08:00:00Z",
    "environment": "sandbox"
  }
]