Resend Invite
Send an invite again with a new link, in one step: the same person, roles and link length. The old link stops working at once, so two calls can't leave two working links.
- An emailed invite (
invite_delivery: "email") nobody used yet, expired or not: ngris emails the new link to the invite's address. The answer hassent_toandexpires_at, no link. - A link you hand over (
invite_delivery: "link") nobody used yet: the answer carries the new link (invite_url,invite_token), shown once. - An invite waiting for its email confirmation (the invitee used the link while
require_email_verificationis on): a new confirmation link, valid 24 hours, goes to their address.
One invite is emailed at most once every 2 minutes and 5 times a day, and an account emails at most 100 invites a day.
Path parameters
uuid string (uuid) Req
The endpoint's
uuid from /endpoints.client_uuid string (uuid) Req
The invited user's
uuid from List Users.Response (200 OK)
sent_to string
An emailed invite or a confirmation: the address the new link went to.
expires_at datetime
When the new link stops working.
invite_url, invite_token string
A link you hand over: the new link and its single-use token. Shown only here.
Errors
401 Unauthorized
Missing auth.
403 Forbidden
Caller lacks the
endpoints:write permission in the active account.404 Not Found
The endpoint or the user doesn't exist, or doesn't belong to the calling account.
409 Conflict
"This user isn't waiting for an invitation." The user already has access, or never had an invite.
429 Too Many Requests
The invite or the account reached its email limit. Try again later, or make a link invite instead.
502 Bad Gateway
The email couldn't be sent. Try again.
Request
curl -X POST "https://api.ngris.com/v1/endpoints/019bb1e4-e785-77d2-9966-c3cff31d0a0e/rbac/clients/019b5725-4607-7367-bf7d-30155d363ac0/invite/resend" \
-H "X-API-KEY: <your_api_key>"
CLI
ngris api endpoint-users resend-invite 019bb1e4-e785-77d2-9966-c3cff31d0a0e 019b5725-4607-7367-bf7d-30155d363ac0
Response — 200 OK (an emailed invite)
{
"sent_to": "sam@example.com",
"expires_at": "2026-04-30T13:00:00Z"
}
Response — 200 OK (a link you hand over)
{
"invite_token": "e5f6a7b8...",
"invite_url": "https://app.example.com/_tunnel_auth/register?invite=e5f6a7b8...",
"expires_at": "2026-04-30T13:00:00Z"
}
Was this helpful?