POST
/organization/invitesCreate invite
Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
The invite request payload.
emailstringrequired
Send an email to this address
rolestringrequired
`owner` or `reader`
projectsarray<object>optional
An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. If empty list is passed, the user will not be invited to any projects, including the default one.
200User invited successfully.
objectstringrequired
The object type, which is always `organization.invite`
idstringrequired
The identifier, which can be referenced in API endpoints
emailstringrequired
The email address of the individual to whom the invite was sent
rolestringrequired
`owner` or `reader`
statusstringrequired
`accepted`,`expired`, or `pending`
created_atintegerrequired
The Unix timestamp (in seconds) of when the invite was sent.
expires_atintegeroptional
The Unix timestamp (in seconds) of when the invite expires.
accepted_atintegeroptional
The Unix timestamp (in seconds) of when the invite was accepted.
projectsarray<object>required
The projects that were granted membership upon acceptance of the invite.