Skip to content

Subscribe or unsubscribe the caller from the org digest, with their audience context

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

Saved

Media typeapplication/json
object
ok
required
boolean
subscribed
required
boolean
Examplegenerated
{
"ok": true,
"subscribed": true
}

No user identity

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