API Documentation

Public endpoints, authentication, and request rules for integrations.

Base URL

https://{your-domain}/api

Authentication

Use a Bearer token in the Authorization header after login.

Common Headers

  • content-type: application/json
  • authorization: Bearer <token>

Rate Limits

Endpoints apply soft rate limits. Retry with backoff when you receive 429.

Public Endpoints

POST/v1/auth/email/codeSend email verification code.
POST/v1/auth/registerRegister a new account.
POST/v1/auth/loginLogin with email and password.
POST/v1/auth/logoutLogout current session.
POST/v1/validate-inviteValidate invite code.
GET/v1/meGet current user profile.
PUT/v1/meUpdate current user profile.
GET/v1/tasksList available tasks.
GET/v1/tasks/{id}Get task detail.
GET/v1/teamGet team and invite data.
GET/v1/announcementsList announcements.
GET/v1/payment-configGet payout config.
GET/v1/metricsGet dashboard metrics.
GET/v1/submission-proofsList your proofs.
POST/v1/submission-proofsSubmit a proof.
GET/v1/withdrawalsList withdrawals (admin-only in production).

Admin Endpoints

Admin APIs require x-admin-key and x-admin-user headers.

GET/v1/admin/verifyVerify admin credentials.
POST/v1/tasksCreate or update a task.
POST/v1/announcementsCreate announcement.
DELETE/v1/announcements/{id}Delete announcement.
POST/v1/payment-configUpdate payout config.