All docs

Reference

Webhook payload reference

Last updated November 15, 2026View as markdown

This page lists exactly what to send to your workspace's webhook and what it answers. Clay and any other tool use the same fields.

Endpoints#

Your workspace has two webhooks. The full URLs are on Settings > Webhooks.

POST https://distrosauce.com/api/webhooks/clay/{your-workspace-slug}
POST https://distrosauce.com/api/webhooks/generic/{your-workspace-slug}

Use the Clay one from Clay and the generic one from anything else. Each has its own secret, on Settings > Integrations under Webhook Secrets.

Headers#

Content-Type: application/json
x-webhook-secret: {your webhook secret}

Body#

Send one person per request. An example, in which the person, the company and every value are made up:

{
  "first_name": "Pat",
  "last_name": "Placeholder",
  "email": "pat@example.com",
  "linkedin_url": "https://www.linkedin.com/in/example-profile",
  "title": "Head of Growth",
  "company_name": "Definitely Not Real, Inc.",
  "company_domain": "example.com",
  "signal_type": "your_thesis_slug",
  "signal_details": { "details": "Posted a role for a growth marketer" },
  "employee_count": 120,
  "industry": "Software"
}

Fields#

FieldRequiredNotes
first_nameYes
last_nameYes
company_nameYes
signal_typeYesThe slug of one of your active targeting theses. It must match exactly.
emailOne of email or linkedin_urlA blank value or none counts as no email.
linkedin_urlOne of email or linkedin_urlNeeded for LinkedIn notes.
titleNoUsed to match a persona.
company_domainNo
employee_countNoA number.
revenueNo
industryNo
tech_stackNoWords for the tools the company uses, for example CRM, data warehouse.
company_descriptionNo
signal_detailsNoAn object or a string. A string is stored as { "details": "..." }.

Other fields are kept with the lead as sent and are not used for writing.

Responses#

StatusWhenBody
200The request was acceptedsuccess: true and data with signal_id, lead_id, action, composite_score and message
400A field is missing or wrong (the three messages are below)success: false and error
401The address or the secret is wrong or missing{ "success": false, "error": "Invalid webhook URL or secret" }
500The body is not valid JSON, or something failed on our sidesuccess: false and error
503Something failed on our side; send the request again{ "success": false, "error": "Temporarily unavailable, try again" }

The three 400 messages#

When a required name or company field, or signal_type, is missing:

Missing required fields: first_name, last_name, company_name, signal_type

When there is neither an email nor a LinkedIn URL:

At least one contact method required: email or linkedin_url

When signal_type is not the slug of an active thesis, the message repeats the value you sent and lists your workspace's active thesis slugs:

Invalid signal_type "{the value you sent}". Valid options: {your active thesis slugs, separated by commas}

What a 200 means#

A 200 does not always mean a new lead. action says what happened: a new lead, a signal added to an existing lead, or a signal kept until there are more about the same person. Research and writing run after the response.