Invites
Invite a member
/v1/workspaces/{workspaceId}/invitesInvite someone by email to join as a member. WorkOS emails them a link, and they accept by signing in or signing up with that address. It fails with 409 already_member if they are already in the workspace, and with 403 plan_limit when members plus pending invites fill the plan's users. A member limited to some brands can't invite, because the new member would see every brand, and gets 403 brand_access_limited.
Path parameters
workspaceIdstringrequiredThe workspace's id. An API key can only use its own workspace.
Body
JSON, with Content-Type: application/json.
emailstringrequiredThe email address to invite. An address that already has a pending invite gets it again, or a fresh one if it expired.
max 320 chars · email
Response
200 with a JSON body.
Errors answer with a status and the error shape.