• Resolved VisedFAQ

    (@visedfaq)


    Hello, I’d like to know if it would be possible to setup a connection to a third-party API (for example with your webhooks add-on), but have the form data sent in a specific manner in JSON to the server? Because in your docs the example is quite simple, however we need to send data in a specific way:

    {
    "extId": "",
    "brokerCode": "......",
    "comment": "",
    "client": {
    "nip": "5320256703",
    "naturalPerson": false,
    "contact": {
    "firstname": "test",
    "lastname": "testowy",
    "email": "[email protected]",
    "mobilePrefix": "+48",
    "mobileNo": "+48500333666",
    "consents": [
    {
    "consent": "marketing",
    "timestamp": "2023-08-30 13:29:01"
    },
    {
    "consent": "telefon",
    "timestamp": "2023-08-30 13:29:01"
    },
    {
    "consent": "email",
    "timestamp": "2023-08-30 13:29:01"
    }
    ]
    }
    }
    }

    As you can see, the form data is contained in the “contact” section. How can we send the WPForms submitted data to a third-party API in such a way?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @visedfaq,

    Thanks for reaching out!

    This might be possible using our Webhooks addon.

    However, as the Webhooks addon is part of the paid version of WPForms, could you please drop us a line through our contact page when you get the chance? You’re welcome to just include a link to this post, if you’d prefer to do that.

    I apologize that we’re not able to respond to paid version questions here in the www.remarpro.com support forums for the free version, but I really appreciate your help!

    Thanks!

    Thread Starter VisedFAQ

    (@visedfaq)

    As an update – I’ve contacted WPForms support and it’s not possible to do this with Webhooks addon. However, this task was quite easily accomplished with the help of FlowMattic automation plugin.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @visedfaq,

    I’m sorry to hear that it is not possible with our Webhooks addon, but great to know that you found a solution for your request.

    If you’d like any assistance with using WPForms Lite, please feel free to reach out.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.