v1
protected
workspace-invitations
Create Invitation
Changed onCreate an invitation link for the given workspace.
The plaintext token is returned exactly once in the response. The caller delivers it however they want (link, email, Slack).
post/v1/workspaces/{workspace}/invitations
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspacestring required
Slug of the workspace the request acts in
Request body
Response
Successful Response
Changes
- breaking
added the pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$to the request property/ - warning
the
/request property's maxLength was set to320
- breaking