---
title: Marketo
slug: docs/marketo
createdAt: 2025-09-08T08:05:04.835Z
---





::Image[]{src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Marketo_logo.svg/960px-Marketo_logo.svg.png?20200802100926" size="70" width="960" height="269" position="center" darkWidth="960" darkHeight="269" showCaption="false"}

Marketo Webhooks allow you to send lead and activity data from Marketo in real time to Jomablue. By configuring a webhook, you can pass structured information (such as lead attributes, program context, or custom fields) directly into Jomablue for use in events.

A webhook in Marketo is essentially an HTTP request, typically a POST, that you configure with:

- **URL**: The Jomablue endpoint you want Marketo to call.
- **Payload Template**: The request body, where you insert Marketo tokens (e.g. &#x7B;&#x7B;lead.EmailAddress}}).
- **Headers**: Optional fields such as Content-Type or authentication keys.

Once configured, a webhook can be invoked as a step in any **Smart Campaign flow**, ensuring that lead and campaign data is automatically sent to Jomablue whenever a lead meets your campaign criteria.

The following sections provide examples of how to configure a webhook in Marketo, define JSON payloads, and send data to Jomablue.



## 1. Where to Configure the Webhook

1. Log in to Marketo.
2. Go to **Admin** → **Integration** → **Webhooks**.
3. Click **New Webhook**.

::Image[]{src="https://marmatodigital.com/wp-content/uploads/2023/12/Marketo-Admin-Page.png" size="54" width="1314" height="618" position="center" darkWidth="1314" darkHeight="618" showCaption="false"}

## 2. Basic Settings

- **Webhook Name**: Send Registration to Jomablue
- **Description**: Sends Event Registration Data to Jomablue
- **URL**: https\://yourinstance.jomablue.com/api/webhook/ingest/&#x7B;ingest\_endpoint\_uuid}
- **Request Type**: POST
- **Template**: JSON body (see below)
- **Request Token Encoding**: JSON
- **Response Type**: JSON



::Image[]{src="https://marmatodigital.com/wp-content/uploads/2023/12/New-Webhook.png" size="60" width="574" height="635" position="center" darkWidth="574" darkHeight="635" showCaption="false"}

## 3. Example JSON Payload

```json
{
    "organisation_uid": "{{lead.Id}}",
    "first_name": "{{lead.FirstName}}",
    "last_name": "{{lead.LastName}}",
    "email": "{{lead.EmailAddress}}",
    "job_title": "{{lead.role}}",
    "company": "{{lead.company}}",
    "mobile": "{{lead.mobile}}",
    "category": "{{lead.type}}",
    "custom_fields": {
        "dietary_requirements": "{{lead.food_preferences}}",
        "company_size": "{{lead.company_size}}",
        "campaign_id": "{{program.ID}}"
    }
}
```

## 4. Headers&#x20;

Click on **Custom Headers** in webhook setup:

- Content-Type: application/json
- Accept: application/son
- Authorization: Bearer \[API key]

::Image[]{src="https://marmatodigital.com/wp-content/uploads/2023/12/Custom-Header.png" size="78" width="626" height="472" darkWidth="626" darkHeight="472" position="center" showCaption="false"}



## 5. Test the Webhook

- Go to a **Smart Campaign** in Marketo.
- In the **Flow**, add → *Call Webhook* → select your new webhook.
- Run a test lead through the campaign.
- Check your endpoint logs to confirm receipt.

