Send an invitation
Invites an email address to an organization (target_type: org, org_id) or a realm
(target_type: realm, realm_id), with a role (member by default; owner for
organizations only, by an owner; operator for realms only). Sending to an address
that already has a pending invitation sends it again (resent: true). When email is not
configured, the reply has the invite_url to pass on yourself.
Requires a signed-in user token; with realm_id, a realm admin with the realms.members.manage permission on that realm; with org_id, a role with the org.members.manage permission in that organization. One of realm_id or org_id is required.
Authorizations
User PAT (cliq_tok_…, including session-scoped) or realm token (cliq_dt_…).
Body
org or realm.
org, realm The person's email address.
1target_type: org: the organization.
target_type: realm: the realm.
1member (default), admin, owner (organizations) or operator (realms).
owner, admin, member, operator Site administrators: restore the deleted account that holds the email.