# RecoveryStatusInvitation

An outstanding provisioning invitation, or null. This IS the idempotency answer for POST /identities/:id/invitation (§XVII.5): a caller that lost its create…

An outstanding provisioning invitation, or null. This IS the idempotency answer for POST /identities/:id/invitation (§XVII.5): a caller that lost its create response asks whether one is outstanding rather than holding an idempotency key, because an invitation is never re-sent automatically and a repeat is always a deliberate second call. Consumed and expired both read as null

```ts
type RecoveryStatusInvitation = {
  createdAt: number
  expiresAt: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `createdAt` | `number` | Epoch seconds at which it was sent |
| `expiresAt` | `number` | Epoch seconds at which the invitation code stops working |

## Used in

[`RecoveryStatus`](/docs/sdks/typescript/types/recovery-status).
