---
title: "WhatsApp API Reseller Program | D-API"
description: "Resell WhatsApp API connections from your own operation: per-connection margin, dozens of numbers in one dashboard, API provisioning and predictable pricing."
url: https://d-api.cloud/en/whatsapp-api-reseller
---

Use case · Resellers

# Resell WhatsApp API with per-connection margin and centralized provisioning

You serve your client base on the fly, with numbers spread across separate accounts and costs that spike with every new client. With D-API you resell WhatsApp API connections from your own operation, provision everything in a single dashboard and lock in a predictable price per connection as you scale.

-   Uptime: 99.9%
-   Billing: Per connection
-   Dashboard: Centralized

## Talk to our team

See how D-API fits into your product. Support in English, and we reply within 1 business day.

Short answer

## How do you resell a WhatsApp API to your client base?

You buy connections from D-API and resell each WhatsApp connection to your clients, keeping the commercial relationship and the margin. Connections are created through the REST API, with one POST per client, and managed in a single dashboard, each isolated with its own proxy and IP. Billing is per active connection, with no per-message fees, and the price per connection drops as your client base grows.

The problem

## You shouldn't be solving this.

Problems D-API takes off your plate.

1.  ### Every new client becomes a loose account
    
    You open numbers in different places, with no single view, and waste time hunting for credentials every time you need to support or pause a connection.
    
2.  ### Unpredictable costs as your base grows
    
    Per-message pricing climbs out of control and eats your margin right when you scale the most. You cannot even price your resale properly.
    
3.  ### Provisioning a number is always manual
    
    Every onboarding depends on you clicking, configuring and waiting. You cannot sell fast or deliver on the spot when a client signs.
    

How it works

## From zero to production in four steps.

1.  ### Talk to sales
    
    Align your WhatsApp API resale model and the price per connection with the size of your client base.
    
2.  ### Centralize your numbers
    
    Bring your connections into a single dashboard and provision one isolated instance per client, with a dedicated proxy and its own IP.
    
