Create Invite
Invite someone to your organization by email.
Invite someone to your organization by email. The invitee gets an email with a link to accept the invite in the console. The invite expires in 21 days. Only team organizations take invites: an individual organization has no members but its owner.
POST /v1/organizations/invitesBody
emailstringrequiredThe email address to invite. Stored in lowercase.
rolestringrequiredThe organization role they get on
joining. admin and owner can't be assigned through the API.
Allowed values:
userdeveloperbillingAny other field is rejected with 400.
Response
(object)InviteoptionalThe new [invite object](/api-reference/admin/invites#the-invite- object).
Errors
| Status | Reason |
|---|---|
400 | The email or role is invalid, or the organization is an individual organization. |
403 | The organization is an Enterprise team that only takes members from its verified domains, and the email is on another domain. |
409 | The email already belongs to a member, already has a pending invite, or the organization already has 100 pending invites (delete some first). |
503 | The invite was created, but its email couldn't be sent. The invite stays pending: resend it from the console, or delete it and create it again. |