Bem-vindo ao nosso novo hub de docs! Central de Ajuda + Docs para Desenvolvedores em um só lugar.
curl --request GET \
--url https://app.alana.shopping/api/workspace/{workspaceId}/api-keys \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "key_1a2b3c",
"workspace_id": "ws_1a2b3c4d",
"name": "Production API Key",
"key_prefix": "ak_live_abc123",
"permissions": [
"api:read",
"api:write"
],
"last_used_at": "2024-02-15T10:30:00Z",
"expires_at": null,
"created_by": "user_xyz789",
"created_at": "2024-01-15T08:00:00Z"
}
]
}curl --request GET \
--url https://app.alana.shopping/api/workspace/{workspaceId}/api-keys \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "key_1a2b3c",
"workspace_id": "ws_1a2b3c4d",
"name": "Production API Key",
"key_prefix": "ak_live_abc123",
"permissions": [
"api:read",
"api:write"
],
"last_used_at": "2024-02-15T10:30:00Z",
"expires_at": null,
"created_by": "user_xyz789",
"created_at": "2024-01-15T08:00:00Z"
}
]
}Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>
The workspace ID
^ws_[a-z0-9]+$API keys retrieved successfully
Show child attributes