Base URL

Production
https://collab-api.nightschoolmathclub.com/api/v1

All API requests should be made to the base URL above. All responses are returned as JSON.

Authentication

Authenticate requests by including a Bearer token in the Authorization header. You can generate API tokens from your account settings in the Collab app.

Authorization: Bearer your_api_token_here

Endpoints

Projects

GET /projects List all projects
POST /projects Create a project
GET /projects/:id Get a project

Assets

GET /projects/:id/assets List project assets
POST /projects/:id/assets Upload an asset

Comments

GET /assets/:id/comments List comments
POST /assets/:id/comments Create a comment

Versions

GET /assets/:id/versions List asset versions

Reviews

POST /assets/:id/reviews Submit a review

Rate Limits

API requests are rate limited to 100 requests per minute per API token. Rate limit headers are included in every response:

X-RateLimit-Limit: 100 X-RateLimit-Remaining: 97 X-RateLimit-Reset: 1710000000