Authorizations
Headers
The organization id to use for the request
Body
JSON request payload to send an invitation
The url of the app that the user will be directed to in order to set their password. Usually admin.trieve.ai, but may differ for local dev or self-hosted setups.
The email of the user to invite. Must be a valid email as they will be sent an email to register.
The url that the user will be redirected to after setting their password.
The role the user will have in the organization. 0 = User, 1 = Admin, 2 = Owner.
The api route scopes the user will have in the organization.
Response
Ok response. Indicates that invitation email was sent correctly.