# Vonage

> Send calls from your Vonage Voice API numbers into Ours Privacy as call events, with the caller's number, the tracking number dialed, and the call length.

Source: https://docs.oursprivacy.com/docs/vonage

Use this page to send calls from your Vonage numbers into Ours Privacy. Vonage reports every call to one URL, and the Vonage source turns each finished inbound call into a `call_tracked` event with the caller's number, the Vonage number they dialed, and how long the call lasted. The source arrives with its mapping set up, so no code is required.

---

## Before you start

- Vonage numbers linked to a Vonage Voice API application, for example one number per campaign that forwards to your front desk.
- Access to that application in the Vonage dashboard, or the person who manages it (often your developer or call tracking agency).

---

## Setup

### 1. Create the source in Ours Privacy

1. Open [Sources](https://app.oursprivacy.com/sources) in the Ours Privacy dashboard.
2. Click **Add source**.
3. Select **Vonage**.
4. On the source's **Settings** tab, copy the **Webhook URL**.

Anyone with the URL can send events to this source, so share it only with whoever manages your Vonage application. If it leaks, create a new Vonage source and disable the old one.

### 2. Set the event URL in Vonage

1. In the Vonage dashboard, open **Applications** and edit the application your numbers are linked to.
2. Under **Voice**, paste the Ours Privacy Webhook URL as the **Event URL** and keep the method as **POST**.
3. Save the application.

Every number linked to the application now reports its calls to Ours Privacy. If your application already uses its event URL for its own call handling, have your developer forward Vonage's call events to the Ours Privacy URL instead of replacing it.

### 3. Allow the event at your destinations

Add `call_tracked` to the [allowed events](https://docs.oursprivacy.com/docs/allow-listing-events) of each destination that should receive calls.

---

## How calls are mapped

The source comes with a **Vonage Call** mapping. Each finished inbound call arrives once, as `call_tracked`, carrying the caller's number on the visitor and the Vonage number they dialed. The call joins a visitor whose number you already have with its country code (from a form, for example), and a separate number per campaign tells you which campaign drove the call.

Calls show up in the [Calls report](https://docs.oursprivacy.com/docs/standard-healthcare-events#the-calls-report). You can add or change fields in the source's mapping like any other source; see [Data mapping](https://docs.oursprivacy.com/docs/data-mapping).

---

## Test your integration

Call one of your Vonage numbers and hang up after a few seconds. Open the source's **Preview Data** panel to see the call, then check [Recent Events](https://docs.oursprivacy.com/docs/tracking-and-debugging-events) for the `call_tracked` event.

---

## Next steps

- [Visitor Identity and Matching](https://docs.oursprivacy.com/docs/visitor-identity-and-matching): how a call joins an earlier website visit.
- [Standard Healthcare Events](https://docs.oursprivacy.com/docs/standard-healthcare-events): the properties a `call_tracked` event can carry.
- [Webhooks](https://docs.oursprivacy.com/docs/webhooks): how webhook sources and mappings work.

---

## Need help?

Contact [support@oursprivacy.com](mailto:support@oursprivacy.com) if calls are not showing up in Ours Privacy.
