This is pretty amazing… I am trying to add this to an experience that I have debuting this weekend. Would anyone of you guys be able to help me get this running? I’ve been playing around with it, and I have not been able to get the authentication to work.
Thanks for the reply Seb. I’ve been playing around with it and figured out that syntax… I still can’t get it to stop giving me a 401 error.
This is the command that I am pasting into the Request URL field of the API Explorer (I don’t mind that you see my tokens… it’s just a test twilio at this point)
[EDIT: PRIVATE INFO]
those are the correct live creds. Any idea what might be up?
Let’s avoid sharing your private credentials in a public comment I edited your message.
I’ll try to do some tests on that topic and come back to you before the end of the day.
I sent the “answer” to Shawn in pm since it contains his credentials, but for others, here is the info:
I just started from the curl I provided in the thread then replaced the parameters with yours.
I used Basic Authentication Header Generator to generate the bearer token for the basic auth field.
Something that drove me a little batty for about 30 minutes is trying to figure out why my Basic Auth token didn’t work. Make sure you use the ACCOUNT SID as the username and the AUTH TOKEN from your Twilio Dashboard as the password when generating your Authorization token. There was also either a typo or a link change in Seb’s posting for the Basic authentication header generator. It should be https://www.blitter.se/utils/basic-authentication-header-generator/