# Create reminder

Create a one-time reminder with content and an exact future remindAt timestamp including timezone. In-page and browser reminders are automatic; wechatEnabled defaults true and never blocks creation when WeChat is disconnected. No plan or task is required.

- Capability ID: `reminders.create`
- Operation: `ielts_reminders_create`
- Category: 提醒
- Endpoint: `POST /api/v1/agent/capabilities/ielts_reminders_create`
- Authentication: Bearer Token（通过 /api/v1/agent-bindings 绑定账号）
- Required scopes: notifications:write
- Side effect: write
- Human documentation: https://ieltsbuddy.igopx.cn/developers/api/ielts_reminders_create

## Request parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `content` | string | 是 | content |
| `remindAt` | string | 是 | remindAt |
| `wechatEnabled` | boolean | 否 | wechatEnabled |

## Request example

```bash
curl -X POST \
  'https://work.ieltsbuddy.igopx.cn/api/v1/agent/capabilities/ielts_reminders_create' \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $IELTS_BUDDY_TOKEN" \
  --data '{"content":"<content>","remindAt":"<remindAt>"}'
```

## Request schema

```json
{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "remindAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "wechatEnabled": {
      "type": "boolean"
    }
  },
  "required": [
    "content",
    "remindAt"
  ],
  "additionalProperties": false
}
```

## Response envelope

接口结果位于 data；code 为 0 表示调用成功。


```json
{
  "code": 0,
  "data": {},
  "message": "ok"
}
```

## Errors

| HTTP | Code | Meaning |
| --- | --- | --- |
| 400 | `40001` | 请求参数不符合接口契约 |
| 401 | `40101` | 缺少或使用了无效的访问令牌 |
| 403 | `40301` | 访问令牌不包含接口所需权限 |
| 404 | `40401` | 接口或目标资源不存在 |
