• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $149 (🏆Lifetime Access) - View offer

Insert a HTML into a JSON parameter (Pabbly API)

lucasmon77

Member
Hello Friends.

I'm using Pabbly API to fire a transactional email using an API-Endpoint. I've built the request in postman and then copied it into Pabbly.

The body request has a field named "HtmlBody", which needs to be filled with the escaped version of the HTML Code I want to send to my contacts using the API.

In postman, the request works fine and the email is sent correctly to the recipient. In Pabbly, the email is sent but Pabbly is not allowing the HTML to render correctly since Pabbly is changing parameters in the final request. I see, once the request fires from Pabbly, that the field "HtmlBody" completely changes.

Here you can see a demo of the issue:


I think the Pabbly API is not accepting my HTML Code correctly. Do you know how to add an HTML code correctly in a JSON request?

Thanks!
 

Supreme

Well-known member
Staff member
Hey @lucasmon77

We looked over your query and would request you to use the Custom Request event of API by Pabbly action step. Furthermore, kindly cross-check your hardcoded JSON data which might be distorted.

unnamed1.png
 
Top