Convert CURL to get request Twilio

  • 1 September 2022
  • 0 replies

Userlevel 1

Hi, I am trying to make the following curl into a get webhook in Zapier. I am stuck with the headers part. In the past, I’ve used the “Authorization” header followed by the api key to make calls, but here I have no idea what the header should be for the “-u [CallSID]:[AuthToken]”. I tried putting -u as the header name and then followed it by putting the CallSID:AuthToken but that did not work. I would appreciate if any of you could provide me some guidance into this. Thank you!


curl '[AccountSID]/Calls.json?To=7090000000&From=%2B17095014595&StartTime%3E=2022-08-31T10%3A00%3A00-07%3A00' -u [CallSID]:[AuthToken]


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.