Aller au contenu

Notification: tasks & recommendations

POST

Tasks completed and still open since the last message. When there are none, recommendations carries ideas instead.

Sent only while the type is enabled with the webhook channel in Settings → Notifications.

X-Traaker-Event
required
string
Allowed value: notification.tasks_recos
X-Traaker-Signature
required
string
/^sha256=[0-9a-f]{64}$/

HMAC-SHA256 of the raw body, keyed with the webhook secret. See the Webhooks section for how to verify it.

Media type application/json
object
event
required

notification. + type.

string
tenantId
required
string
brandId

The brand the notification is about. Accounts with multiple brands receive one message per brand.

string
brandName
string
type
required

The notification type, without the notification. prefix.

string
periodStart
string format: date
periodEnd
string format: date
occurredAt
required
string format: date-time
data
required

Type-specific values, the same ones the e-mail was built from. See each event.

object
key
additional properties
any
aiSummary

AI commentary, for the types that carry it as text.

string
appUrl

Deep link into the app.

string format: uri
event
required
Allowed value: notification.tasks_recos
type
required
Allowed value: tasks_recos
data
required
object
completedCount
integer
openCount
integer
completed
Array<object>
object
key
additional properties
any
open
Array<object>
object
key
additional properties
any
recommendations
Array<object>
object
key
additional properties
any
key
additional properties
any

Received. Answer within 10 s.

Anything else is a failed delivery, retried as described in the Webhooks section (except article.generated).