POST /v1/orgs/:org_id/invitations/:id/resend
Mint a fresh token for a pending invitation, reset its expiry, and re-email.
::: tip Auth
Required: cookie or Bearer. Required permission: members.invite.
:::
Request
POST /v1/orgs/:org_id/invitations/:id/resend
No body.
Response
200 OK
The updated invitation row (same shape as the invitation field in
POST /v1/orgs/:org_id/invitations).
Error responses
| Status | Code | When |
|---|---|---|
| 401 | authentication_required | No valid auth credential. |
| 403 | forbidden | Org mismatch or missing permission. |
| 404 | not_found | Invitation doesn't exist or isn't pending. |
Notes
- The previous token is invalidated (token_hash is overwritten).
- Expiry is reset to 7 days from now.
- An audit entry (
members.invitation_resent) is recorded. - The email send is best-effort.