Resend an invitation
Auth: Authorization: Bearer nsin_… or X-Api-Key: nsin_… — see API keys.
Refreshes the invitation's expiry and emails it again. Share links
cannot be resent. Requires members.manage.
Path parameters
- domainstringrequiredpath
The domain name (for example
example.com) — not a numeric id. - inviteIdintegerrequiredpath
Numeric id of the invitation.
Responses
200Resent.
Content type: application/json
- idinteger
- domain_idinteger
- emailstring
The address the invitation is bound to.
- rolestring
A role that may be assigned to a member or invitation.
owneris not grantable — it always follows domain ownership.One of:"admin""editor""viewer" - invited_byinteger
User id of the inviter.
- expires_atstring (date-time)
- max_usesinteger
- usesinteger
- revoked_atstring (date-time)
- created_atstring (date-time)
- linkstring
The accept URL. Returned when the invitation is created or resent.
- is_linkboolean
True for a shareable link rather than an emailed invitation.
- exhaustedboolean
True when
useshas reachedmax_uses.
{
"id": 0,
"domain_id": 0,
"email": "string",
"role": "admin",
"invited_by": 0,
"expires_at": "2026-01-01T00:00:00Z",
"max_uses": 0,
"uses": 0,
"revoked_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"link": "string",
"is_link": true,
"exhausted": true
}400The invite is a share link, or is no longer active.
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "read-only API key"
}401Missing, malformed, revoked or expired API key. (A valid key whose
account has been deactivated gets 403 account is inactive instead.)
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "invalid API key"
}403The key is read-only, your role on the domain lacks the required permission, or the domain's plan does not include the feature.
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "read-only API key"
}404Domain or invitation not found.
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "read-only API key"
}429The key exceeded its request budget (300 requests per minute by default).
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "rate limit exceeded"
}Example request
curl -X POST "https://api.nsin.ir/domains/example.com/invites/0/resend" \
-H "Authorization: Bearer $NSIN_API_KEY"