Skip to main content
You’ve covered API Trigger and Webhooks. Both of those work on real calls, which means you need a real phone number connected first. This page walks through Twilio specifically, since it’s the fastest way to get a number and test with free trial credits.

Step 1: Create a Twilio account and buy a number

Sign up at Twilio. You’ll land on their dashboard with free trial credits you can use for testing. Go to Phone Numbers and click Buy a number, pick any number you like.

Step 2: Copy your Account SID

Back on the Twilio dashboard, copy your Account SID.

Step 3: Add the configuration in Dograh

Open Telephony in Dograh, click Add Configuration, and select Twilio as the provider. Name it something you’ll recognize later, your workflow name works well. Paste the Account SID. Go back to Twilio, copy your Auth Token, and paste it in. Keep that token private. If you want this configuration to be the default for test calls and campaigns, enable that here. For a basic setup, leave answering machine detection off, then click Create.
Enable Set as default for outbound calls on your telephony configuration. If no default is set, API Trigger will return a 400: Telephony provider not configured for this organization error even after a successful setup.

Step 4: Add your phone number

Once the configuration exists, go to manage phone numbers and add the number you bought. Copy it from Twilio and paste it in as-is, country US. The label is optional, leave it blank if you want. Select your inbound workflow, in this demo, a debt collection agent. Keep it active, and enable default caller ID if you want test calls to always show that number.

Step 5: Verify your number

Before testing from a Twilio trial account, verify the destination number you plan to call, such as your personal phone number. This is separate from the Twilio number you purchased for use as the caller ID. In Twilio, go to the Verified Caller IDs page and add the destination number.

Step 6: Test it

Once verified, trigger a call the same way you did in Trigger Calls using API, from Postman or your backend. Dograh places the outbound call through Twilio. The phone rings, the agent answers, and the connection is live.
On a trial account, Twilio plays a default message before connecting to your agent. Press any key to skip it and go straight to the agent.
Inbound calls work the same way in reverse, routed through Twilio’s webhook into your Dograh workflow.

Next Steps