API reference

Webhooks

The messages CX-Signals sends to your address when something happens

Every message is a POST to your address with a JSON body and three headers. How to check them, and what to answer, is in Webhooks.

HeaderMeaning
webhook-idThe message id. The same on every retry: use it to ignore a message you already have
webhook-timestampWhen this attempt was signed, in seconds since 1970. Refuse a message more than five minutes old
webhook-signaturev1, then the base64 HMAC-SHA256 of "<webhook-id>.<webhook-timestamp>.<body>", keyed with your address's secret (Standard Webhooks)

talking_point.created

A new talking point, sent when the run that found it has finished. Only talking points the API lists (the ones the app shows). In Settings: New talking point.

Example body

{
  "type": "talking_point.created",
  "timestamp": "2026-11-18T06:05:11.204417+00:00",
  "data": {
    "id": "5c4b3a29-1807-4f6e-9d5c-4b3a29180700",
    "account_id": "8b2f6c1e-3d4a-4e5f-9a1b-2c3d4e5f6a7b",
    "text": "Northwind is cutting staff. Check whether the dispatch team using your product is affected before renewal talks start.",
    "context": "Layoffs at a customer often shrink the team that uses the product, which shows up as fewer seats at renewal.",
    "guidance": {
      "objective": "Learn which teams are affected and protect the renewal",
      "questions_to_confirm": [
        "Is the dispatch team part of the restructuring?",
        "Who now owns route planning?"
      ],
      "watch_for": [
        "A new head of operations",
        "Depot closures"
      ]
    },
    "attention": {
      "key": "act_now",
      "name": "Act now"
    },
    "label": "churn_risk",
    "strength": 71,
    "confidence": "high",
    "signals": [
      {
        "id": "1e9d8c7b-6a5f-4e3d-8c2b-1a0f9e8d7c6b",
        "title": "Northwind Freight cuts 8% of staff in restructuring",
        "type": {
          "key": "layoffs",
          "name": "Layoffs"
        },
        "scope": "company",
        "label": "churn_risk"
      }
    ],
    "archived": false,
    "archived_at": null,
    "created_at": "2026-11-18T06:05:11.204417+00:00",
    "updated_at": "2026-11-18T06:05:11.204417+00:00"
  }
}

Fields

FieldTypeMeaning
typestringThe event. One of: talking_point.created
timestamptimeWhen it happened
dataobjectSomething to raise with the customer, written from one or more signals
data.ididThe talking point id
data.account_ididThe account it is for
data.textstring or nullThe talking point
data.contextstring or nullWhy it matters (shown as Context in the app)
data.guidanceobjectHow to raise the talking point
data.guidance.objectivestring or nullWhat the conversation should achieve
data.guidance.questions_to_confirmarray of stringsQuestions to ask the customer
data.guidance.watch_forarray of stringsDevelopments to watch for next. When one happens, it appears in /v1/watch-hits
data.attentionobject or nullHow soon to act. Null when not set
data.attention.keystringA fixed key your code can rely on. One of: act_now, act_within_weeks, awareness
data.attention.namestringThe name the app shows
data.labelstring or nullchurn_risk or opportunity, from the signals behind it (churn risk first, as the app shows it). One of: churn_risk, opportunity
data.strengthinteger or nullHow much it matters, 0 to 100
data.confidencestring or nullHow sure the reading is. One of: high, medium, low
data.signalsarray of objectsThe signals behind it, in its own order. When one of them changes its title, type, scope or label, or is deleted, the talking point counts as changed too
data.signals[].ididThe signal id (see /v1/signals)
data.signals[].titlestring or nullIts headline. Text from the web: show it as plain text
data.signals[].typeobjectThe kind of development, e.g. { "key": "m_and_a", "name": "M&A" }. New kinds can appear
data.signals[].type.keystringA fixed key your code can rely on
data.signals[].type.namestringThe name the app shows
data.signals[].scopestringWhat the signal is about: the account itself, one of its tracked competitors, or its industry. One of: company, competitor, industry
data.signals[].labelstring or nullchurn_risk or opportunity, for what you sell (set in Settings, Product context). Null when neither. One of: churn_risk, opportunity
data.archivedbooleanArchived in the app (hidden from the default views, not deleted)
data.archived_attime or nullWhen it was archived. Null when it is not
data.created_attimeWhen it was written
data.updated_attimeWhen anything about it last changed

