post
Invite a team member
Sends an email invite to join the team with the specified role. The invitee must accept before they appear in the members list.
Required API key scope
members:create
/api/v1/team/members/invitesCode samples
curl --request POST \
--url https://api.emailguard.co/api/v1/team/members/invites \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{}'Parameters
Request body
Invitee email and role to assign on acceptance
emailstringrequired
Email address that will receive the invite.
rolestringrequired
Team role to assign when the invite is accepted (for example Owner, Admin, Member). See Team roles and permissions.