> ## Documentation Index
> Fetch the complete documentation index at: https://www.vobiz.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zendesk integration

> Put a Vobiz softphone in the Zendesk top bar - click-to-call, inbound calls in the browser, screen pop, call logging to tickets, and recording playback.

![Zendesk](https://mintcdn.com/vobizai/_O6EfSQk_Nz6SEBB/images/zendesk/logo.svg?fit=max\&auto=format\&n=_O6EfSQk_Nz6SEBB\&q=85\&s=b6e82d0cb9f17dd1bd8b935b8810554e)

Vobiz Calling puts a softphone in the Zendesk top bar. Your agents sign in with their Vobiz account, call customers from the panel or from a ticket, take inbound calls in the browser, and every call is written back to Zendesk with its duration and a link to the recording. No desk phone, no desktop software, and no Zendesk Talk subscription.

The integration is a Zendesk Support app plus a small Node.js backend that you host. Install the app directly from the [Zendesk Marketplace](https://www.zendesk.com/marketplace/apps/support/1300443/vobiz-calling/). The source for both is in one repository: [vobiz-ai/Vobiz-Zendesk-Calling](https://github.com/vobiz-ai/Vobiz-Zendesk-Calling).

## What you get

> [card] Click-to-call
>
> Dial from the panel, or click **Call requester** in the ticket sidebar. With Talk Partner Edition, clicking any phone number in Zendesk dials it too.

> [card] Inbound in the browser
>
> Calls to your Vobiz number ring every signed-in agent of that Vobiz account.

> [card] Screen pop
>
> The caller is looked up in Zendesk by phone number while the call rings. Answering opens their profile.

> [card] Call logging
>
> A private note on the open ticket, or a new ticket, with direction, numbers, duration and a recording link.

> [card] Recordings
>
> Every call is recorded. Play recordings of calls made through the panel, or from the signed, expiring link in the ticket.

> [card] Caller-ID choice
>
> Pick which of your Vobiz numbers to call from.

Each Zendesk agent gets their own calling identity from a short-lived access token, set up automatically. Agents can also sign in directly with an existing SIP endpoint.

## How it works

```text theme={null}
 Zendesk (agent's browser)                    Your backend                 Vobiz
 ┌──────────────────────────────┐  HTTPS   ┌──────────────────┐  REST   ┌─────────────────┐
 │ top bar   softphone panel    │────────▶ │ backend/         │───────▶ │ api.vobiz.ai    │
 │ sidebar   Call requester     │          │ server.js        │ ◀────── │ (webhooks:      │
 │ background click-to-dial     │          └──────────────────┘ answer, │  /answer, ...)  │
 └──────────────┬───────────────┘                               status  └────────┬────────┘
                │            SIP over WebSocket (audio)                         │
                └───────────────────────────────────────────▶ registrar.vobiz.ai ── phone network
```

* The panel runs in the Zendesk top bar. A ticket-sidebar part tells it which ticket is open and offers **Call requester**. A background part relays Zendesk's click-to-dial event.
* When an agent signs in, the backend checks the Auth ID and Auth Token with Vobiz and sets up what it needs inside that Vobiz account.
* The browser registers with Vobiz using a short-lived access token (JWT) and carries the call audio over WebRTC. Your microphone and speakers are the phone.
* To call out, the browser starts the call. Vobiz asks your backend's `/answer` URL what to do, and the backend tells Vobiz to record the call and [dial](https://www.vobiz.ai/docs/xml/dial.md) the customer from your chosen number.
* For inbound calls, Vobiz asks the same `/answer` URL, and the backend rings the signed-in agents of the Vobiz account that owns the number.
* When the call ends, the panel writes the call log to Zendesk.
* Recording audio is fetched from Vobiz by the backend and streamed to the agent through a signed link. Your Auth Token never reaches the browser.

![Outbound call flow: the agent clicks Call, the browser starts the call, Vobiz fetches the backend's answer URL, the backend answers with Record and Dial Number, and Vobiz dials the customer and connects the call.](https://mintcdn.com/vobizai/w0Oz2zVfbIM1eP99/images/zendesk/outbound-flow-light.svg?fit=max\&auto=format\&n=w0Oz2zVfbIM1eP99\&q=85\&s=03a2f5e7663ad14c568f13c007493f2e)

## Prerequisites

| Requirement | Detail |
| - | - |
| **Vobiz account** | Your **Auth ID** and **Auth Token** from the [Vobiz Console](https://console.vobiz.ai) → **API credentials** (the Auth Token is not your login password). At least one active, voice-enabled [phone number](https://www.vobiz.ai/docs/buy-a-phone-number.md), and enough balance for calls. |
| **Zendesk** | Zendesk Support with **admin** access, to install the app from the Zendesk Marketplace. Zendesk Talk is **not** needed. |
| **A public HTTPS URL** | Vobiz must reach your backend from the internet. Use a tunnel (`cloudflared`, `ngrok`) to try it, and a stable HTTPS hostname in production. |
| **Node.js** | Version 18 or newer. |
| **Browser** | A current Chrome, Edge or Firefox with a working microphone. Allow microphone access when asked. |

> [!WARNING]
>
> Every call is a real call and is charged to your Vobiz balance. An outbound call has two legs - the agent's browser and the customer - and both are billed.

## Set up

The Marketplace app is the softphone panel. It connects to a backend that you run, so set up the backend first.

**1. Clone and install**

```bash theme={null}
git clone https://github.com/vobiz-ai/Vobiz-Zendesk-Calling.git
cd Vobiz-Zendesk-Calling
npm install --prefix backend
cp backend/.env.example backend/.env
```

**2. Expose port 8092 over HTTPS**

In a second terminal:

```bash theme={null}
npm run tunnel        # runs: cloudflared tunnel --url http://localhost:8092
```

Copy the `https://…` URL it prints.

> [!NOTE]
>
> Quick tunnels get a new hostname every time they restart. They are fine for trying the app; use a stable hostname in production.

**3. Configure backend/.env**

`backend/.env` holds deployment settings only. Never put a Vobiz Auth ID, Auth Token, SIP password or phone number in it - agents sign in from the panel.

```bash backend/.env theme={null}
PUBLIC_BASE=https://calling.example.com     # the HTTPS URL from the previous step
SIGNING_SECRET=                             # paste the output of: openssl rand -hex 32
```

All other settings are optional. See [Configuration](#configuration).

**4. Start the backend and check it**

```bash theme={null}
npm start             # → http://localhost:8092
```

From outside your network, check that Vobiz can reach it:

```bash theme={null}
curl -s -X POST "https://calling.example.com/answer" \
  -d "From=sip:test@registrar.vobiz.ai&To=91XXXXXXXXXX&RouteType=sip"
```

You should get `Forbidden: invalid or missing webhook signature`. That is expected: your backend is reachable and refused an unsigned request. An error page or a timeout means Vobiz cannot reach your backend.

**5. Find the app in the Zendesk Marketplace**

Open [Vobiz Calling](https://www.zendesk.com/marketplace/apps/support/1300443/vobiz-calling/) on the Zendesk Marketplace, or search the Marketplace for **Vobiz**.

![Zendesk Marketplace search results for vobiz, showing the Vobiz Calling app by Vobiz, free to install](https://mintcdn.com/vobizai/w0Oz2zVfbIM1eP99/images/zendesk/marketplace-search.png?fit=max\&auto=format\&n=w0Oz2zVfbIM1eP99\&q=85\&s=69d2869d558c71fca80540384eaf771e)

Vobiz Calling in the Zendesk Marketplace.

**6. Click Install**

Click **Install** on the app's page, and follow the prompts to reach the installation settings in your Zendesk account.

![The Vobiz Calling Marketplace listing card, labelled Free integration and Actively maintained, with an Install button](https://mintcdn.com/vobizai/w0Oz2zVfbIM1eP99/images/zendesk/marketplace-install.png?fit=max\&auto=format\&n=w0Oz2zVfbIM1eP99\&q=85\&s=2f25d6899f408efa8896e137a9dfc9e1)

The app is free to install. Calls are charged to your Vobiz balance.

**7. Enter your Backend URL**

Set **Backend URL** to your backend's public HTTPS URL, with no trailing slash. Leave **SIP registrar URL** as it is, then finish the installation.

![The Vobiz Calling installation page in Zendesk, showing app details and the Title, Backend URL and SIP registrar URL settings](https://mintcdn.com/vobizai/w0Oz2zVfbIM1eP99/images/zendesk/marketplace-settings.png?fit=max\&auto=format\&n=w0Oz2zVfbIM1eP99\&q=85\&s=f12a87903055552cc87772b9662b5a59)

The installation settings in Zendesk.

**8. Sign in and call**

Click the Vobiz icon in the Zendesk top bar to open the panel. Sign in on the **Vobiz account** tab, wait for **READY**, pick a caller ID and call. The next sections explain each part.

![Zendesk top bar with the Vobiz Calling icon and its tooltip](https://mintcdn.com/vobizai/w0Oz2zVfbIM1eP99/images/zendesk/top-bar-icon.png?fit=max\&auto=format\&n=w0Oz2zVfbIM1eP99\&q=85\&s=fef2ed4018e7f42957908a4fe5839ffe)

The Vobiz Calling icon in the Zendesk top bar.

To run the backend for your whole team, see [Deploy to production](#deploy-to-production).

> [accordion] Run the app from source instead
>
> Use this to change the app or test it before you install it. It works on any Zendesk plan, including a trial, and only in your own browser.
>
> ```bash theme={null}
> cp zcli.apps.config.json.example zcli.apps.config.json
> ```
>
> ```json zcli.apps.config.json theme={null}
> {
>   "parameters": {
>     "backend_url": "https://calling.example.com"
>   }
> }
> ```
>
> ```bash theme={null}
> npx @zendesk/zcli apps:server
> ```
>
> Open `https://<your-subdomain>.zendesk.com/agent/dashboard?zcli_apps=true`. The Vobiz icon appears in the top bar. If the panel stays blank, allow your browser's local network access prompt for `localhost:4567`.
>
> ![Zendesk top bar showing the Vobiz Calling icon](https://mintcdn.com/vobizai/gI1w-2uw6LyBfUw9/images/zendesk/top-bar.png?fit=max\&auto=format\&n=gI1w-2uw6LyBfUw9\&q=85\&s=651a12c5e4a99f7b85c709d133d65ac5)
>
> The Vobiz Calling softphone in the Zendesk top bar.

## Sign in

The panel has two tabs: **Vobiz account** and **SIP direct**.

![The Vobiz Calling panel open over the Zendesk agent interface, showing the status badge and step 1 Sign in to Vobiz](https://mintcdn.com/vobizai/gI1w-2uw6LyBfUw9/images/zendesk/widget-connecting.png?fit=max\&auto=format\&n=gI1w-2uw6LyBfUw9\&q=85\&s=3fceb067155e83d47be63436747f7948)

The panel on load, inside Zendesk.

### Vobiz account (recommended)

Enter your **Auth ID** (`MA_XXXXXXXX`) and **Auth Token**, then click **Log in**. The backend checks them with Vobiz. A wrong pair is refused and nothing is created.

On a successful sign-in, the backend sets up the following in your Vobiz account. You never create these by hand.

* **One [application](https://www.vobiz.ai/docs/applications/create-application.md)** named `Zendesk-Calling-Vobiz`, with answer URL `<PUBLIC_BASE>/answer` (method POST). If an application with that answer URL already exists, it is reused. An application with any other answer URL is never changed.
* **A short-lived access token for each sign-in**, tied to that application. No SIP endpoint or SIP password is created. Each sign-in gets its own identity, the panel registers with its token and renews it a minute before it expires.

Endpoints that earlier versions created are no longer used. You can delete them in the Console.

![The panel showing the Auth ID and Auth Token fields, a Logged in as line with the calling-from number, and the Choose a caller ID step](https://mintcdn.com/vobizai/gI1w-2uw6LyBfUw9/images/zendesk/signed-in-caller-id.png?fit=max\&auto=format\&n=gI1w-2uw6LyBfUw9\&q=85\&s=055593678b31418abe652167576327f4)

Signed in, with the caller ID chosen.

**Choose a caller ID.** The **Calling from** dropdown lists your account's active, voice-enabled numbers. Calls go out from the number you pick, and the backend refuses any number that is not on your account. The panel remembers your last choice until the backend restarts.

![The Calling from field expanded into a dropdown of Vobiz numbers, with the Call button below](https://mintcdn.com/vobizai/gI1w-2uw6LyBfUw9/images/zendesk/caller-id-dropdown.png?fit=max\&auto=format\&n=gI1w-2uw6LyBfUw9\&q=85\&s=d73ba6d251b493f75e61aab4c7987594)

Any of your active numbers can be the caller ID.

### SIP direct

Use this to sign in as one existing SIP endpoint, without account-wide credentials. Enter the endpoint's **SIP username** and **SIP password** (Console → Voice → Endpoints), and the number to call from in **Calling from** (`+91XXXXXXXXXX`), then click **Connect**. The password goes straight from your browser to Vobiz; the backend never receives it.

Nothing is set up for you in this mode. Before you connect, point the endpoint and your number at an application whose answer URL is your backend's `/answer`.

> [tab] Console
>
> 1. **Voice → Applications** → create an application with answer URL `https://calling.example.com/answer`, method POST.
> 2. **Voice → Endpoints** → your endpoint → set its application to that one.
> 3. **Phone Numbers** → your number → attach it to the same application.

> [tab] API
>
> ```bash theme={null}
> # 1. Create the application. Note the app_id in the response.
> curl -X POST "https://api.vobiz.ai/api/v1/Account/MA_XXXXXXXX/Application/" \
>   -H "X-Auth-ID: MA_XXXXXXXX" -H "X-Auth-Token: $VOBIZ_AUTH_TOKEN" \
>   -H "Content-Type: application/json" \
>   -d '{"app_name":"Zendesk-Calling-Vobiz","answer_url":"https://calling.example.com/answer","answer_method":"POST"}'
>
> # 2. Attach the endpoint. Copy the app_id exactly as returned, as a string.
> curl -X POST "https://api.vobiz.ai/api/v1/Account/MA_XXXXXXXX/Endpoint/<endpoint_id>/" \
>   -H "X-Auth-ID: MA_XXXXXXXX" -H "X-Auth-Token: $VOBIZ_AUTH_TOKEN" \
>   -H "Content-Type: application/json" \
>   -d '{"app_id":"<app_id>"}'
>
> # 3. Attach the number, for inbound calls (%2B is the leading +).
> curl -X POST "https://api.vobiz.ai/api/v1/Account/MA_XXXXXXXX/numbers/%2B91XXXXXXXXXX/application" \
>   -H "X-Auth-ID: MA_XXXXXXXX" -H "X-Auth-Token: $VOBIZ_AUTH_TOKEN" \
>   -H "Content-Type: application/json" \
>   -d '{"application_id":"<app_id>"}'
> ```
>
> See [Create an application](https://www.vobiz.ai/docs/applications/create-application.md), [Update an endpoint](https://www.vobiz.ai/docs/endpoint/update-endpoint.md) and [Attach a number](https://www.vobiz.ai/docs/applications/attach-number.md).

In SIP direct mode:

* The number you type is used as the caller ID **and** as the inbound number that rings you. Vobiz refuses a caller ID that the endpoint's account does not own.
* The caller-ID dropdown, **Enable inbound calls** and the recordings list come with a Vobiz account sign-in. SIP direct records calls in Vobiz, and an account sign-in adds recording links to ticket notes.
* Call logs are always written through your own Zendesk session.
* **Remember username and caller ID** keeps those two in this browser. The password is never stored; you type it each time.

## Enable inbound calls

In Vobiz account mode, under **Receive calls here**, click **Enable inbound calls** once. This [attaches](https://www.vobiz.ai/docs/applications/attach-number.md) the selected number to the `Zendesk-Calling-Vobiz` application, so calls to that number ring the panel.

> [!WARNING]
>
> A number can be on only one Vobiz application. Enabling inbound **moves the number off the application it is on now**. Before you click, the panel shows the ID of that application. Signing in alone never moves a number.

## Using it

### Outbound calls

1. Wait for the **READY** badge. **Call** stays disabled until the panel is signed in and registered with Vobiz.
2. Type the number in international format (`+91XXXXXXXXXX`) and click **Call**, or press Enter. Or open a ticket and click **Call requester** in the Vobiz sidebar - it uses the phone number on the requester's profile.
3. Allow microphone access the first time. Click **Hang up** to end the call.

![The panel during a live call showing the Number to call field, a red Hang up button and an On a call with status line](https://mintcdn.com/vobizai/gI1w-2uw6LyBfUw9/images/zendesk/active-call.png?fit=max\&auto=format\&n=gI1w-2uw6LyBfUw9\&q=85\&s=b4ec740205a8b824d6b253bec42c4d8d)

An active call.

### Inbound calls

Keep the panel signed in and **READY**. When a call arrives, the panel opens, plays a ring tone, shows a Zendesk notification and the caller's number, and adds their name if a Zendesk user has that phone number. Click **Accept** or press **Enter** to answer - this also opens the caller's Zendesk profile. Click **Decline** or press **Escape** to reject.

A call rings for 30 seconds. If no agent of that account is signed in, the caller hears "Sorry, no one is available to take your call. Please try again later." and the call ends.

![The Vobiz Calling panel showing an incoming call prompt with Accept and Decline buttons](https://mintcdn.com/vobizai/gI1w-2uw6LyBfUw9/images/zendesk/incoming-call-popup.png?fit=max\&auto=format\&n=gI1w-2uw6LyBfUw9\&q=85\&s=9b3860034ffdda70a37c5fc1a59b7412)

An incoming call, with Zendesk's own notification.

### Call logging

When a call ends, the panel writes it to Zendesk:

* **Outbound call made while a ticket is open:** a private internal note on that ticket.
* **Outbound call with no ticket open, and every inbound call:** a new ticket, type *Task*, status *Solved*, with the matched Zendesk user (if any) as the requester.

The note starts with `[Vobiz Call Log]` and lists the date, direction, phone number(s), duration and a **Listen to Call Recording** link.

![A Zendesk ticket showing the Vobiz Call Log note with direction, duration, recording link and status](https://mintcdn.com/vobizai/gI1w-2uw6LyBfUw9/images/zendesk/ticket-call-log.png?fit=max\&auto=format\&n=gI1w-2uw6LyBfUw9\&q=85\&s=c1d1d6717c16f56b712d70bbc0a63a6e)

A call log on a ticket, as an internal note.

Who writes it depends on your backend settings:

* **`ZENDESK_SUBDOMAIN`, `ZENDESK_EMAIL` and `ZENDESK_API_TOKEN` set:** the backend writes the log as that Zendesk user. If your Zendesk account has Talk Partner Edition, the backend writes a Talk voice comment (or voice ticket) instead of a plain note.
* **Left blank** (or if the backend write fails): the panel writes the log through the signed-in agent's own Zendesk session, so it is attributed to the agent.

An optional webhook, `POST /transcription-ready`, appends a transcript to a ticket as a private note. It is off unless `TRANSCRIPTION_WEBHOOK_SECRET` is set, and the caller must send `Authorization: Bearer <that secret>`.

### Recordings

Every call is [recorded](https://www.vobiz.ai/docs/recording.md) (MP3, up to one hour per call).

* **In the panel:** **Recordings of calls made here** lists up to 10 recent recordings of calls this backend handled for your Vobiz account.
* **In the ticket:** the recording link plays once Vobiz has finished processing the file, usually within a minute. Until then it answers "The recording is still processing". Ticket links expire after 7 days by default.

![The browser audio player for a call recording](https://mintcdn.com/vobizai/gI1w-2uw6LyBfUw9/images/zendesk/recording-player.png?fit=max\&auto=format\&n=gI1w-2uw6LyBfUw9\&q=85\&s=775c54ed170434442500290a6cd22d87)

Playing a recording in the browser.

## Configuration

### Zendesk app settings

Set these in **Admin Center → Apps and integrations → Zendesk Support apps → Vobiz Calling → Settings**, or in `zcli.apps.config.json` when running locally.

| Setting | Label | Required | Default | Meaning |
| - | - | - | - | - |
| `backend_url` | Backend URL | Yes | - | Public HTTPS base URL of your backend, no trailing slash. `http://localhost` is accepted for local testing only. |
| `registrar_url` | SIP registrar URL | No | `wss://registrar.vobiz.ai:5063/` | The Vobiz SIP-over-WebSocket address. Leave it unless Vobiz support tells you otherwise. |

### Backend environment variables

Set in `backend/.env` or the process environment.

| Variable | Required | Default | Meaning |
| - | - | - | - |
| `PUBLIC_BASE` | **Yes** | - | Your backend's public HTTPS URL. Vobiz calls `<PUBLIC_BASE>/answer`, `/dial-status` and `/recording-ready`. Sign-in is refused until this is an `https://` URL. |
| `SIGNING_SECRET` | Yes in production | random at each start | Signs recording links. If unset, a new one is made on every restart and older links stop working. Generate with `openssl rand -hex 32`. |
| `PORT` | No | `8092` | Port the backend listens on. |
| `JWT_TTL_SECONDS` | No | `900` | Lifetime of each access token in seconds, from 180 to 86400. The panel renews it a minute before it expires. |
| `VOBIZ_WEBHOOK_SIGNATURES` | No | `require` | `require` rejects any webhook without a valid Vobiz signature. `verify` rejects invalid signatures but allows unsigned requests with a warning. `off` does not check. |
| `VOBIZ_REGISTRAR` | No | `registrar.vobiz.ai` | Vobiz SIP registrar host. |
| `RECORDING_URL_TTL_SECONDS` | No | `300` | How long recording links in the panel stay valid. |
| `TICKET_RECORDING_LINK_TTL_SECONDS` | No | `604800` (7 days) | How long recording links written into tickets stay valid. |
| `ZENDESK_SUBDOMAIN` | No | - | Your Zendesk subdomain, e.g. `acme`. Set all three `ZENDESK_*` values to have the backend write call logs. |
| `ZENDESK_EMAIL` | No | - | Email of the Zendesk user the backend writes as. |
| `ZENDESK_API_TOKEN` | No | - | A Zendesk API token (Admin Center → Apps and integrations → APIs → Zendesk API). |
| `TRANSCRIPTION_WEBHOOK_SECRET` | No | - | Turns on `POST /transcription-ready`; callers send it as a Bearer token. |
| `ALLOWED_ORIGINS` | No | - | Extra browser origins allowed to call the backend, comma-separated. Zendesk's app origins and localhost are always allowed. |
| `ZENDESK_MARKETPLACE_NAME`, `ZENDESK_MARKETPLACE_ORG_ID`, `ZENDESK_MARKETPLACE_APP_ID` | No | - | Identification headers on the backend's Zendesk API requests. Only needed for a Zendesk Marketplace listing. |

## Deploy to production

**The backend**

* Serve it on a **stable HTTPS hostname**. Quick tunnels change hostname on restart.
* Run **exactly one instance**. Sign-ins, Auth Tokens and recent calls are kept in memory, so a second instance would not know about agents signed in to the first.
* Set **`SIGNING_SECRET`** to a fixed random value so recording links survive restarts.
* Keep **`JWT_TTL_SECONDS`** short. An access token cannot be revoked, so it stays valid until it expires.
* Run it under a process manager. After any restart, agents must sign in again.

If your backend sits behind an IP allowlist, see [IP whitelisting](https://www.vobiz.ai/docs/concepts/ip-whitelisting.md).

**The Zendesk app**

Install [Vobiz Calling](https://www.zendesk.com/marketplace/apps/support/1300443/vobiz-calling/) from the Zendesk Marketplace, and set **Backend URL** to your backend's stable HTTPS URL. If you installed it with a tunnel URL, update **Backend URL** in the app's settings.

> [accordion] Upload your own build as a private app instead
>
> Use this only if you changed the app's source. Uploading a private app needs Suite Growth or higher, or Support Professional or higher.
>
> **1. Build the package**
>
> From the repository root:
>
> ```bash theme={null}
> npm run package     # writes Vobiz-Zendesk-Calling.zip, no Zendesk login needed
> ```
>
> Or, after `npx @zendesk/zcli login -i`, run `npx @zendesk/zcli apps:validate .` and `npx @zendesk/zcli apps:package .`. The backend is never included in the package.
>
> **2. Upload it as a private app**
>
> In Zendesk, go to **Admin Center → Apps and integrations → Zendesk Support apps → Upload private app**, and upload the zip.
>
> **3. Fill in the settings and install**
>
> Set **Backend URL** to your backend's HTTPS URL.

> [!NOTE]
>
> One installation serves every agent. Each agent gets their own calling identity, based on their Zendesk user ID.

## Security and privacy

* **Your Auth Token never leaves the server and is never stored on disk.** It is kept in the backend's memory only, never sent back to the browser, never logged and never written into a ticket. After sign-in the browser holds an opaque session token, valid for 12 hours, and a short-lived access token.
* **No SIP password reaches the browser in Vobiz account mode.** The panel registers with an access token that expires after 15 minutes by default. A token cannot be revoked, so each sign-in has its own identity, and the backend stops routing that identity's calls when the session ends. In SIP direct mode, the password you type never reaches the backend.
* **Nothing is stored on disk.** The backend keeps sign-ins, tokens and recent calls in memory only.
* **Recording links are signed and expire.** They carry no credentials, are tied to one Vobiz account, and expire after 5 minutes (panel) or 7 days (tickets). The backend fetches the audio from Vobiz itself and never fetches a URL supplied by the caller.
* **Zendesk credentials are fixed on the server.** The subdomain, email and API token come only from `backend/.env`.
* **Caller IDs are checked.** In Vobiz account mode, only numbers on that account can be used. Every value placed in the call instructions is validated and escaped.
* **CORS is restricted** to Zendesk's app origins, localhost, and `ALLOWED_ORIGINS`.
* **Vobiz webhooks are signature-checked by default.** `/answer`, `/dial-status` and `/recording-ready` must be public, so the backend rejects any request without a valid Vobiz signature with HTTP 403. Change this with `VOBIZ_WEBHOOK_SIGNATURES`.

## Troubleshooting

> [accordion] The panel says “Not configured” or “Backend URL must start with https\://”
>
> An app setting is empty, or **Backend URL** is plain `http://` and not localhost. Fill in **Backend URL** (your backend's HTTPS URL), then reload.

> [accordion] The panel says “Cannot reach the calling backend”
>
> The backend is down, the URL is wrong, or the browser blocked the request. Open `https://<backend>/health` in a browser. If you load the app from a custom origin, add it to `ALLOWED_ORIGINS`.

> [accordion] “Login failed: Vobiz did not accept that Auth ID and Auth Token”
>
> Copy both from Console → **API credentials**. The Auth Token is not your login password.

> [accordion] “This backend has no public https PUBLIC\_BASE”
>
> `PUBLIC_BASE` is empty or not `https://`. Set it to your public HTTPS URL and restart the backend.

> [accordion] “Could not find or create the Zendesk calling application” or “Could not get an access token for your phone line”
>
> Vobiz refused the request; the backend log has the HTTP status. Check that the account is active and the Auth Token is current, then sign in again.

> [accordion] “No numbers found on this account”
>
> The account has no active, voice-enabled number. Buy or activate one in the Console, then sign in again.

> [accordion] The badge stays OFFLINE, or says “Registration failed”
>
> The browser cannot register with Vobiz. Allow WebSocket traffic to `registrar.vobiz.ai:5063`. In SIP direct mode, check the username and password in Console → Endpoints.

> [accordion] The panel says “Registration refused” with a code from 10001 to 10010
>
> The Vobiz registrar refused the access token, and the panel has already retried. The message names the reason, such as `ACCESS_TOKEN_EXPIRED` (10006). Sign in again. If it keeps happening, contact Vobiz support with the code.

> [accordion] Calls fail at once and nothing appears in the backend log
>
> Vobiz cannot reach `/answer`. Run the `curl` check from [Set up](#set-up) from outside your network. If your tunnel hostname changed, update `PUBLIC_BASE` and **Backend URL**, restart the backend and sign in again.

> [accordion] The badge drops to SIGNED OUT with “Please sign in again”
>
> The backend restarted, the 12-hour session expired, or you signed in as the same agent elsewhere. Sign in again. The panel checks its session every minute and on every request.

> [accordion] The customer's phone never rings
>
> The backend log shows `bleg=(none …)`: the destination is unreachable, or the caller ID is not a number on this Vobiz account. Check the number format (`+91XXXXXXXXXX`) and your caller ID. The [CDR](https://www.vobiz.ai/docs/cdr/get-cdr.md) shows how the call ended.

> [accordion] The call connects but nobody hears anything
>
> The microphone is blocked, or the network blocks WebRTC media. Allow the microphone for Zendesk, and try another network - STUN (`stun.l.google.com:19302`) must be reachable.

> [accordion] Inbound calls never ring the panel
>
> The number is on another application, or no agent is signed in. Click **Enable inbound calls** with that number selected, and keep the panel open and **READY**.

> [accordion] Clicking a phone number in Zendesk does nothing
>
> Zendesk's click-to-dial event needs Talk Partner Edition. Use **Call requester** in the ticket sidebar, or type the number in the panel.

> [accordion] Outbound calls create a new ticket instead of using the open one
>
> No ticket was open when the call started. Open the ticket first, then call - for example with **Call requester**. Inbound calls always create a new ticket.

> [accordion] A recording link says it is invalid, expired, or that the backend restarted
>
> “Invalid or has expired”: the link is older than its time limit, or `SIGNING_SECRET` changed - set a fixed secret. “The calling backend restarted since this link was made”: sign in to the panel with that Vobiz account, then open the link again.

> [accordion] An agent keeps getting signed out
>
> The same Zendesk agent is signed in to the panel in another tab or browser. Each new sign-in ends that agent's older one. Use one panel at a time.

## Operating notes

* **Sign in again after the backend restarts.** Auth Tokens and sessions live in memory only. Sessions also expire after 12 hours. The panel shows **SIGNED OUT** when this happens.
* **Run one backend instance.** Each instance keeps its own state.
* **Use one panel per agent at a time.** Signing in again elsewhere signs the older panel out.
* **Treat the Auth ID and Auth Token as agent access.** The backend binds each session to the Zendesk user ID the panel reports, and anyone with the Vobiz Auth ID and Auth Token can sign in as any agent. Share them only with people who should have that access.
* **Inbound rings every signed-in agent** of the Vobiz account together.
* **Agents call from the browser.**
* **Every call is recorded,** up to one hour. Calls can run for up to four hours.
* **A Vobiz account sign-in** gives you recordings, the caller-ID dropdown, **Enable inbound calls** and recording links in ticket notes.
* **Click-to-dial on any phone number uses Talk Partner Edition.** On other plans, use **Call requester** or the panel.
* **The panel's recordings list** shows calls this backend handled since it last started. Ticket recording links keep working.
* **You host the backend.** The Marketplace app is the panel, and it connects to the backend you run.

## Next steps

> [card] [Source code](https://github.com/vobiz-ai/Vobiz-Zendesk-Calling)
>
> The Zendesk app and the backend, with the full README.

> [card] [Endpoints](https://www.vobiz.ai/docs/endpoint.md)
>
> How Vobiz SIP endpoints work.

> [card] [Dial XML](https://www.vobiz.ai/docs/xml/dial.md)
>
> The call instructions the backend returns.

> [card] [Freshdesk](https://www.vobiz.ai/docs/integrations/freshdesk.md)
>
> The same softphone for Freshdesk.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.