Skip to content

Render the caller's briefing over current org data (nothing is sent)

POST
/v1/notifications/digest/preview
curl --request POST \
--url https://api.monita.ai/v1/notifications/digest/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "context": "example" }'
Media typeapplication/json
object
context
string
<= 200 characters
Examplegenerated
{
"context": "example"
}

Rendered preview (cached up to 10 minutes), or hasData:false for a quiet org

Media typeapplication/json
object
hasData
required
boolean
subject
string
html
string
composedAt
number
refreshInSeconds
number
Examplegenerated
{
"hasData": true,
"subject": "example",
"html": "example",
"composedAt": 1,
"refreshInSeconds": 1
}

Composer unavailable

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}