Forum Academy Marketplace Showcase Pricing Features

Sending JSON Parameter Object via API Connector

Hey!

We are trying to send an API call to trigger Twilio Studio execution. The basic call works great but we are trying to send a JSON parameter object which has proven to be more difficult.

Essentially trying to pass a URI JSON enocded object , something like parameters = {“hello”:“world”} with the call. Have made the following attempts below


Twilio’s Studio REST Endpoint has two restrictions from my understanding:

  • The JSON parameter must be explicitly passed as a URL encoded string.
  • It does not accept application/json content-type (must be application/x-www-form-urlencoded)

Little lost so was wondering if there was some workaround or something I am missing here! For reference twilio studio execution docs

Thanks,
Varun