# Onboarding links

For booking software vendors and agencies: you hold one Vesper Relay account, and each of your customers connects its own WhatsApp number to it in about two minutes, without a Relay login.

## Flow

1. Create a link with your own reference for the customer.
2. Send the link to the business (e-mail, in your app, during onboarding).
3. The business opens it, runs Meta's Embedded Signup and scans a QR code with its WhatsApp Business app.
4. The number appears in your account with your reference, and your webhook receives `relay.number.connected`.

```
POST /api/v1/onboarding-links
{"label": "Salon Bellevue", "external_ref": "customer-4711", "days": 14}

201 {"id": 5, "url": "https://relay.vesperai.ch/connect/…", "state": "open", "expires_at": "2026-10-22T09:00:00+00:00", ...}
```

Links work once, expire after `days` (1 to 90, default 14), and can be revoked with `DELETE /api/v1/onboarding-links/{id}`. The dashboard has the same under **Links**.

## Lifecycle events

```json
{"object": "relay", "type": "relay.number.connected",
 "data": {"number_id": 3, "display_phone": "+41 79 841 72 47", "verified_name": "Salon Bellevue",
          "phone_number_id": "1234567890", "waba_id": "9876543210", "external_ref": "customer-4711", "coexistence": true}}
```

Then `relay.number.disconnected` when a number is removed and `relay.number.app_inactive` when its WhatsApp Business app has been quiet for 12 days. Map numbers to your customers with `external_ref`, and send with `number_id`.

## Billing

All numbers in the account are billed together at the volume price: CHF 39 each for 1 to 9 numbers, CHF 29 from 10, CHF 19 from 50 ([Pricing](/pricing)). The CHF 5 Starter plan covers a single number only, so an account that connects customer numbers moves to the volume price. Each business pays Meta's message fees through its own WhatsApp Business Account.
