web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to create a Custom...
Power Automate
Unanswered

How to create a Custom Connector post request with non-Json body

(1) ShareShare
ReportReport
Posted on by 4

I'm trying to create a Custom Connector on Power Automate to send Whatsapp messages via Twilio. The problem is that Twilio API requires POST x-www-form-urlencoded content-type as per Twilio's documentation:

 

curl -X POST https://api.twilio.com/2010-04-01/Accounts/<accountID>/Messages.json \
--data-urlencode "From=whatsapp:+14155238886" \
--data-urlencode "Body=Hello there" \
--data-urlencode "To=whatsapp:+15005550006" \
-u <accountID>:<accountKey>

 

 Thus, the raw payload Twilio expects is:

From=whatsapp%3A%2B14155238886&Body=Hello%20There&To=whatsapp%3A%2B15005550006

 

Once the sample analyzer of Custom Connector only accepts JSON formatted body, it gives a "invalid Json format" error message when the raw payload above is placed.

 

It works with no problem in Postman.

 

How could I handle those parameter in order to ingest it into Custom Connecter builder?

 

Thanks

 

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Facing same issue. Have you got the solution for this

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard