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/invites

Body

emailstringrequired

The email address to invite. Stored in lowercase.

rolestringrequired

The organization role they get on joining. admin and owner can't be assigned through the API.

Allowed values:userdeveloperbilling

Any other field is rejected with 400.

Response

(object)Inviteoptional

The new [invite object](/api-reference/admin/invites#the-invite- object).

Errors

StatusReason
400The email or role is invalid, or the organization is an individual organization.
403The organization is an Enterprise team that only takes members from its verified domains, and the email is on another domain.
409The email already belongs to a member, already has a pending invite, or the organization already has 100 pending invites (delete some first).
503The 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.