Create Organization Invitation

Create an invitation to an organization

Authentication

AuthorizationBearer
Bearer token authentication

Request

This endpoint expects an object.
emailstringRequired
The email address of the user to invite
rolestringRequired

The role(s) to assign to the user. It can be admin, member, owner. Eg: “member”

teamIdstringRequired
organizationIdstring or nullOptional
The organization ID to invite the user to
resendboolean or nullOptional

Resend the invitation email, if the user is already invited. Eg: true

Response

Success
idstring
emailstring
rolestring
organizationIdstring
inviterIdstring
statusstring
expiresAtstring
createdAtstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error