# Create Alert

`POST` `/v1/notify/reminders`

Create a new price alert for a security when it rises above or falls below a target price.

## Parameters

### Request Body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | string | Yes | Security symbol, e.g. `TSLA.US` |
| `price` | string | Yes | Target price |
| `direction` | string | Yes | Alert direction: `rise` or `fall` |
| `frequency` | string | No | Trigger frequency: `once` (default) or `every` |

## Request Example

```bash
curl --request POST \
  --url 'https://openapi.longbridge.com/v1/notify/reminders' \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{"symbol":"<symbol>","price":"<price>","direction":"<direction>","frequency":"<frequency>"}'
```

## Response

### Response Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | int64 | Yes | ID of the newly created alert |

### Response JSON Example

```json
{
  "code": 0,
  "message": "success",
  "data": {
    "id": 486469
  }
}
```
