# List notifications

> Notifications of the person behind this key or sign-in, newest first: offers, deals, messages and saved search matches.


`GET https://dev.siteswap.pro/api/v1/notifications`

Notifications of the person behind this key or sign-in, newest first: offers, deals, messages and saved search matches.

Needs the `alerts` scope.

## Parameters

- `cursor` (query, string): The `next_cursor` of the page before. Leave it out for the first page
- `unread` (query, "1"): Only unread ones

## Responses

- 200: OK
- 400: bad_request, key_in_url or invalid_json: the request could not be read
- 401: missing_key or invalid_key: no key, or a key that is not valid or was revoked
- 403: key_pending, key_declined, scope_missing, terms_required or account_unavailable: see Errors
- 404: not_found: nothing here that you may see
- 413: too_large: the body is over 256 KB
- 429: rate_limited or daily_quota: wait for Retry-After seconds

## Response fields

- `id` (string)
- `kind` (string): What it is about, for example `offer` or `alert`
- `title` (string)
- `body` (string)
- `url` (string): Where it points on SiteSwap
- `read` (boolean)
- `created_at` (string): When it was made. ISO 8601 in UTC

```json
{
  "data": [
    {
      "id": "string",
      "kind": "string",
      "title": "string",
      "body": "string",
      "url": "string",
      "read": false,
      "created_at": "string"
    }
  ],
  "next_cursor": "string",
  "meta": {
    "request_id": "3f9a1c0b7d2e",
    "api_version": "v1"
  },
  "unread": 0
}
```

## Example

```bash
curl "https://dev.siteswap.pro/api/v1/notifications" \
  -H "Authorization: Bearer ssk_YOUR_KEY"
```