Base URL
All API requests are made to::projectId with the UUID of your Sublay project, which you can find in the Sublay dashboard.
So every endpoint takes the form:
Request Format
Most endpoints acceptapplication/json. Endpoints that support file uploads accept multipart/form-data. The Content-Type header should be set accordingly.
Authentication
Protected endpoints require aBearer token in the Authorization header:
Pagination
Endpoints that return lists use cursor-free offset pagination. Passpage and limit as query parameters:
Paginated responses always return the same envelope:
Error Format
All error responses follow a consistent structure:field key (e.g., validation errors on a specific input field):
Common HTTP Status Codes
Rate Limiting
Each endpoint has its own rate limit, applied per project and per IP. When a limit is exceeded, the API returns429 Too Many Requests. Limits are noted per endpoint in this reference.
