Base URL:
/api/v1
Go to Dashboard

API Documentation

Public / user API endpoints under /api/v1. Some endpoints require authentication or an API key.

Authentication

Include your API key in the request:

  • Authorization header: Authorization: Bearer <API_KEY>
  • Or header: X-API-Key: <API_KEY>
  • Or query: ?api_key=<API_KEY> (not recommended)

Tip: request an API key from your administrator or manage your keys from the Dashboard.

My Organizations

GET
/api/v1/organizations/my

List organizations the current user belongs to.

GET
/api/v1/organizations/{organization}

Get details for an organization the user belongs to.

POST
/api/v1/organizations

Create a new organization (user becomes owner).

PUT/PATCH
/api/v1/organizations/{organization}

Update an organization you own or have permissions for.

DELETE
/api/v1/organizations/{organization}

Delete an organization you own.

Teams

GET
/api/v1/organizations/{organization}/teams

List teams in an organization you belong to.

GET
/api/v1/organizations/{organization}/teams/{team}

Get a team by ID.

POST
/api/v1/organizations/{organization}/teams

Create a team within an organization you manage.

PUT/PATCH
/api/v1/organizations/{organization}/teams/{team}

Update a team's details.

DELETE
/api/v1/organizations/{organization}/teams/{team}

Delete a team.

Roles

GET
/api/v1/organizations/{organization}/roles

List roles available in the organization.

POST
/api/v1/organizations/{organization}/roles/{user}

Assign or update a user's role within an organization.

Affiliate

GET
/api/v1/affiliate

Get current user's affiliate info and stats.

GET
/api/v1/affiliate/referrals

List referrals and earnings.

POST
/api/v1/affiliate/withdraw

Request affiliate payout/withdrawal.

Profile

GET
/api/v1/profile

Get the current user's profile data.

PUT/PATCH
/api/v1/profile

Update your profile information (name, avatar, settings).

POST
/api/v1/profile/password

Change your account password.

Subscriptions

GET
/api/v1/subscriptions

List subscriptions. Query: search, per_page.

GET
/api/v1/subscriptions/{subscription}

Get a subscription by ID.

POST
/api/v1/subscriptions

Create a subscription.

PUT/PATCH
/api/v1/subscriptions/{subscription}

Update a subscription.

DELETE
/api/v1/subscriptions/{subscription}

Delete a subscription.

Payments

GET
/api/v1/payments

List payments. Query: search, per_page.

GET
/api/v1/payments/{payment}

Get a payment by ID.

POST
/api/v1/payments

Create a payment.

PUT/PATCH
/api/v1/payments/{payment}

Update a payment.

DELETE
/api/v1/payments/{payment}

Delete a payment.