https://api.thygon.com/auth
Token generation
Issue access token
POST /oauth/token
Request a JWT access token for authenticating subsequent API calls.
Request body (Client Credentials Grant):
Organizations
List organizations
GET /organizations
Retrieve a list of organizations you belong to.
Query parameters:
limit(number, optional): Default50.cursor(string, optional): Pagination cursor.name(string, optional): Filter by name.handle(string, optional): Filter by handle.
Create organization
POST /organizations
Create a new organization.
Request body:
Get organization
GET /organizations/{organization_id}
Update organization
PATCH /organizations/{organization_id}
Delete organization
DELETE /organizations/{organization_id}
Membership & invites
List organization members
GET /organizations/{organization_id}/members
Create membership invite
POST /organizations/{organization_id}/invites
Request body:
Users & sessions
Get user details
GET /users/{user_id}
List active sessions
GET /sessions
Revoke session
POST /sessions/{id}/revoke