> This page is for API Reference.

> Sarvam Voice Agents (Samvaad) is a voice AI agent platform for Indian languages: build, test and deploy AI calling agents on your own phone numbers, from ₹3 a minute. Start here: https://docs.sarvam.ai/voice-agents/why-voice-agents.
> For clean Markdown of any page, append `.md` to the page URL.
> For a complete documentation index, see https://docs.sarvam.ai/llms.txt. For a section index, append `/llms.txt` to any section URL (for example https://docs.sarvam.ai/voice-agents/llms.txt).
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sarvam.ai/_mcp/server.

# Get notification rule

GET https://apps.sarvam.ai/api/analytics/v1/{org_id}/{workspace_id}/boards/{board_id}/notifications/{rule_id}

The Slack webhook URL is never returned; `slack_configured` reports whether one is set.

Reference: https://docs.sarvam.ai/api-reference/boards/notifications/get

## Request

### Path parameters

- `org_id` (string, required) — Organization ID
- `workspace_id` (string, required) — Workspace ID
- `board_id` (string, required) — Board ID, as returned in `id` by Create board or List boards. Must be a UUID; anything else is rejected with 422.
- `rule_id` (string, required) — Notification rule ID (`rule_id`), from List notification rules. Must be a UUID; anything else is rejected with 422.

### Headers

- `X-API-Key` (string, required) — Your workspace API key.

## Response

### 200

Successful Response

- `rule_id` (string, required) — Rule identifier, used as `{rule_id}` in nested routes
- `widget_id` (string, required) — Widget whose result this rule delivers
- `cron` (string, required) — Five-field cron expression, evaluated in IST (Asia/Kolkata)
- `enabled` (boolean, required) — False while the schedule is paused
- `created_at` (datetime, required) — Creation time, UTC, RFC 3339
- `updated_at` (datetime, required) — Last change time, UTC, RFC 3339
- `name` (string, optional, nullable) — Label for the rule, or null when unnamed
- `next_run_at` (datetime, optional, nullable) — Next scheduled delivery, in UTC. Null while the rule is disabled.
- `email_recipients` (list of string, optional, nullable) — Configured email recipients
- `slack_channel_name` (string, optional, nullable) — Slack destination label, when one is configured
- `slack_configured` (boolean, optional, default: false) — True when a Slack webhook is set. The URL itself is never returned.

## Errors

### 401 Unauthorized Error

Missing or invalid credentials

- `error` (ErrorBody, required) — Details of the error that occurred.

### 403 Forbidden Error

Credentials are not scoped to this org and workspace

- `error` (ErrorBody, required) — Details of the error that occurred.

### 404 Not Found Error

No such board, tab, widget, filter or rule in this workspace. `detail` names the missing resource; boards are called dashboards in these messages, e.g. `Dashboard <board_id> not found`.

- `error` (ErrorBody, required) — Details of the error that occurred.

### 422 Unprocessable Entity Error

Request validation failed: a malformed UUID in the path, or a body or query field outside its allowed values. `detail` is a list of errors.

- `detail` (list of ValidationError, optional)

### 429 Too Many Requests Error

Rate limit exceeded. Honour the `Retry-After` response header (seconds) before retrying.

- `error` (ErrorBody, required) — Details of the error that occurred.

### 500 Internal Server Error

Unexpected server error

- `error` (ErrorBody, required) — Details of the error that occurred.

## Types

### ErrorBody

Details of the error that occurred.

- `code` (string, required) — A service-specific error code.
- `message` (string, required) — A human-readable description of the error.

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)

### ValidationErrorLocItems

- string
- integer

## Examples

**Response**

```json
{
  "rule_id": "9e3f61d0-4a28-4c75-b13e-6d8025af7c94",
  "widget_id": "a4c9e0f7-31b8-4d6a-9e25-7f0b3c81d46e",
  "cron": "30 3 * * *",
  "enabled": true,
  "created_at": "2026-09-05T07:40:12Z",
  "updated_at": "2026-09-05T07:40:12Z",
  "name": "Daily connectivity to ops",
  "next_run_at": "2026-09-05T22:00:00Z",
  "email_recipients": [
    "ops@example.com"
  ],
  "slack_channel_name": "#agent-ops",
  "slack_configured": true
}
```

**SDK Code**

```python
import requests

url = "https://apps.sarvam.ai/api/analytics/v1/org_id/workspace_id/boards/0b7f2c9a-5e41-4d2a-9f3b-8c1d6e7a0b52/notifications/9e3f61d0-4a28-4c75-b13e-6d8025af7c94"

headers = {"X-API-Key": "<your-api-key>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://apps.sarvam.ai/api/analytics/v1/org_id/workspace_id/boards/0b7f2c9a-5e41-4d2a-9f3b-8c1d6e7a0b52/notifications/9e3f61d0-4a28-4c75-b13e-6d8025af7c94';
const options = {method: 'GET', headers: {'X-API-Key': '<your-api-key>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://apps.sarvam.ai/api/analytics/v1/org_id/workspace_id/boards/0b7f2c9a-5e41-4d2a-9f3b-8c1d6e7a0b52/notifications/9e3f61d0-4a28-4c75-b13e-6d8025af7c94"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<your-api-key>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://apps.sarvam.ai/api/analytics/v1/org_id/workspace_id/boards/0b7f2c9a-5e41-4d2a-9f3b-8c1d6e7a0b52/notifications/9e3f61d0-4a28-4c75-b13e-6d8025af7c94")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<your-api-key>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://apps.sarvam.ai/api/analytics/v1/org_id/workspace_id/boards/0b7f2c9a-5e41-4d2a-9f3b-8c1d6e7a0b52/notifications/9e3f61d0-4a28-4c75-b13e-6d8025af7c94")
  .header("X-API-Key", "<your-api-key>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://apps.sarvam.ai/api/analytics/v1/org_id/workspace_id/boards/0b7f2c9a-5e41-4d2a-9f3b-8c1d6e7a0b52/notifications/9e3f61d0-4a28-4c75-b13e-6d8025af7c94', [
  'headers' => [
    'X-API-Key' => '<your-api-key>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://apps.sarvam.ai/api/analytics/v1/org_id/workspace_id/boards/0b7f2c9a-5e41-4d2a-9f3b-8c1d6e7a0b52/notifications/9e3f61d0-4a28-4c75-b13e-6d8025af7c94");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<your-api-key>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-Key": "<your-api-key>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://apps.sarvam.ai/api/analytics/v1/org_id/workspace_id/boards/0b7f2c9a-5e41-4d2a-9f3b-8c1d6e7a0b52/notifications/9e3f61d0-4a28-4c75-b13e-6d8025af7c94")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```