Skip to Content
API ReferenceOverview

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/v1

Authentication

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

CodeMeaning
200Success
201Created
400Bad request (invalid input)
401Unauthorized (missing or invalid token)
403Forbidden (insufficient permissions)
404Resource not found
429Rate limited
500Server error

Rate Limits

PlanLimit
Free100 requests/minute
Pro500 requests/minute
Pay-as-you-go1000 requests/minute

Endpoints