> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebelfi.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Resend Activation

> POST /v1/accounts/:accountId/resend-activation — Email the contact a new activation link

> [!NOTE]
>
> **Endpoint:** `POST https://api.rebelfi.io/v1/accounts/:accountId/resend-activation`

Email the account's contact a new activation link, valid for 7 days. The previous link stops working. Use it when the
first link expired or the email was lost.

Only while the account is `PENDING_ACTIVATION` and the contact has not yet used the link. Once the contact has set a
password with the link, they finish activation by signing in to the RebelFi Earn portal, and this call returns
`409 ACTIVATION_LINK_USED`.

Requires a profile-scoped key; an admin key is read-only.

### Path Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `accountId` | `number` | Yes | Client account ID |

### Example Request

```bash cURL theme={null}
curl -X POST "https://api.rebelfi.io/v1/accounts/17/resend-activation" \
  -H "x-api-key: your_api_key"
```

```typescript SDK theme={null}
const account = await client.accounts.resendActivation(17);
```

### Response

`200 OK` with the account, as [Get Account](https://docs.rebelfi.io/docs/api-reference/accounts/get.md) returns it.

### Errors

| Code | HTTP | Description |
| - | - | - |
| `ACCOUNT_NOT_FOUND` | 404 | No client account with this ID in your organization |
| `ACCOUNT_ALREADY_ACTIVE` | 409 | The account is no longer pending activation, so there is no link to resend. `details`: `{ accountId, status }` |
| `ACTIVATION_LINK_USED` | 409 | The contact already used the link to set a password. They sign in to the portal to finish. `details`: `{ accountId }` |
| `FORBIDDEN` | 403 | An admin (read-only) key |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.