Invite a Member
Invite someone to join the active account by email address. The person does not need an existing Ngris account at the time of invitation — they're identified by email and assigned the role you specify.
When the invite is created, Ngris sends the recipient an email containing accept and decline links. Independently of email delivery, the invitee can see the pending invite by calling GET /v1/user/invitations from their own session and act on it from there. On acceptance they become a member of this account and can switch into it.
The active account is taken from your session/API key context — there's no account ID in the path. Requires the members:write permission. Only one pending invite can exist per email per account; inviting an address that already has a pending invite returns 409.
Request body
@.Response (201 Created)
Returns the created invitation under the invitation key.
pending, accepted, declined, expired, revoked. Always pending on creation.Errors
email, missing role_id, or the role does not belong to this account.members:write permission on the active account.