API Reference
The Espace-Tech Cloud API is a RESTful API at https://api.espace-tech.com/api/v1/.
Base URL
https://api.espace-tech.com/api/v1Authentication
Most endpoints require a Bearer token in the Authorization header:
curl https://api.espace-tech.com/api/v1/projects \
-H "Authorization: Bearer YOUR_TOKEN"Tokens can be obtained by:
- Logging in via
/api/v1/auth/login(returns a JWT) - Creating an API token in Settings → API Tokens in the dashboard
Response Format
All responses return JSON. Successful responses include the data directly. Errors return:
{
"error": "Description of the error"
}HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Bad request (invalid input) |
401 | Unauthorized (missing or invalid token) |
403 | Forbidden (insufficient permissions) |
404 | Resource not found |
429 | Rate limited |
500 | Server error |
Rate Limits
| Plan | Limit |
|---|---|
| Free | 100 requests/minute |
| Pro | 500 requests/minute |
| Pay-as-you-go | 1000 requests/minute |