Invitations - Admin
Resend an invitation email
Resends an invitation. Only works for pending invitations belonging to the user's company.
Two shapes, decided by the Cognito account status:
- FORCE_CHANGE_PASSWORD — an ordinary invitee who never signed in. Cognito re-sends the temporary password, as before.
- CONFIRMED — someone who already has a StandGest login (a self-signup account invited to join the company). admin_resend_invitation raises UnsupportedUserStateException for these, which used to make "Reenviar" a button that could never work; they get the branded tokenized link instead.
The expiry is pushed out too. Nothing in this codebase ever writes status='expired' — the row just sits 'pending' with a past expires_at — so re-sending a lapsed invitation used to hand out a working password and a token claim_invitation still refuses, with no way out of the loop.
post/api/invitations/{invitation_id}/resend
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/invitations/{invitation_id}/resend
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Path parameters
invitation_idinteger required
Headers
x-api-tokenstring nullable
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 21 revisions of this API.