chore: fix documentation for agent stream

This commit is contained in:
Abhishek Kumar 2026-07-07 14:28:29 +05:30
parent 5a822232da
commit d9b9a1efc8

View file

@ -23,10 +23,10 @@ This is useful when:
## Endpoint
```
wss://app.dograh.com/api/v1/agent-stream/{provider}/{agent_uuid}
wss://api.dograh.com/api/v1/agent-stream/{provider}/{agent_uuid}
```
`{provider}` is the registered provider name, currently `cloudonix`. `{agent_uuid}` is the agent's stable UUID (see [Get the Agent UUID](#get-the-agent-uuid) below). On self-hosted deployments, replace `app.dograh.com` with your backend host.
`{provider}` is the registered provider name, currently `cloudonix`. `{agent_uuid}` is the agent's stable UUID (see [Get the Agent UUID](#get-the-agent-uuid) below). On self-hosted deployments, replace `api.dograh.com` with your backend host.
## Prerequisites
@ -51,7 +51,7 @@ To find and copy it in the UI, see [Agent UUID](/configurations/agent-uuid).
### Cloudonix example
```
wss://app.dograh.com/api/v1/agent-stream/cloudonix/{agent_uuid}
wss://api.dograh.com/api/v1/agent-stream/cloudonix/{agent_uuid}
```
Use this URL inside the CXML `<Stream>` your Cloudonix Voice Application returns when the call needs to be bridged to the Dograh agent:
@ -60,7 +60,7 @@ Use this URL inside the CXML `<Stream>` your Cloudonix Voice Application returns
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Connect>
<Stream url="wss://app.dograh.com/api/v1/agent-stream/cloudonix/{agent_uuid}"/>
<Stream url="wss://api.dograh.com/api/v1/agent-stream/cloudonix/{agent_uuid}"/>
</Connect>
<Pause length="40"/>
</Response>