Aller au contenu

Content published

POST

A Studio piece of content was published. Same body as article.generated, plus status and, when known, publishedUrl.

X-Traaker-Event
required
string
Allowed value: article.published
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
string
Allowed values: article.published article.dismissed
tenantId
required

Your account id.

string
brandId
required

The brand the content belongs to.

string
articleId
required

Stable id of the content. Use it to deduplicate.

string
occurredAt
required
string format: date-time
data
required
object
title
string
subtitle
string
articleMarkdown

The full article, in Markdown.

string
variants

Every channel variant generated for the article.

Array<object>
object
channel
required

E.g. linkedin_post, x_thread.

string
kind
required

E.g. announcement, thread.

string
text
required

Plain text, or a JSON string for structured variants (threads, scripts).

string
targetGeoQuery

The AI search query the content was written to answer.

string
topicTags
Array<string>
editorUrl

The content in the Traaker editor.

string format: uri
status
string
Allowed values: published dismissed
publishedUrl

Where the content was published, when known.

string format: uri
key
additional properties
any
key
additional properties
any

Example

{
"event": "article.published",
"tenantId": "3f2b9c1e-7a4d-4e8b-9c2f-1d5e6a7b8c9d",
"brandId": "8a1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"articleId": "c9d0e1f2-a3b4-4c5d-8e6f-7a8b9c0d1e2f",
"occurredAt": "2026-11-25T08:30:00.000Z",
"data": {
"title": "Comment choisir un logiciel de paie en 2026",
"subtitle": "Les 5 critères qui comptent vraiment",
"articleMarkdown": "# Comment choisir un logiciel de paie en 2026\n\n…",
"variants": [
{
"channel": "linkedin_post",
"kind": "announcement",
"text": "…"
},
{
"channel": "x_thread",
"kind": "thread",
"text": "[{\"text\":\"…\"}]"
}
],
"targetGeoQuery": "meilleur logiciel de paie pour PME",
"topicTags": [
"paie",
"pme"
],
"status": "published",
"publishedUrl": "https://www.example.com/blog/logiciel-paie-2026",
"editorUrl": "https://app.traaker.ai/news-watch/article/c9d0e1f2-a3b4-4c5d-8e6f-7a8b9c0d1e2f"
}
}

Received. Answer within 10 s.

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