# resendTeamInvite

Re-send a team invitation by id (from listTeamInvites): the same invitation email goes out again to the same address. The invitation itself is unchanged: same id and acceptUrl, so use this for "she never got the email" rather than creating a second invite. Only a LIVE invitation WITH A RECIPIENT can be re-sent (isAlive: true, email set): a spent or revoked one is refused (create a new one with createTeamInvite instead) and a PERMANENT link is refused too, because it has nobody to send to; email that one with emailPermanentTeamInvite.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "resendTeamInvite", "variables": {...} }`
- Scope: `ADMIN`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `invitationId`: `ID!` (required)

## Response (data, an example)

```json
{
  "organizationMutation": {
    "resendInvitation": {
      "id": "<ID>",
      "acceptUrl": "…",
      "isAlive": true,
      "isPermanent": true,
      "email": "…"
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "resendTeamInvite",
    "variables": {
      "invitationId": "<invitationId>"
    }
  }'
```
