---
schema_version: "1"
id: 9f31467993b7a0464a7f35ebdab235fd8bec67fb756164299cf68dd573ad2d62
title: Create an Analytics Notification
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/api_analytics/guides/examples/notifications/analytics-api-notification-example-post-notifications.md
canonical_url: https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/analytics-api-notification-example-post-notifications.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 00b3f2c09a7120b5e76c1150125c42f334bc666e3832ecf02586012a515b7b1a
products:
  - Salesforce Reports and Dashboards REST API Developer Guide
  - analytics
---

# Create an Analytics Notification

Create an Analytics Notification using a POST request.

Use a POST request on the [Analytics Notification List](https://developer.salesforce.com/docs/analytics/reference/notifications/analytics-api-notifications-reference-list.md) resource to create an analytics notification.

## Example Usage

`/services/data/v38.0/analytics/notifications`

## Example Request Body

```nolang
{
  "active" : true,
  "createdDate" : "",
  "deactivateOnTrigger" : false,
  "id" : "",
  "lastModifiedDate" : "",
  "name" : "New Notification",
  "recordId" : "00OR0000000PD55MAG",
  "schedule" : {
    "details" : {
      "time" : 3
    },
    "frequency" : "daily"
  },
  "source" : "lightningReportSubscribe",
  "thresholds" : [ {
    "actions" : [ {
      "configuration" : {
        "recipients" : [ ]
      },
      "type" : "sendEmail"
    } ],
    "conditions" : null,
    "type" : "always"
  } ]
}
```

## Example Response Body

```nolang
{
  "active" : true,
  "createdDate" : "2016-08-12T05:57:19Z",
  "deactivateOnTrigger" : false,
  "id" : "0AuR00000004CZTKA2",
  "lastModifiedDate" : "2016-08-12T05:57:19Z",
  "name" : "New Notification",
  "recordId" : "00OR0000000PD55MAG",
  "schedule" : {
    "details" : {
      "time" : 3
    },
    "frequency" : "daily"
  },
  "source" : "lightningReportSubscribe",
  "thresholds" : [ {
    "actions" : [ {
      "configuration" : {
        "recipients" : [ ]
      },
      "type" : "sendEmail"
    } ],
    "conditions" : null,
    "type" : "always"
  } ]
}
```

