# My notifications

> GET /me/notifications

Source: https://mockflow.com/developers/reference/me/list-notifications

**GET** `https://api.mockflow.com/v1/me/notifications`  
Scopes: `user:read`

**curl**

```bash
curl https://api.mockflow.com/v1/me/notifications \
  -H "Authorization: Bearer $MOCKFLOW_API_KEY"
```

**JavaScript**

```javascript
const response = await fetch("https://api.mockflow.com/v1/me/notifications", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MOCKFLOW_API_KEY}`
  }
});

const data = await response.json();
```

**Python**

```python
import os, requests

response = requests.get(
    "https://api.mockflow.com/v1/me/notifications",
    headers={"Authorization": f"Bearer {os.environ['MOCKFLOW_API_KEY']}"},
)

response.raise_for_status()
data = response.json()
```

**200**

```json
{
  "nextCursor": "string",
  "hasMore": false,
  "data": [
    {
      "id": "string",
      "type": "string",
      "from": {
        "email": "string",
        "name": "Q4 Launch Planning"
      },
      "boardId": "brd_3f9e2a",
      "boardTitle": "Q4 Launch Planning",
      "spaceId": "spc_92kd"
    }
  ]
}
```

**429**

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests.",
    "docsUrl": "https://mockflow.com/developers/concepts/errors#rate_limited"
  },
  "requestId": "req_45d49816999bac40"
}
```

The notification stream the product emails from, newest first: comments and updates on boards shared with you.

### Authorization

- `Authorization` (string, required): `Bearer <key>`. The key needs `user:read` scope. Create and manage keys in the [developer console](/developers/console/); what each scope unlocks is on the [scopes page](/developers/concepts/scopes).

### Query parameters

- `unread` (boolean): Defaults to `false`.
- `cursor` (string): Opaque cursor from a previous response's `nextCursor`.
- `limit` (integer): Defaults to `50`.

### Response

- `nextCursor` (string | null)
- `hasMore` (boolean)
- `data` (Notification[]): - `id` (string)
  - `type` (string): COMMENTED, UPDATED and the rest of the product's log types.
  - `from` (object)
  - `boardId` (string | null)
  - `boardTitle` (string | null)
  - `spaceId` (string | null)
  - `spaceTitle` (string | null)
  - `text` (string)
  - `read` (boolean)
  - `at` (string)

### Errors

- 429 `rate_limited`: Too many requests.
