Help Center Ortaklık Programı ve Uygulama Yönlendirme Takibi

Ortaklık Programı ve Uygulama Yönlendirme Takibi

SMSBAT, geliştiricilerin, ajans ortaklarının ve yazılım sağlayıcılarının entegrasyonlarından, CRM uygulamalarından ve SaaS çözümlerinden gelir elde etmesini sağlayan özel bir yönlendirme altyapısı sunar.


1. Ortak gelir modeline genel bakış

Uygulamanız (bir Shopify eklentisi, WooCommerce modülü, Bitrix24 uygulaması, Planfix uzantısı veya özel yazılım gibi) SMSBAT üzerinden mesaj gönderdiğinde, platform benzersiz referralGuid değerinize bağlı tüm mesaj hacmini izler ve kaydeder.

Ortak kazançları nasıl işler:

  1. Benzersiz yönlendirme uç noktası: Her ortak uygulama benzersiz bir referralGuid alır.
  2. Otomatik hacim takibi: /bat/{referralGuid}/messagelist üzerinden gönderilen tüm giden mesajlar (SMS, Viber, RCS) ortak hesabınıza yansıtılır.
  3. Gelir paylaşımı / komisyon: Entegrasyonunuzu kullanan müşterilerin gönderdiği her mesaj için yüzde olarak komisyon kazanırsınız.

2. Teknik entegrasyon (API uç noktası)

Ortak uygulamalar, referralGuid değerini API URL yoluna ekleyerek mesaj gönderir. Uç nokta hem HTTP Basic Authentication hem de API Key Authentication (X-Authorization-Key) yöntemlerini destekler.

Uç nokta

POST https://restapi.smsbat.com/bat/{referralGuid}/messagelist

Seçenek 1: HTTP Basic Authentication örneği

curl -i -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Basic base64(login:password)" \
  -d '{
    "messages": [
      {
        "from": "Shopillect",
        "to": "380936670003",
        "type": "sms",
        "text": "Your order confirmation from Shopillect",
        "ttl": "120"
      }
    ]
  }' \
  "https://restapi.smsbat.com/bat/34e19d34-abef-4acd-8c94-bd38c0a543fd/messagelist"

Seçenek 2: API anahtarı başlığı örneği

curl -i -X POST \
  -H "Content-Type: application/json" \
  -H "X-Authorization-Key: your-api-key" \
  -d '{
    "messages": [
      {
        "from": "Shopillect",
        "to": "380936670003",
        "type": "sms",
        "text": "Your order confirmation from Shopillect",
        "ttl": "120"
      }
    ]
  }' \
  "https://restapi.smsbat.com/bat/34e19d34-abef-4acd-8c94-bd38c0a543fd/messagelist"

---

## 3. Request Parameters

| Parameter | Type | Description |
|---|---|---|
| `{referralGuid}` | `string (guid)` | Path parameter holding your partner application referral GUID |
| `messages` | `array` | List of message payloads |
| `from` | `string` | Sender Alpha Name |
| `to` | `string` | Recipient phone number in E.164 format |
| `type` | `string` | Message type (`sms`, `viber_promo`, `viber_trans`, `rcs`, `flashcall`) |
| `text` | `string` | Message body text |
| `ttl` | `string/int` | Time-to-live in seconds |

---

## 4. How to Join the Partner Program

1. Register a partner account at SMSBAT.
2. Generate or request your unique **`referralGuid`** for your integration.
3. Configure your application's API requests to use `https://restapi.smsbat.com/bat/{referralGuid}/messagelist`.
4. Monitor message traffic, volume analytics, and your referral commission payouts inside the SMSBAT Partner Dashboard.