3.  ### Automate provisioning
    
    Connect the REST API to your operation and create instances with a POST on every sale.
    
    [Read the docs](https://docs.d-api.cloud/)
    
4.  ### Resell with a predictable margin
    
    Bill your client base and keep the margin on each resold connection, while the price per connection drops as you scale.
    
    [See pricing](https://d-api.cloud/en/pricing)
    

Node.jscURLPythonPHP

```
import { DApi } from 'd-api-sdk'

const dapi = new DApi({ apiKey: process.env.DAPI_API_KEY })

await dapi.sessions.create({
  sessionId: 'customer-42',
  webhookUrl: 'https://your-app.com/webhooks/whatsapp',
})

const { qrCodeImage } = await dapi.sessions.getQRCode('customer-42')

// once the number scans the QR code
await dapi.messages.sendText({
  sessionId: 'customer-42',
  to: '14155550123',
  text: 'Your order is confirmed!',
})
```

```
curl -X POST https://api.d-api.cloud/api/v1/sessions \
  -H "Authorization: $DAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sessionId": "customer-42", "webhookUrl": "https://your-app.com/webhooks/whatsapp"}'

curl https://api.d-api.cloud/api/v1/sessions/customer-42/qr \
  -H "Authorization: $DAPI_API_KEY"

# once the number scans the QR code
curl -X POST https://api.d-api.cloud/api/v1/messages/send/text \
  -H "Authorization: $DAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sessionId": "customer-42", "to": "14155550123", "text": "Your order is confirmed!"}'
```

```
import os
import requests

API = "https://api.d-api.cloud/api/v1"
HEADERS = {"Authorization": os.environ["DAPI_API_KEY"]}

requests.post(f"{API}/sessions", headers=HEADERS, timeout=10, json={
    "sessionId": "customer-42",
    "webhookUrl": "https://your-app.com/webhooks/whatsapp",
})

qr = requests.get(f"{API}/sessions/customer-42/qr", headers=HEADERS, timeout=10).json()

# once the number scans the QR code
requests.post(f"{API}/messages/send/text", headers=HEADERS, timeout=10, json={
    "sessionId": "customer-42",
    "to": "14155550123",
    "text": "Your order is confirmed!",
})
```

```
<?php
use GuzzleHttp\Client;

$dapi = new Client([
    'base_uri' => 'https://api.d-api.cloud/api/v1/',
    'headers'  => ['Authorization' => getenv('DAPI_API_KEY')],
    'timeout'  => 10,
]);

$dapi->post('sessions', ['json' => [
    'sessionId'  => 'customer-42',
    'webhookUrl' => 'https://your-app.com/webhooks/whatsapp',
]]);

$qr = json_decode($dapi->get('sessions/customer-42/qr')->getBody(), true);

// once the number scans the QR code
$dapi->post('messages/send/text', ['json' => [
    'sessionId' => 'customer-42',
    'to'        => '14155550123',
    'text'      => 'Your order is confirmed!',
]]);
```

### Works with the tools you already use

-   REST API
-   Webhooks
-   Node.js SDK
-   Swagger
-   Dedicated proxy

What you get

## Resell WhatsApp API under your own operation.

-   ### Resell connections from your operation
    
    You sell WhatsApp connections to your own client base and keep the margin on each resold connection. The client relationship is yours.
    
-   ### Centralized provisioning
    
    Manage dozens of numbers in a single dashboard, with no scattered accounts. One view of everything you resell.
    
-   ### Per-connection price that drops at scale
    
    Billing per active instance: the price per WhatsApp connection goes down the more instances you have, with no per-message fees. Predictable cost so you can price your resale.
    
-   ### Provision via API with one POST
    
    Create, connect, pause and delete instances via REST API. Provision a number per client the moment the deal closes, with no manual process.
    
-   ### Real isolation between clients
    
    Multiple isolated instances, one instance per number, with a dedicated proxy and its own IP per connection to reduce bans.
    
-   ### Onboarding and high availability
    
    Dedicated onboarding in a WhatsApp group and 24/7 self-healing with 99.9% uptime, so you do not become an infrastructure help desk.
    

FAQ

## Frequently asked questions.

### How does WhatsApp API resale work at D-API?

You buy connections from D-API and resell those WhatsApp connections to your own client base. The commercial relationship with the end client is yours, and you keep the margin on each resold connection. D-API provides the infrastructure underneath: isolated instances, API provisioning and high availability.

### How much does it cost to resell the WhatsApp API?

The model is priced per connection, with billing per active instance. The price per connection drops the more instances you have, so cost follows the growth of your client base predictably. There are no per-message fees. Talk to sales to align pricing with your scale.

### Can I provision numbers automatically for each client?

Yes. You create, connect, pause and delete instances via REST API. In practice, you can provision a new number per client with a single POST as soon as the sale closes, with no manual process. The API is documented in Swagger (OpenAPI 3) and there is an official Node.js SDK.

### Are clients isolated from each other?

Yes. Each number runs in an isolated instance, one instance per number, with real isolation between clients. Each connection also has a dedicated proxy and its own IP, which reduces the risk of bans and keeps one client from affecting another.

### Does D-API offer a single dashboard to manage everything?

Yes. Provisioning is centralized: you manage dozens of numbers in a single dashboard, with no scattered accounts. There are also webhooks with automatic retries, 24/7 self-healing with 99.9% uptime and dedicated onboarding in a WhatsApp group to get your resale operation live.

## Related guides

-   [For agencies](https://d-api.cloud/en/whatsapp-api-for-agencies)
-   [For dev agencies](https://d-api.cloud/en/whatsapp-api-for-dev-agencies)
-   [Multiple numbers](https://d-api.cloud/en/whatsapp-api-multiple-numbers)
-   [WhatsApp API pricing](https://d-api.cloud/en/whatsapp-api-pricing)

## Ready to go to production?

3-day free trial with full access. No credit card, no lock-in.

[Talk to sales](https://d-api.cloud/#lead)[See pricing](https://d-api.cloud/en/pricing)