The fields of data are the same as in the API: see Talking points.

signal.created

A signal found for the first time, sent when the run that found it has finished. A signal that changed is not sent again: read changes with changed_since. In Settings: New signal.

Example body

{
  "type": "signal.created",
  "timestamp": "2026-11-20T06:04:51.990173+00:00",
  "data": {
    "id": "1e9d8c7b-6a5f-4e3d-8c2b-1a0f9e8d7c6b",
    "account_id": "8b2f6c1e-3d4a-4e5f-9a1b-2c3d4e5f6a7b",
    "title": "Northwind Freight cuts 8% of staff in restructuring",
    "type": {
      "key": "layoffs",
      "name": "Layoffs"
    },
    "scope": "company",
    "competitor": null,
    "label": "churn_risk",
    "label_reason": "Fewer dispatchers means fewer seats on your route-planning tool at renewal.",
    "direction": "negative",
    "strength": 74,
    "confidence": "high",
    "strength_version": 1,
    "first_seen_at": "2026-11-18T06:03:40.551026+00:00",
    "last_source_at": "2026-11-20T06:03:58.007312+00:00",
    "archived": false,
    "archived_at": null,
    "sources": [
      {
        "name": "Example Business News",
        "url": "https://news.example.com/northwind-restructuring",
        "found_at": "2026-11-18T06:03:40.551026+00:00"
      },
      {
        "name": "Example Freight Weekly",
        "url": "https://freight.example.org/northwind-dispatch-cuts",
        "found_at": "2026-11-20T06:03:58.007312+00:00"
      }
    ],
    "updated_at": "2026-11-20T06:04:02.310488+00:00"
  }
}

Fields

FieldTypeMeaning
typestringThe event. One of: signal.created
timestamptimeWhen it happened
dataobjectA development about an account: one story, built from one or more sources
data.ididThe signal id
data.account_ididThe account it is about
data.titlestring or nullThe headline, as the app shows it. Text from the web: show it as plain text
data.typeobjectThe kind of development, e.g. { "key": "m_and_a", "name": "M&A" }. New kinds can appear
data.type.keystringA fixed key your code can rely on
data.type.namestringThe name the app shows
data.scopestringWhat the signal is about: the account itself, one of its tracked competitors, or its industry. One of: company, competitor, industry
data.competitorobject or nullFor a competitor signal: which tracked competitor. Null otherwise, or when it cannot be told
data.competitor.namestringThe competitor name
data.labelstring or nullchurn_risk or opportunity, for what you sell (set in Settings, Product context). Null when neither. One of: churn_risk, opportunity
data.label_reasonstring or nullOne sentence on why it is a churn risk or an opportunity. Null without a label
data.directionstring or nullWhether the development is good or bad news for the account. One of: positive, negative, neutral
data.strengthinteger or nullHow much it matters, 0 to 100. Null before it is scored
data.confidencestring or nullHow sure the reading is. One of: high, medium, low
data.strength_versioninteger or nullWhich version of the scoring made the strength. Strengths of different versions are not comparable
data.first_seen_attimeWhen it was first seen
data.last_source_attime or nullWhen its latest source was added, i.e. when the story last moved
data.archivedbooleanArchived in the app (hidden from the default views, not deleted)
data.archived_attime or nullWhen it was archived. Null when it is not
data.sourcesarray of objectsIts sources, oldest first
data.sources[].namestring or nullThe publication or site
data.sources[].urlstring or nullThe link to the article
data.sources[].found_attime or nullWhen CX-Signals found it
data.updated_attimeWhen anything about it last changed

The fields of data are the same as in the API: see Signals.

watch_hit.created

A "watch for" item that happened, of a talking point the API lists, sent when its run has finished. In Settings: Watched development happened.

Example body

{
  "type": "watch_hit.created",
  "timestamp": "2026-11-20T06:04:51.990173+00:00",
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "account_id": "8b2f6c1e-3d4a-4e5f-9a1b-2c3d4e5f6a7b",
    "talking_point_id": "5c4b3a29-1807-4f6e-9d5c-4b3a29180700",
    "watched_for": "A new head of operations",
    "explanation": "Northwind named a new VP of Operations two days after the restructuring.",
    "signal_id": "2f3e4d5c-6b7a-4980-8f1e-2d3c4b5a6978",
    "created_at": "2026-11-20T06:04:44.871355+00:00",
    "updated_at": "2026-11-20T06:04:51.990173+00:00"
  }
}

