# Account Reactivated from Breached

**Webhook:** `AccountBreachedReactivated`

Triggered when a previously breached trading account is manually or automatically reactivated - allowing the user to continue trading. This webhook is typically used to log recovery actions, notify systems of status restoration, and update the client on the new account balance and conditions.

```json
{
  "webhookType"          : "AccountBreachedReactivated",
  "testMode"             : false,
  "userId"               : "<user_id>",
  "userFirstname"        : "<user_firstname>",
  "userLastname"         : "<user_lastname>",
  "userEmail"            : "<user_email>",
  "userCountryCode"      : "<user_country>",
  "programId"            : "<program_id>",
  "programName"          : "<program_name>",
  "accountId"            : "<account_id>",
  "accountLogin"         : "<account_login>",
  "reactivatedBalance"   : "Reset to initial balance / Last balance / Custom balance",
  "reactivatedById"      : "<user_id>",
  "reactivatedByEmail"   : "<user_email>",
  "reactivatedTimestamp" : "<reactivate_timestamp>"
  "breachRuleName"       : "<breach_rulename>",
  "breachReason"         : "<breach_reason>",
  "breachTimestamp"      : "<breach_timestamp>"
}
```

## Payload Structure

| Field                  | Type    | Description                                                                                                                                                                                                                   |
| ---------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `webhookType`          | String  | Type of webhook event. Always `AccountBreachedReactivated` for this webhook.                                                                                                                                                  |
| `testMode`             | Boolean | Flag to indicate whether this payload is a test `true` or live `false`. Currently, only `false` is supported.                                                                                                                 |
| `userId`               | String  | Unique identifier for the user within YourPropFirm SaaS platform.                                                                                                                                                             |
| `userFirstname`        | String  | First name of the user.                                                                                                                                                                                                       |
| `userLastname`         | String  | Last name of the user.                                                                                                                                                                                                        |
| `userEmail`            | String  | Email address of the user, also the user unique identifier for authentication.                                                                                                                                                |
| `userCountryCode`      | String  | ISO 3166-1 alpha-2 country code (e.g., `US`, `SG`, `GB`) of the user’s address.                                                                                                                                               |
| `programId`            | String  | Unique identifier for the trading program or plan the user enrolled in.                                                                                                                                                       |
| `programName`          | String  | Display name of the trading program of the user joined.                                                                                                                                                                       |
| `accountId`            | String  | Internal ID used to reference the created trading account.                                                                                                                                                                    |
| `accountLogin`         | String  | Login ID or number for accessing the trading account on the platform.                                                                                                                                                         |
| `reactivatedBalance`   | String  | Specifies the balance used upon reactivate - can be `Reset to initial balance`, `Last balance`, or `Custom balance`.                                                                                                          |
| `reactivatedById`      | String  | Unique identifier of the user or system that performed the reactivation.                                                                                                                                                      |
| `reactivatedByEmail`   | String  | Email of the user or system that reactivated the account.                                                                                                                                                                     |
| `reactivatedTimestamp` | String  | ISO 8601. Timestamp when the account was reactivated (e.g., `2025-04-29T12:30:00Z`).                                                                                                                                          |
| `breachRuleName`       | String  | Name of the rule that was breached (e.g., `Daily Drawdown`).                                                                                                                                                                  |
| `breachReason`         | String  | Array of detailed information of the violation. Please see the detail reason in here [**Breach Reason**](https://yourpropfirm.gitbook.io/yourpropfirm-docs/get-started/webhook/webhook-types/account-breached/breach-reason). |
| `breachTimestamp`      | String  | ISO 8601. Timestamp for when the breach originally occurred (e.g., `2025-04-29T12:30:00Z`).                                                                                                                                   |
