Ingest API (Webhooks)
Configuration Examples
Marketo
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 {{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 log in to marketo go to admin → integration → webhooks click new webhook 2\ basic settings webhook name send registration to jomablue description sends event registration data to jomablue url https //yourinstance jomablue com/api/webhook/ingest/{ingest endpoint uuid} request type post template json body (see below) request token encoding json response type json 3\ example json payload { "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 click on custom headers in webhook setup content type application/json accept application/son authorization bearer \[api key] 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