Overview
Enterprise customers can connect their own Twilio account to Luly. Easily bring over your existing phone numbers, integrations, and more. Pre-requisites:- Your own Twilio account
Step 1: Creating an Encrypted Key with your Twilio Credentials
- Go to your Twilio Console and get your Account SID and Auth Token.
- create an
encrypted_keyby sending an API request to Luly.
Step 2: Using the Encrypted Key in Outbound Calls
Includeencrypted_key in the headers (in addition to the Authorization header) of your API requests, and we’ll use that account’s credentials to make the call.
For example:
Example
- You can set your
fromnumber in the API request - this will need to be a number owned by that Twilio account (and not one purchased through Luly). - By default, we’ll send calls from a randomly selected number in the specified Twilio account if a
fromis not specified.
Step 3: Uploading Inbound numbers
- Go to your Twilio Console and get your your Twilio phone number(s).
- Upload your numbers through the API
Step 4: Configuring Inbound Numbers/Webhooks
Note: When updating inbound numbers, the headers need to the include theencrypted_key in addition to the Authorization header. Doing so makes sure the updates are applied to the correct Twilio account
Once you update an inbound number through the Dev Portal or API, that number will be automatically configured to run on Luly’s infrastructure. No additional steps are required!