Programi i partnerëve dhe gjurmimi i referimeve të aplikacioneve
SMSBAT ofron një infrastrukturë të dedikuar referimi që u lejon zhvilluesve, partnerëve të agjencive dhe shitësve të softuerit të monetizojnë integrimet, aplikacionet CRM dhe zgjidhjet e tyre SaaS.
1. Përmbledhje e monetizimit për partnerët
Kur aplikacioni juaj (si një plugin Shopify, modul WooCommerce, aplikacion Bitrix24, shtesë Planfix ose softuer i personalizuar) dërgon mesazhe përmes SMSBAT, platforma gjurmon dhe regjistron të gjithë volumin e mesazheve të dërguara të lidhur me referralGuid tuaj unik.
Si funksionojnë fitimet e partnerëve:
- Endpoint unik referimi: Çdo aplikacion partneri merr një
referralGuidunik. - Gjurmim i automatizuar i volumit: Të gjitha mesazhet dalëse (SMS, Viber, RCS) të dërguara përmes
/bat/{referralGuid}/messagelistkreditohen në llogarinë tuaj të partnerit. - Ndarje e të ardhurave / Komision: Fitoni një komision në përqindje për çdo mesazh të dërguar nga klientët që përdorin integrimin tuaj.
2. Integrimi teknik (endpoint-i API)
Aplikacionet e partnerëve dërgojnë mesazhe duke e kaluar referralGuid të tyre në rrugën e URL-së së API-së. Endpoint-i mbështet si HTTP Basic Authentication ashtu edhe API Key Authentication (X-Authorization-Key).
Endpoint
POST https://restapi.smsbat.com/bat/{referralGuid}/messagelist
Opsioni 1: Shembull me 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"
Opsioni 2: Shembull me header-in e çelësit API
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.