Forum Academy Marketplace Showcase Pricing Features

How To Use API Connector With Twilio Number Lookup

I’m trying to run an API call to Twilio’s number lookup to properly search and format phone number records on account creation but the API connector doesn’t want to work.

API connector takes the URL (from Twilio docs) modified of course for Bubble: https://lookups.twilio.com/v1/PhoneNumbers/416-123-6997?[AccountSid]:[AuthToken]

curl -XGET “https://lookups.twilio.com/v1/PhoneNumbers/(919)%20410-7522?Type=carrier&Type=caller-name” -u “{AccountSid}:{AuthToken}”

DOCS: https://www.twilio.com/lookup

Connector:

However each time i make a call i get an auth error:

image

Is there a trick that I’m missing to get this to authenticate?

I think you need to base64 encode authid:authtoken for the Authorization parameter.
See this

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.