curl --request GET \
--url https://api.gotrebol.com/api-keys \
--header 'x-api-key: <api-key>'
{
"api_keys": [
{
"id": "ak_1234567890abcdef",
"created_at": "2024-01-15T10:30:00Z"
},
{
"id": "ak_0987654321fedcba",
"created_at": "2024-01-10T14:20:00Z"
}
]
}
Obtiene la lista del id y la fecha de creación de todas las API keys asociadas a la cuenta del usuario.
curl --request GET \
--url https://api.gotrebol.com/api-keys \
--header 'x-api-key: <api-key>'
{
"api_keys": [
{
"id": "ak_1234567890abcdef",
"created_at": "2024-01-15T10:30:00Z"
},
{
"id": "ak_0987654321fedcba",
"created_at": "2024-01-10T14:20:00Z"
}
]
}
Lista de API keys obtenida exitosamente.
The response is of type object
.
Was this page helpful?