Submitting form by AJAX not sending confirmation email


#1

We have an embedded form in our Wordpress site that is working perfectly. The visitor enters their email address and submits the form and then receives an email asking them to confirm their email address. When I submit the form through AJAX I get a 200 response but do not receive the email confirmation. Can someone tell me what I am doing wrong?

Here is the request from Postman:

POST /submissions/v3/integration/submit/5160486/6edf9138-9347-4c9b-88d9-417593108db1 HTTP/1.1
Host: api.hsforms.com
Content-Type: application/json
Accept: application/json
cache-control: no-cache
Postman-Token: d5176536-1cc9-46a7-84fd-c02ab6cf37bd
{
    "submittedAt": "1548454061560",
    "fields": [
        {
            "name": "email",
            "value": "test@test.com"
        },
        {
            "name": "lifecyclestage",
            "value": "subscriber"
        }
    ],
    "context": {
        "hutk": "43df4b712282f256211a502f8d1e8933"
    },
    "skipValidation": true
}------WebKitFormBoundary7MA4YWxkTrZu0gW--

#3

Hi Trent,

Taking a look at an internal tool that shows sends to a specific email address, it does look like those messages are being delivered to the person specified on the the form (thomas.gardner at pointadvent dot com).

I would have them try to whitelist our IPs/sending domains via this article (https://knowledge.hubspot.com/articles/kcs_article/email/not-receiving-hubspot-system-or-notification-emails), and/or check their spam folder!