Overview
The Teams API lets you invite members to your organization. When an invitation is sent, the invitee automatically receives an email with a link to accept and join the team.Invite member
Invites a user to join your organization. The invitee receives an email notification with their assigned role and a link to the dashboard.Request fields
| Field | Type | Required | Notes |
|---|---|---|---|
email | string | Yes | Email address of the person to invite |
role | string | Yes | Role to assign — e.g. member, admin |
Behavior
- Requires the
members:invitepermission on your token. - The invitee receives an email from SelfTune with the inviter’s name, organization name, assigned role, and a link to the dashboard.
- Email delivery is best-effort and non-blocking — the API responds immediately regardless of email delivery status.
Response
Error responses
| Status | Meaning |
|---|---|
400 | Invalid request body or missing required fields |
403 | Token lacks members:invite permission |
409 | User is already a member of this organization |