POST
Invite somebody to the organization

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Body

application/json
email
string<email>
required
Maximum string length: 255
role
enum<string>
required
Available options:
admin,
member,
viewer

Response

The invitation, its token (shown once), accept_url (the dashboard accept page carrying the token) and emailed (whether the invitation mail was queued; false means the admin sends the link) and organization_name.