auth
auth

Invite Member

Invite someone to the tenant by email with a role. Admin+ only. Refuses if the email already belongs to a member (nothing to invite) or has a live pending invite. Emits UserInvited (post-commit) → the dogfooded invite email with the accept link.

post/v1/auth/tenants/{tenant_id}/invitations

Request

  • Base URL: https://api.elaan.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.elaan.io/v1/auth/tenants/{tenant_id}/invitations
  • Auth: none declared

Path parameters

tenant_idstring required

Headers

authorizationstring nullable

Request body

emailstring required
rolestring required

Response

Successful Response

idstring required
emailstring required
rolestring required
statusstring required
expires_atstring date-time required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.