digital-identity-platform-docs
digital-identity-platform-docs / supabase/functions/send-invitation-email / InvitationEmailRequest
Interface: InvitationEmailRequest
Defined in: supabase/functions/send-invitation-email/index.ts:58
Request payload for sending an invitation email.
Properties
email
email:
string
Defined in: supabase/functions/send-invitation-email/index.ts:60
Recipient email address
organizationName
organizationName:
string
Defined in: supabase/functions/send-invitation-email/index.ts:62
Name of the organization/client being invited to
role
role:
string
Defined in: supabase/functions/send-invitation-email/index.ts:64
Role being assigned ('owner' | 'admin' | 'member')
token
token:
string
Defined in: supabase/functions/send-invitation-email/index.ts:66
Unique invitation token for the accept link
inviterEmail?
optionalinviterEmail:string
Defined in: supabase/functions/send-invitation-email/index.ts:68
Email of the person sending the invitation (optional, shown in email)
isOnboarding?
optionalisOnboarding:boolean
Defined in: supabase/functions/send-invitation-email/index.ts:70
Whether this is an agency onboarding invitation (creates different email template)
agencyName?
optionalagencyName:string
Defined in: supabase/functions/send-invitation-email/index.ts:72
Name of the agency that created this sub-account