Create organization invitation
Changed onCreates or refreshes a pending organization invitation for an email address and sends the invite email. Returns 502 when the invitation is saved but no email could be sent, including when the deployment has no email service: the invitation and its link stay valid, so tell the user it is saved and offer the invite link (GET /v1/invitations/:invitationId/link) or sending again. Returns 402 with billingUrl when a Free workspace has used its free users: give the user billingUrl to start seat billing, then invite again. Returns 409 org_limit_reached when a Team or Enterprise plan set by OpenWork is full: OpenWork must add seats.
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
Den TypeID with 'tem_' prefix and a 26-character base32 suffix.
Response
Existing invitation refreshed successfully.
Den TypeID with 'inv_' prefix and a 26-character base32 suffix.
Den TypeID with 'om_' prefix and a 26-character base32 suffix.
Changes
- info
added the required property
memberIdto the response with the status
- info
- info
added the required property
memberIdto the response with the status - info
added the required property
memberIdto the response with the status
- info