/api/v1/invite-to-workspaceInvite a member to a workspace
Invites someone to a workspace by email with a chosen role, and sends them an invitation email.
MANAGE_USERSworkspace_context is the workspace being invited into, org_id is the
organisation that workspace belongs to, and role_id is the role the person
holds in that workspace once they accept. At least one role must exist in the
workspace before you can invite anyone, since there is nothing to assign
otherwise: see Roles and permissions.
The call sends an invitation email and returns the invite_id it created.
Use this call for someone who is not in the workspace yet. To place a user who
already has an account into another workspace directly, use
POST /api/v1/add-workspace-to-user, which is
gated on MANAGE_WORKSPACE rather than MANAGE_USERS.
Accepting an invitation gives a member the permissions their role carries, but
not the ability to approve movements. Before they can take part in signing they
must set up a signing profile and register a key through
POST /api/v1/register-key. The operator walkthrough is
Inviting and managing users.
invited_emailstringrequiredworkspace_contextnumberrequiredorg_idnumberrequiredrole_idnumberrequired#What happens next
The invited person receives an email. Until they respond, the invitation shows on
GET /api/v1/get-pending-workspace-invites
for the workspace and on
GET /api/v1/get-invites-pending for them. They
accept or decline with GET /api/v1/accept-invite, after
which they appear in
GET /api/v1/get-users-from-workspace.