Webhook API Endpoint signature

Hi all,

I’ve created a webhook (contact.creation subscription) that’s supposed to trigger my HTTPS endpoint (/POST), and it’s my understanding that the endpoint needs to accept a JSON array as a parameter.

I’ve done this, but I only receive 400 errors when I test the webhook from within Hubspot.

Any assistance would be greatly appreciated!

Hey @BigDawg5508, welcome to our Community.

It sounds like you’re on the right track with setting up your webhook for the contact creation subscription. The 400 error usually indicates something is wrong with the request your endpoint is receiving.

Ensure your endpoint URL is correct and accessible. Make sure it’s configured to accept application/json content type, as HubSpot sends the payload as JSON. Verify that your endpoint is correctly parsing the incoming JSON, and log the raw request body to see what you’re receiving. Also, ensure your endpoint returns a 200 OK status code when it successfully processes the request.

Double-check the HubSpot Webhooks API documentation to make sure you’re handling the request according to their specifications.

To our top experts @DanielSanchez and @Anton do you have any recommendations for @BigDawg5508 matter?

Thank you,

Pam