How do I send leads from Zapier to Hubhus?

Modified on Thu, 4 Dec at 11:33 AM

How do I send leads from Zapier to Hubhus?

Replace field slugs and campaign_id with the exact API identifiers shown in your Hubhus API documentation.

On this page

Jump to any section using the links below

You can send leads directly into Hubhus using Zapier’s Webhook (Custom Request) feature.
This guide shows how to configure a POST request to the Hubhus API and map your Zapier fields correctly.


1. Create your Zap and choose Webhook

  1. In Zapier, create a new Zap

  2. For the action step, select:
    App: Webhooks by Zapier
    Event: Custom Request

This gives you full control over the JSON body and headers required by Hubhus.


2. Configure the POST request

Use the following settings:

Method: POST
URL:

https://api.leadvalidator.dk/leads

This is the standard Hubhus endpoint for creating new leads.


3. Add the JSON body (Data section)

In Zapier, add your JSON payload inside the Data box.
You can copy ready-made examples from your personalized API documentation:

Hubhus path:
Account → API Documentation → “Go to the new API documentation here.”
Create an API token → click the grey link icon to open your personalized documentation.

Direct format:

https://leadvalidator.dk/a/YOUR_BRAND_SLUG_NAME/api-documentation

Example JSON payload

{ "campaign_id": YOUR_CAMPAIGN_ID, "field_values": { "your_field_slug_name": "value of name", "your_field_slug_address": "value of address", "your_field_slug_email": "value of email" } }

Replace field slugs and campaign_id with the exact API identifiers shown in your Hubhus API documentation.

Important Zapier data settings

Set these exactly or Zapier will corrupt your field names:

  • Data Pass-Through: False

  • Unflatten: No
    (If set to Yes, Zapier will split fields with hyphens — which Hubhus depends on.)


4. Add the required headers

Under “Headers” add:

KeyValue
AuthorizationBearer YOUR_API_TOKEN
Content-Typeapplication/json
Acceptapplication/json

Your API token comes from the API documentation screen in Hubhus.


5. Address mapping note (important)

Some lead sources (e.g., Facebook Lead Ads) send addresses with line breaks like:

[:newline:]

Hubhus cannot parse this format.

To fix this in Zapier:

  1. Add a “Transform → Replace” step before your webhook

  2. Replace [:newline:]

  3. With , (a comma)

This ensures addresses import cleanly into Hubhus.


Summary

To send leads from Zapier to Hubhus:

  • Use Webhooks by Zapier → Custom Request

  • POST to the Hubhus leads endpoint

  • Use your API token for authorization

  • Copy field slugs directly from personalized API documentation

  • Disable unflattening and do not use data pass-through

  • Clean address fields when required

Your Zap will now create leads in Hubhus automatically whenever it runs.

? Common searches

api setup • api integration • webhook setup • api authentication

? Also known as

customer • contact • prospect • integration

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article