---
title: "Marks given notification as read"
description: "POST /notifications/{notification_id}/mark_as_read — Marks given notification as read"
canonical_url: https://developer.onepagecrm.com/api/reference/notifications/post-notifications-notification_id-mark_as_read/
source: Markdown mirror of https://developer.onepagecrm.com/api/reference/notifications/post-notifications-notification_id-mark_as_read/
---

`POST /notifications/{notification_id}/mark_as_read`

Marks given notification as read

Resource: [Notifications](https://developer.onepagecrm.com/api/reference/notifications/) · [API Reference](https://developer.onepagecrm.com/api/reference/)

## Request

```bash
curl -X POST "https://app.onepagecrm.com/api/v3/notifications/{notification_id}/mark_as_read" \
  -u $user_id:$api_key
```

Authentication is HTTP Basic — `user_id` as username, `api_key` as password.
See https://developer.onepagecrm.com/api/authentication/.

## Path parameters

| Name | Type | Description |
| --- | --- | --- |
| `notification_id` | string | Notification ID |

## Responses

### 201

Created

```json
{
  "status": 0,
  "message": "OK",
  "timestamp": 1528373119,
  "data": {
    "notification": {
      "id": "5aead4809007ba56ffca942e",
      "type": "assigned_action",
      "by": "Vlad K.",
      "read": true,
      "user_id": "5aead4809007ba56ffca942e",
      "contact_id": "5aead4809007ba56ffca942e",
      "created_at": "2019-06-21T16:53:12Z",
      "modified_at": "2019-06-21T16:53:12Z",
      "mobile_data": {
        "title": "Action assigned to you (by User N.)",
        "body": "17:13: in bulk",
        "action_type": "action_with_time"
      }
    }
  }
}
```

Standard error responses: 400, 401, 403, 404, 409, 500 — shared across the API. See https://developer.onepagecrm.com/api/errors/.

## Related guides

- [Authentication](https://developer.onepagecrm.com/api/authentication/)
- [Errors](https://developer.onepagecrm.com/api/errors/)
- [Rate limits](https://developer.onepagecrm.com/api/rate-limits/)
