# Get the notifications that belong to the current user

`GET /notifications.json`

Authentication: no security requirement declared for this operation.

Responses:

- 200: notifications

Content type: application/json

Type: object

- `notifications` (optional)
  Type: Array<object>
  
  Items:
    Type: object
    
    - `id` (optional)
      Type: integer
    
    - `user_id` (optional)
      Type: integer
    
    - `notification_type` (optional)
      Type: integer
    
    - `read` (optional)
      Type: boolean
    
    - `created_at` (optional)
      Type: string
    
    - `post_number` (optional)
      Type: integer; nullable
    
    - `topic_id` (optional)
      Type: integer; nullable
    
    - `slug` (optional)
      Type: string; nullable
    
    - `data` (optional)
      Type: object
      
      - `badge_id` (optional)
        Type: integer
      
      - `badge_name` (optional)
        Type: string
      
      - `badge_slug` (optional)
        Type: string
      
      - `badge_title` (optional)
        Type: boolean
      
      - `username` (optional)
        Type: string

- `total_rows_notifications` (optional)
  Type: integer

- `seen_notification_id` (optional)
  Type: integer

- `load_more_notifications` (optional)
  Type: string

## Examples

### cURL

```bash
curl -X GET 'https://discourse.example.com/notifications.json'
```

### JavaScript

```javascript
const response = await fetch('https://discourse.example.com/notifications.json', {
  method: 'GET',
});

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

### Python

```python
import requests

response = requests.get('https://discourse.example.com/notifications.json')
print(response.text)
```
