Bearer logo

Quickly build your own Twilio API Integration

  • Don’t waste time learning the Twilio API behaviour
  • Use a pre-configured API client and Basic implementation
  • Consume and transform the Twilio API with functions
  • Host and scale your integration for free
  • Monitor and log every API call to the Twilio API out of the box.
  • Integrate into your app within seconds using our integration clients
or read the documentation

As a developer, I want to build an integration on Twilio

On Bearer

Clone the template

npm init bearer twilio -t -d providers/twilio
cd twilio

Configure your API credentials

npm run bearer setup:auth USERNAME:PASSWORD
Setup the integration with your Twilio credentials. This will allow you to make authenticated API requests. Don't know your Twilio credentials?

Test the pre-built function

npm run bearer invoke defaultFunction
  "data": [
      "sid": "SM3f2ffe8d5ec4f4abf36529fb5e2c13",
      "date_sent": "Wed, 24 Apr 2019 11:08:52 +0000",
      "to": "+48797652233",
      "from": "+48732230384",
      "body": "Don't forget to bring your 🐻"

Code your own function

npm run bearer generate:function myFunction
create: functions/myFunction.ts
Function generated
✨ Done
Use your function to call any Twilio endpoint and map the data to your app models.

Deploy your integration

npm run bearer push
Refreshing tokens... done
✓ Generate bundle
✓ Transfer bundle
🐻 Integration successfully pushed.
Once your integration is ready, deploy it on the Bearer platform and you’re good to go!
On Your App

Call your functions

<script src=""></script>
const bearerClient = bearer('BEARER_CLIENT_ID')
bearerClient.invoke('INTEGRATION_UUID', 'FUNCTION_NAME', {
query: { params: 'value' }
.then(() => {
console.log('Successfully invoked function')
.catch(() => {
console.log('Something went wrong')
Use our integration clients to call your functions from your app.

Featured Templates

Bearer - API integration Framework



Docs & Help


Bearer is on TwitterBearer is on GitHubBearer is on FacebookBearer is on LinkedInBearer is on Medium
© Copyright Bearer 2019