- A Cloudonix **Voice Application** on that domain (optional — leave the field blank in Dograh and we'll auto-create one for you on save, with the application `url` pre-set)
3. (Optional) Navigate to your domain's **Applications** and create (or open) the application you'll use with Dograh, then copy its **Application Name**. Skip this if you want Dograh to auto-create the Voice Application for you on save.
- Application Name — *optional*. Leave blank and Dograh will auto-create a Voice Application on save (with the application `url` and CXML runtime already configured) and store its name on this configuration.
6. Open the configuration you just created and add at least one **phone number** (with country code in E.164 format, e.g. `+1234567890`). The default caller ID is used for outbound calls.
Cloudonix routes inbound calls per **Voice Application** — the webhook URL is set once on the application, and applies to every DNID bound to it. **When you save an inbound workflow on a phone number, Dograh automatically pushes the webhook URL to your Voice Application's `url`** (provided the credentials are correct), so you don't need to set the webhook by hand. If Dograh auto-created the application during configuration save, the `url` is already set and this push is a no-op — you only need to bind your DNIDs to the auto-created application.
alt="Cloudonix application form showing Remote Application Resource type, Cloudonix CXML runtime, the Dograh inbound URL, POST method, and a DNID number entry"
alt="Cloudonix application form showing Remote Application Resource type, Cloudonix CXML runtime, the Dograh inbound URL, POST method, and a DNID number entry"
/>
### Step 3: Assign an Inbound Workflow to the Phone Number in Dograh
1. Go to **/telephony-configurations** and open your Cloudonix configuration
2. In the **Phone numbers** section, edit the number that should receive inbound calls
3. Set its **Inbound workflow** to the agent that should answer
4. Save
### Step 4: Verify the URL on the Voice Application
1. Open your Cloudonix cockpit and navigate to your domain's **Applications**
2. Open the application whose name you configured in Dograh
3. Confirm:
- **URL** is set to: `https://api.dograh.com/api/v1/telephony/inbound/run`
- **Method** is `POST`
<Note>
Dograh pushed this URL automatically when you saved the inbound workflow
in Step 3. The same URL is shared across every DNID bound to that
application — Dograh routes each inbound call to the right agent based
on the called number's inbound workflow assignment. If the field is
empty, shows a different URL, or Dograh surfaced a sync warning on
save, the auto-push failed — most often because the Bearer Token,
Domain ID, or Application Name in Dograh is incorrect. Paste the URL
into the field yourself, set the method to `POST`, and save. On
self-hosted Dograh, replace `api.dograh.com` with your backend domain.