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.
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.