पार्टनर कार्यक्रम र एप रेफरल ट्र्याकिङ
SMSBAT ले समर्पित रेफरल पूर्वाधार प्रदान गर्छ, जसले डेभलपरहरू, एजेन्सी पार्टनरहरू र सफ्टवेयर विक्रेताहरूलाई आफ्ना एकीकरणहरू, CRM एपहरू र SaaS समाधानहरूबाट आम्दानी गर्न सक्षम बनाउँछ।
1. पार्टनर मुद्रीकरणको अवलोकन
जब तपाईंको एप्लिकेसन (जस्तै Shopify प्लगइन, WooCommerce मोड्युल, Bitrix24 एप, Planfix एक्सटेन्सन, वा कस्टम सफ्टवेयर) SMSBAT मार्फत सन्देशहरू पठाउँछ, प्लेटफर्मले तपाईंको अद्वितीय referralGuid सँग जोडिएका सबै सन्देशको पठाइएको मात्रा ट्र्याक र रेकर्ड गर्छ।
पार्टनरको आम्दानी कसरी काम गर्छ:
- अद्वितीय रेफरल एन्डपोइन्ट: प्रत्येक पार्टनर एप्लिकेसनले एउटा अद्वितीय
referralGuidपाउँछ। - स्वचालित भोल्युम ट्र्याकिङ:
/bat/{referralGuid}/messagelistमार्फत पठाइएका सबै आउटबाउन्ड सन्देशहरू (SMS, Viber, RCS) तपाईंको पार्टनर खातामा जम्मा हुन्छन्। - राजस्व साझेदारी / कमिसन: तपाईंको एकीकरण प्रयोग गर्ने ग्राहकहरूले पठाएको प्रत्येक सन्देशमा तपाईंले प्रतिशत कमिसन कमाउनुहुन्छ।
2. प्राविधिक एकीकरण (API एन्डपोइन्ट)
पार्टनर एप्लिकेसनहरूले API URL पाथमा आफ्नो referralGuid पठाएर सन्देशहरू पठाउँछन्। एन्डपोइन्टले HTTP Basic Authentication र API Key Authentication (X-Authorization-Key) दुवै समर्थन गर्छ।
एन्डपोइन्ट
POST https://restapi.smsbat.com/bat/{referralGuid}/messagelist
विकल्प 1: HTTP Basic Authentication उदाहरण
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"
विकल्प 2: API Key हेडर उदाहरण
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.