What is wrong with this parameter?

Hi, I was wondering if anyone knows what i’m doing wrong here. Using Twilio API to trigger a studio flow. It works fine if I just add To and From, but on the third parameter i’m trying to add a Name parameter with the value of Jack.

It’s a variable I have set up in Twilio. When I send it with curl using the terminal, it works just fine like this:

curl -X POST "https://studio.twilio.com/v1/Flows/FWXXX/Executions" --data-urlencode "To=+1909809XXXX" --data-urlencode "From=+1202519XXXX" --data-urlencode "Parameters={\"name\":\"Jack\"}" -u ACCOUNT_SID:AUTH_TOKEN

I’m trying to do the same thing in Postman like this:

I’ve tried adding " " around Name and Jack, and a few other things but haven’t figured out what i’m doing wrong. Anyone know what’s going on? Thanks for any consideration!

Hi @jackwabbit, welcome to the community.

Does this thread help answer your question?

2 Likes

Hi @hannah.neil

Thanks! :smiley:

Yes it did help actually. Helped me notice that I can check the code that Postman is putting together to match it to the code in the Twilio docs.

This ended up working:

Thanks a bunch.

Fantastic! I’m glad that worked.