Aller au contenu

Notification: competitor news

POST

Recent events detected for the brand’s tracked competitors (new content, notable changes). At most 20 events per message.

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

X-Traaker-Event
required
string
Allowed value: notification.competitor_news
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.competitor_news
type
required
Allowed value: competitor_news
data
required
object
eventCount

Events detected in the period, including those beyond the 20 listed.

integer
rivals

Distinct competitors among the listed events.

integer
events
Array<object>
<= 20 items
object
competitorName
string
kind
string
title
string
detail
string
createdAt
string format: date-time
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).