Skip to content

Notification: credit balance

POST

The account’s available credits dropped below the configured threshold.

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

X-Traaker-Event
required
string
Allowed value: notification.credit_alert
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.credit_alert
type
required
Allowed value: credit_alert
data
required
object
availableCredits
number
thresholdCredits
number
subscriptionCredits
number
topupCredits
number
reserved

Credits held by runs in progress.

number
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).