> ## Documentation Index
> Fetch the complete documentation index at: https://help.sendspark.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhook payload (GHL)

> Learn how to configure GHL webhook payload for Sendspark API integration with proper JSON formatting and contact field mapping.

This is the raw JSON body you paste into your webhook or API call when firing a request to Sendspark from GHL. In GHL, it goes in the **Raw Body** of a webhook action pointed at your Sendspark incoming webhook URL, and the `prospect` fields use GHL merge tags (for example `#{{contact.email}}`) so each contact's data is pulled in automatically.

## Key takeaways

* Paste this JSON as the **Raw Body** of a GHL webhook action that points to your Sendspark incoming webhook URL.
* The `prospect` object maps GHL contact fields (such as email, company, and website) using merge tags like `#{{contact.email}}`.
* Values under `prospectDepurationConfig` (`forceCreation` and `payloadDepurationStrategy`) control how Sendspark handles prospect creation and deduplication.

This is the raw information you need to paste when you're firing a webhook or triggering an API towards Sendspark.

```json theme={null}
{  "processAndAuthorizeCharge": true,  "prospectDepurationConfig": {    "forceCreation": false,     "payloadDepurationStrategy": "keep-first-valid"  },  "prospect": {      "firstName": "#{{contact.first_name}}",      "contactEmail": "#{{contact.email}}",      "company": "#{{contact.company_name}}",      "customfield": "",      "backgroundUrl": "#{{contact.website}}"  }}
```

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Where do I paste this payload in GHL?">
    In your GHL workflow, add an **Action → Webhook**, paste your Sendspark incoming webhook URL, and configure the **Raw Body** with this JSON. See [Generate a Video With Any Trigger](/highlevel-ghl-generate-a-video-with-any-trigger) for the full workflow.
  </Accordion>

  <Accordion title="How do I get the Sendspark webhook URL?">
    Create an incoming webhook in your Sendspark workflow (for example, Agentic Workflows): add a **Trigger → Webhook → Incoming**, set the step to wait for the webhook, and copy the webhook URL to paste into GHL.
  </Accordion>

  <Accordion title="What do the #{{contact...}} values mean?">
    They are GHL merge tags. When the webhook fires, GHL replaces each tag with that contact's data (such as their email or website) before sending the payload to Sendspark.
  </Accordion>
</AccordionGroup>

*Updated July 2026.*
