# Get digest settings

`GET /v1/projects/{project_id}/notification-settings`

Requires role member or higher.

## Authentication

A session token: `Authorization: Bearer <session token>`, or the session cookie in the browser. Requires role `member` or higher.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `project_id` | path | string | yes |  |

## Responses

### 200

The project's digest settings.

`application/json`

```json
{
  "additionalProperties": false,
  "description": "The project's digest settings.",
  "properties": {
    "digest_interval_minutes": {
      "anyOf": [
        {
          "enum": [
            60
          ],
          "type": "number"
        },
        {
          "enum": [
            180
          ],
          "type": "number"
        },
        {
          "enum": [
            360
          ],
          "type": "number"
        },
        {
          "enum": [
            720
          ],
          "type": "number"
        },
        {
          "enum": [
            1440
          ],
          "type": "number"
        }
      ]
    },
    "digest_time": {
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
      "type": "string"
    },
    "project_id": {
      "pattern": "^prj_[0-7][0-9a-hjkmnp-tv-z]{25}$",
      "type": "string"
    },
    "timezone": {
      "description": "IANA time zone name.",
      "type": "string"
    },
    "updated_at": {
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "project_id",
    "digest_interval_minutes",
    "digest_time",
    "timezone",
    "updated_at"
  ],
  "type": "object"
}
```

### 401

unauthorized: no valid session, or the email is not verified.

Problem type: [unauthorized](https://docs.dlogify.com/errors/unauthorized.md).

### 404

not-found: the resource does not exist, or the caller is not a member of its organization.

Problem type: [not-found](https://docs.dlogify.com/errors/not-found.md).

### 429

rate-limited: per-user management request limit.

Problem type: [rate-limited](https://docs.dlogify.com/errors/rate-limited.md).

## Example

```bash
curl -X GET "https://api.dlogify.com/v1/projects/{project_id}/notification-settings" \
  -H "Authorization: Bearer $DLOGIFY_SESSION"
```

Source: https://docs.dlogify.com/api/settings/getNotificationSettings
