Base URL
Prerequisites
- API Key with the
USER_MANAGEMENT_APIscope - The API key must be created by a workspace admin
Behavior
- Already a member? Silently skipped.
- Has a pending join request? Automatically approved.
- Invalid email domain? Reported in
invalidEmailsbut doesn’t fail the request. - SAML disabled? The invitation email includes a magic link for passwordless sign-in.
- SAML enabled? Users outside your verified domains get a magic link when Allow External Authentication is on.
roleiseditororadminwhile the identity provider manages roles? Returns409withcodeCONFLICTand messageRoles are managed by your identity provider via SCIM. Omittingrole, or sendingmember, still invites the person. Someone who joins gets the highest workspace role mapped from their SCIM groups, ormemberif none is mapped, not the role stored on the invite.
A
200 response can still contain invalidEmails — these are emails that passed format validation but failed deeper checks (e.g., unreachable domain). Always check both successfulInvites and invalidEmails in the response.Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.