Invite someone to the workspace
Invites someone who isn’t a member of the organization to join it and this workspace with the role roleId, and emails them the invitation. The invitation expires after two days; to send it again, call POST /api/v1/member-invites/{id}/resend. When they accept, they become a member of the workspace.
To add someone who is already a member of the organization, or whose email address is on a domain that your organization manages through SSO, call POST /api/v1/members. If the email address already has a pending invitation, the request returns 409 ALREADY_EXISTS, and if it’s on an SSO-managed domain, 409 INVALID_STATE.
Permission required: MANAGE_WORKSPACE_MEMBERS on the workspace.
Authorizations
Headers
ID of the workspace this request acts in, from GET /api/v1/workspaces. Without it, an API key acts in its default workspace. The token's user must be a member of the workspace; an OAuth token only accepts the workspace it was granted for. A workspace that doesn't exist or can't be reached returns 403 WORKSPACE_ACCESS_DENIED.
Body
Body
Invite someone to the workspace
Response
An invitation to join the workspace
An invitation to join the workspace

