Enrollments

The Enrollments API allows businesses to programmatically invite new users to their organization, assigning them roles and workspace access from the moment of onboarding. It also provides visibility into the status of pending and processed invitations, enabling automated and auditable user onboarding workflows.

List enrollments

get

Returns a paginated list of user enrollments (invitations) for the organization filtered by status. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Query parameters
pageintegerOptional

Page number (0-based)

Default: 0
sizeintegerOptional

Page size (default 20)

Default: 20
Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
get
/organizations/enrollments

Invite a user to the organization

post

Send an invitation to a user to join the organization with a specified role and optional workspace assignments. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Body
emailstringRequired

Email address of the user to invite

roleIdstring · uuidRequired

Identifier of the organization role to assign

firstNamestring · nullableOptional

First name of the user

lastNamestring · nullableOptional

Last name of the user

titlestring · nullableOptional

Job title of the user

Responses
post
/organizations/enrollments

Resend invitation

post

Resend an existing enrollment invitation. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
enrollmentIdstring · uuidRequired

Identifier of the enrollment

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
post
/organizations/enrollments/{enrollmentId}/resend

Cancel invitation

post

Cancel a pending enrollment invitation. Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
enrollmentIdstring · uuidRequired

Identifier of the enrollment to cancel

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
204

204 No Content

No content

post
/organizations/enrollments/{enrollmentId}/cancel

No content

Last updated