Help Center Partnerský program a sledovanie odporúčaní aplikácií

Partnerský program a sledovanie odporúčaní aplikácií

SMSBAT ponúka špecializovanú referenčnú infraštruktúru, ktorá umožňuje vývojárom, partnerským agentúram a dodávateľom softvéru speňažiť ich integrácie, CRM aplikácie a riešenia SaaS.


1. Prehľad speňaženia pre partnerov

Keď vaša aplikácia (napríklad plugin pre Shopify, modul WooCommerce, aplikácia Bitrix24, rozšírenie Planfix alebo vlastný softvér) odosiela správy cez SMSBAT, platforma sleduje a zaznamenáva všetok objem odoslaných správ spojený s vaším jedinečným referralGuid.

Ako fungujú partnerské zárobky:

  1. Jedinečný referenčný endpoint: Každá partnerská aplikácia dostane jedinečný referralGuid.
  2. Automatické sledovanie objemu: Všetky odchádzajúce správy (SMS, Viber, RCS) odoslané cez /bat/{referralGuid}/messagelist sa pripíšu na váš partnerský účet.
  3. Podiel na tržbách / provízia: Získavate percentuálnu províziu z každej správy odoslanej klientmi, ktorí používajú vašu integráciu.

2. Technická integrácia (API endpoint)

Partnerské aplikácie odosielajú správy odovzdaním svojho referralGuid v ceste URL API. Endpoint podporuje HTTP Basic Authentication aj API Key Authentication (X-Authorization-Key).

Endpoint

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

Možnosť 1: Príklad s 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"

Možnosť 2: Príklad s hlavičkou API kľúča

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.