---
title: "Resend an invitation email"
method: POST
path: "/api/invitations/{invitation_id}/resend"
tags: ["Invitations - Admin"]
---

# Resend an invitation email

`POST /api/invitations/{invitation_id}/resend`

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.

## Path parameters

- `invitation_id` integer, required

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
