# Resend Invitation

> Send an invitation again with a fresh link valid for 7 days.

Requires an API key with the `write` scope.

N e

**Sends a real email** from FoxReach. The previous link stops working. The call writes an `audit.workspace_invite.resent` entry.

## Path Parameters

<ParamField path="invite_id" type="string" required>
  The invitation identifier.
</ParamField>

## Response

Returns the invitation in `data`.

<RequestExample>
```bash cURL
curl -X POST "https://api.foxreach.io/api/v1/workspace/invites/wsi_abc123/resend" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
client.workspace.resend_invite("wsi_abc123")
```

```typescript TypeScript SDK
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
await client.workspace.resendInvite("wsi_abc123");
```

</RequestExample>

<ResponseExample>
```json
{ "data": { "id": "wsi_abc123", "email": "sam@example.com", "role": "member", "invitedBy": "usr_1", "expiresAt": "2026-11-11T09:30:00+00:00", "acceptedAt": null, "createdAt": "2026-11-04T09:30:00+00:00", "workspaceId": "ws_abc123", "workspaceName": "Acme", "invitedByName": "Alex Doe" } }
```
</ResponseExample>

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | The key lacks the `admin` or `write` scope, or its creator lacks the required role |
| `404` | Invitation not found, or already accepted |

## Rate Limit

- **100 requests per minute, shared by every `expensive` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`expensive`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns, see [Rate Limiting](/rate-limiting).
