GEThttps://declara-web.vercel.app/api/v1/keys

O valor completo da chave não é retornado nesta listagem. Apenas os últimos 8 caracteres são exibidos.

Resposta

chaves[].idstringUUID da chave
chaves[].nomestringNome atribuído à chave
chaves[].key_previewstringPrévia — últimos 8 caracteres (ex: ...d4e5f6ab)
chaves[].ultimo_usostringData do último uso (ISO 8601) ou null
chaves[].created_atstringData de criação (ISO 8601)

Sucesso (200)

JSON
{
  "chaves": [
    {
      "id":          "c56a4180-65aa-42ec-a945-5fd21dec0538",
      "nome":        "HS Financeiro",
      "key_preview": "d4e5f6ab",
      "ativa":       true,
      "ultimo_uso":  "2026-07-02T15:30:00.000Z",
      "created_at":  "2026-07-02T10:00:00.000Z"
    }
  ]
}