Create team
/api/teams/createRequest body
Team name
URL-safe slug (lowercase, alphanumeric, hyphens)
Response
The new team ID
Send invitation
/api/invitations/sendRequest body
Team to invite to
Invite by email
Invite by @username
Role to assign (default: member)
Response
Always true on success
The invitation ID
Accept invitation
/api/invitations/acceptRequest body
Invitation ID
Invitation token
Response
Always true on success
The team joined
Reject invitation
/api/invitations/rejectRequest body
Invitation ID
Invitation token
Response
Always true on success
Resend invitation
/api/invitations/resendRequest body
Invitation ID to resend
Response
Always true on success

