Resend an invitation
const url = 'https://api.nsin.ir/domains/example.com/invites/1/resend';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.nsin.ir/domains/example.com/invites/1/resend \ --header 'Authorization: Bearer <token>'Refreshes the invitation’s expiry and emails it again. Share links
cannot be resent. Requires members.manage.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The domain name (for example example.com) — not a numeric id.
Example
example.comNumeric id of the invitation.
Responses
Section titled “ Responses ”Resent.
object
The address the invitation is bound to.
A role that may be assigned to a member or invitation. owner is not
grantable — it always follows domain ownership.
User id of the inviter.
The accept URL. Returned when the invitation is created or resent.
True for a shareable link rather than an emailed invitation.
True when uses has reached max_uses.
Example
{ "role": "admin"}The invite is a share link, or is no longer active.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Example
{ "error": "read-only API key"}Missing, malformed, revoked or expired API key — or the owning account is inactive.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Examples
{ "error": "invalid API key"}The key is read-only, your role on the domain lacks the required permission, or the domain’s plan does not include the feature.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Example
{ "error": "read-only API key"}Domain or invitation not found.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Example
{ "error": "read-only API key"}The key exceeded its request budget (300 requests per minute by default).
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Examples
{ "error": "rate limit exceeded"}