Fields

FieldTypeMeaning
typestringThe event. One of: watch_hit.created
timestamptimeWhen it happened
dataobjectA "watch for" item of a talking point that happened
data.ididThe watch hit id
data.account_ididThe account
data.talking_point_ididThe talking point whose watch_for list named it
data.watched_forstring or nullThe watch_for item, as the talking point wrote it
data.explanationstring or nullHow the new signal shows it happened
data.signal_ididThe signal that showed it happened
data.created_attimeWhen it was found
data.updated_attimeIts sync date: changed_since compares with it, as in every list

The fields of data are the same as in the API: see Watch hits.

run.finished

A run ended, whatever the outcome: completed, nothing-new, partial or failed (status). Its counts say what it found. In Settings: Analysis finished (or failed).

Example body

{
  "type": "run.finished",
  "timestamp": "2026-11-20T06:04:51.990173+00:00",
  "data": {
    "id": "7d6c5b4a-3928-4170-9e6d-5c4b3a291807",
    "account_id": "8b2f6c1e-3d4a-4e5f-9a1b-2c3d4e5f6a7b",
    "status": "completed",
    "started_at": "2026-11-20T06:00:12.402911+00:00",
    "finished_at": "2026-11-20T06:04:51.990173+00:00",
    "counts": {
      "sources": 23,
      "signals": 4,
      "new_signals": 1,
      "updated_signals": 2
    },
    "updated_at": "2026-11-20T06:04:51.990173+00:00"
  }
}

Fields

FieldTypeMeaning
typestringThe event. One of: run.finished
timestamptimeWhen it happened
dataobjectOne analysis of one account
data.ididThe run id
data.account_ididThe account
data.statusstringrunning, completed, nothing-new (it ran and found nothing new), partial (it finished, but part of it failed) or failed
data.started_attimeWhen it started
data.finished_attime or nullWhen it finished. Null while running
data.countsobjectWhat a run found
data.counts.sourcesinteger or nullSources found
data.counts.signalsinteger or nullSignals it touched
data.counts.new_signalsinteger or nullNew signals
data.counts.updated_signalsinteger or nullExisting signals that got a new source
data.updated_attimeWhen anything about it last changed

The fields of data are the same as in the API: see Runs.

item.deleted

Something was removed. Remove it from your system too, within 30 days (API Terms). A removed account comes once and stands for everything under it. In Settings: Item removed.

Example body

{
  "type": "item.deleted",
  "timestamp": "2026-11-19T15:12:09.441203+00:00",
  "data": {
    "type": "signal",
    "id": "3b4c5d6e-7f80-4192-a3b4-c5d6e7f80912",
    "account_id": "8b2f6c1e-3d4a-4e5f-9a1b-2c3d4e5f6a7b",
    "deleted_at": "2026-11-19T15:12:09.441203+00:00"
  }
}

Fields

FieldTypeMeaning
typestringThe event. One of: item.deleted
timestamptimeWhen it happened
dataobjectSomething removed from the workspace. Remove it from your system too. It can name an item you never received (one the API did not show, such as a weak talking point): ignore ids you do not have
data.typestringWhat was removed. A deleted account means everything under it is gone too, and is listed once. One of: account, signal, talking_point, watch_hit
data.ididThe id it had
data.account_idid or nullThe account it was under (for an account, its own id)
data.deleted_attimeWhen it was removed

The fields of data are the same as in the API: see Deleted items.

webhook.test

Sent only when an admin chooses Send test in Settings. It carries no data from the workspace.

Example body

{
  "type": "webhook.test",
  "timestamp": "2026-11-22T10:00:00.000Z",
  "data": {
    "message": "This is a test message from CX-Signals. If your system checked its signature, the address is set up correctly."
  }
}

Fields

FieldTypeMeaning
typestringThe event. One of: webhook.test
timestamptimeWhen it happened
dataobjectThe test message
data.messagestringA sentence saying this is a test

Last updated 2026-11-21. Questions? Contact us