Invite a member
Sends an email invitation to join the authenticated organization. The invitee must accept the invitation from their email before appearing in GET /org/members; until then it is listed by GET /org/members/invitations. IDEMPOTENT: re-inviting an address that already has an outstanding invitation returns that invitation with alreadyInvited: true and sends no second email, so repeated and concurrent invites cannot stack duplicates.
Authorizations
Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>.
Body
Send an email invitation to join the authenticated organization.
Response
200 response
Invitation id.
"orginv_3Ciq0qskipF0g0gxlfLckBtnXk2"
Invitee's email address.
Role within the organization.
admin, member "member"
When the invitation was created.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$true when the address already had an outstanding invitation and this IS it — no second invitation was minted and no second email was sent. Mirrors alreadyExisted on keyword creation, so a repeated (or concurrent) invite is a safe no-op.
