Make an invitation, expired or not, valid for 7 days from now (admin; owner and admin invitations only by an owner)
const url = 'https://api.vexarn.dev/api/org/invitations/example/renew';const options = { method: 'POST', headers: {cookie: '__Host-vexarn.session_token=<__Host-vexarn.session_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.vexarn.dev/api/org/invitations/example/renew \ --cookie __Host-vexarn.session_token=<__Host-vexarn.session_token>An owner or admin invitation needs a fresh sign-in. No email is sent: hand signInUrl to the person. Recorded in the audit log.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The renewed invitation and the sign-in link
object
object
owner manages everything incl. domains, SSO and roles; admin manages members and policies; member nothing.
null once the inviting account is gone.
object
Signing in by this invitation works until then (7 days from its creation or last renewal).
Past expiresAt: signing in by it is refused until it is renewed. Expired invitations are deleted 30 days after expiry.
The web app’s sign-in page for this email, to hand to the person: no email is sent. They sign in there through the organization’s SSO.
Example
{ "invitation": { "role": "member", "createdAt": "2026-11-10T12:00:00.000Z", "expiresAt": "2026-11-10T12:00:00.000Z" }, "signInUrl": "https://app.vexarn.dev/login?email=bob%40acme.example"}Invalid parameters or body (validation_error)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}No session
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Your role is below admin (forbidden, recorded in the security log), or the session signed in more than 2 hours ago (fresh_sign_in_required), or a change came from another origin than the web app (forbidden_origin)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}A personal account (not_in_organization), or no such invitation (invitation_not_found)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}The body is larger than the API accepts
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Too many requests from this user or client address
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Headers
Section titled “Headers”Seconds until the rate limit window resets