Aller au contenu principal
Rodz API
FR EN
v2.0.0

Référence / Webhooks / A signal is waiting on you

A signal is waiting on you

Les résumés et descriptions des routes viennent du contrat OpenAPI et restent en anglais.

Know the moment a signal stops producing until you act — and act from your own system.

POST vers l’adresse que vous enregistrez · événement signal.action_required

Documenté depuis le contrat OpenAPI, version 2.0.0 de l’API.

Lire la description complète

Know the moment a signal stops producing until you act — and act from your own system. Some signals need your yes before they spend credits: a New Decision Maker or Account watchlist whose companies must be matched to their LinkedIn company page at a cost above what we match without asking (MATCHING_CONFIRMATION_REQUIRED), and a Company Followers signal in icp mode whose follower extraction must be quoted and accepted (QUOTE_REQUIRED). A Company Followers signal can also stop because a LinkedIn company page it names does not exist (COMPANY_PAGE_UNAVAILABLE): nothing is charged, and apiEndpoint is the PATCH that replaces the page. That state often appears after you created the signal — once a large company list has been read, once a quote is ready — so this event tells you instead of leaving you to poll.

When: once per ask (a new quote is a new ask), after we review it. At the same time the account owners get an email with the quote and a link to confirm in the dashboard, and one reminder email 3 days later if it is still pending; the event itself is not repeated.

Output: event, eventId, signalId, signalName, signalTypeId, code, createdAt, message, quote (the price of saying yes), confirmUrl (dashboard) and apiEndpoint (method, url, body of the call that unblocks it).

Use cases:

  • Approve automatically under your own budget: call apiEndpoint when quote.estimatedCost (or quote.credits) is below your threshold.
  • Route the decision to a person: post message and confirmUrl to the account owner’s Slack or ticket queue.
  • Keep your UI honest: show the signal as “waiting on you” until signal.action_resolved arrives. GET /api/v1/signals?actionRequired=true gives the same list on demand.

Your signal’s webhookUrl receives leads, and also these events. Every event carries a top-level event key, which no lead has: route on it, and ignore event types you do not handle — new ones may be added. Signed exactly like leads (X-Webhook-Signature, X-Webhook-Timestamp) when the signal has a webhook secret. An event is not a lead: it is free and never counted as a delivered lead.

Charge utile

event string requis

Always signal.action_required.

eventId string requis

Unique id of this ask. Also sent as the X-Webhook-Id header; use it to ignore a duplicate delivery.

signalId string requis

The signal waiting on you.

signalName string requis

Its name.

signalTypeId string requis

Its type, e.g. new_decision_maker_watchlist.

code string requis

What it waits for:

  • MATCHING_CONFIRMATION_REQUIRED a New Decision Maker or Account watchlist whose companies must be matched to their LinkedIn company page, at a cost that needs your confirmation
  • QUOTE_REQUIRED a Company Followers signal in icp mode whose follower extraction must be quoted and the quote accepted
  • COMPANY_PAGE_UNAVAILABLE a Company Followers signal whose extraction stopped because a LinkedIn company page in linkedinCompanyUrls does not exist: replace the page
  • GOOGLE_SHEET_ACCESS_DENIED any signal whose Google Sheet refuses access to the Google account connected in Rodz, or no longer exists: share the sheet with that account as Editor, or point the signal at a sheet it owns
  • DESTINATION_UNAVAILABLE any signal whose outreach campaign can no longer receive leads — not found, archived, ended or without any step: choose another campaign for the signal, or fix it in your outreach tool

The same code as in the signal's warnings.

createdAt string requis

When the event was sent, ISO 8601 UTC.

message string requis

The same plain-language explanation as the signal's warning.

quote object requis

The price of saying yes. For MATCHING_CONFIRMATION_REQUIRED: the response of POST /api/v1/watchlists/{signalId}/companies/confirm-matching with confirm: false (companiesToMatch, alreadyMatchedFree, billableCompanies, pricePerCompany, currency, estimatedCost — an upper bound — sufficientBalance, ...). For QUOTE_REQUIRED: state (awaiting_acceptance, not_requested, expired or failed), credits and followers of the quote waiting for acceptance (else null), expiresAt and currency. For COMPANY_PAGE_UNAVAILABLE:

  • state company_page_unavailable
  • companyUrls the pages that do not exist; empty when we cannot tell which of the signal's pages it is
  • credits always 0: nothing was charged

and currency. For GOOGLE_SHEET_ACCESS_DENIED: state (google_sheet_access_denied), credits (always 0) and currency. For DESTINATION_UNAVAILABLE: state (campaign_not_found, campaign_archived, campaign_ended or campaign_no_steps), credits (always 0) and currency.

  • additionalProperties: true
exemple
{
  "alreadyMatchedFree": 0,
  "billableCompanies": 12000,
  "companiesToMatch": 12000,
  "confirmationRequired": true,
  "currency": "credits",
  "estimatedCost": 600,
  "isUpperBound": true,
  "pricePerCompany": 0.05,
  "status": "awaiting_confirmation",
  "sufficientBalance": true
}
confirmUrl string requis

The dashboard page that shows the quote with its confirm button.

apiEndpoint object requis

The call that unblocks the signal.

exemple
{
  "body": {
    "confirm": true
  },
  "method": "POST",
  "url": "https://api.rodz.io/api/v1/watchlists/d4bab73d-5c1e-4b7a-9f2e-3a6b8c0d1e2f/companies/confirm-matching"
}
3 champs dans apiEndpoint
method string requis

HTTP method, POST.

url string requis

Full URL of the call, with your signal id in it.

body object facultatif accepte null

JSON body to send, or null when the call takes none.

  • additionalProperties: true
par défaut
null

Où cette route est utilisée