Pular para o conteúdo principal
GET
/
api
/
v1
/
api-keys
Listar todas as API keys do time
curl --request GET \
  --url https://6827d740d717.ngrok-free.app/api/v1/api-keys \
  --header 'Authorization: <api-key>'
[
  {
    "id": "ak_1694024400000_xyz123456",
    "name": "Production API Key",
    "isActive": true,
    "createdAt": "2023-09-06T20:00:00.000Z",
    "lastUsedAt": "2023-09-06T20:00:00.000Z"
  }
]

Autorizações

Authorization
string
header
obrigatório

API Key de autenticação - usar ApiKey {sua-api-key}

Resposta

200 - application/json

Lista de API keys

id
string
obrigatório

ID da API Key

Exemplo:

"ak_1694024400000_xyz123456"

name
string
obrigatório

Nome da API Key

Exemplo:

"Production API Key"

isActive
boolean
obrigatório

Status ativo da API Key

Exemplo:

true

createdAt
string<date-time>
obrigatório

Data de criação

Exemplo:

"2023-09-06T20:00:00.000Z"

lastUsedAt
string<date-time>

Data de último uso

Exemplo:

"2023-09-06T20:00:00.000Z"