Authentication
All cloud API endpoints require an API key.
Generate an API Key
Login to the Console:
https://console.redu.cloudOpen API Keys:
https://console.redu.cloud/category/user/api-keysGenerate a key and copy it immediately.
API keys are not shown again after creation.
Base URL
https://api.redu.cloud/cloud/v1Authentication Header
All authenticated requests must include:
x-api-key: YOUR_API_KEYExample: Get Current User
curl https://api.redu.cloud/cloud/v1/me \
-H "x-api-key: YOUR_API_KEY"Successful Response
{
"id": "usr_01HZX8YF2",
"username": "joe",
"email": "joe@example.com",
"roles": ["user"]
}Common Errors
401 Unauthorized
Missing or invalid API key.
{
"error": {
"code": "unauthorized",
"message": "Invalid API key"
}
}403 Forbidden
The API key is valid but does not have permission to access the resource.