Invitations
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 row is persisted but the configured email provider failed to send; the client should surface the error and give the user a retry affordance. Returns 402 with billingUrl when the workspace has used its free members: give the user billingUrl to start seat billing, then invite again.
post/v1/invitations
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/invitations
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Request body
Response
Existing invitation refreshed successfully.
Changes
- info
added the new optional request property
- info
- info
added the optional property
to the response with the status
- info