Help Center Clár Comhpháirtithe agus Rianú Tagartha Aipe

Clár Comhpháirtithe agus Rianú Tagartha Aipe

Cuireann SMSBAT bonneagar tagartha tiomnaithe ar fáil a ligeann d’fhorbróirí, do chomhpháirtithe gníomhaireachta agus do dhíoltóirí bogearraí a gcomhtháthuithe, a n-aipeanna CRM agus a réitigh SaaS a chur ar airgead.


1. Forbhreathnú ar Airgeadú Comhpháirtithe

Nuair a sheolann d’fheidhmchlár (amhail breiseán Shopify, modúl WooCommerce, aip Bitrix24, síneadh Planfix, nó bogearraí saincheaptha) teachtaireachtaí trí SMSBAT, rianaíonn agus taifeadann an t-ardán an méid teachtaireachtaí go léir a seoladh a bhaineann le do referralGuid uathúil.

Conas a oibríonn ioncam comhpháirtithe:

  1. Críochphointe tagartha uathúil: Faigheann gach feidhmchlár comhpháirtí referralGuid uathúil.
  2. Rianú uathoibrithe méide: Creidiúnaítear do chuntas comhpháirtí leis na teachtaireachtaí amach go léir (SMS, Viber, RCS) a sheoltar trí /bat/{referralGuid}/messagelist.
  3. Roinnt ioncaim / coimisiún: Gnóthaíonn tú coimisiún céatadánach ar gach teachtaireacht a sheolann cliaint a úsáideann do chomhtháthú.

2. Comhtháthú Teicniúil (Críochphointe API)

Seolann feidhmchláir chomhpháirtithe teachtaireachtaí trína referralGuid a chur ar aghaidh i gcosán URL an API. Tacaíonn an críochphointe le fíordheimhniú HTTP Basic agus le fíordheimhniú Eochair API (X-Authorization-Key) araon.

Críochphointe

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

Rogha 1: Sampla Fíordheimhnithe HTTP Basic

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"

Rogha 2: Sampla Ceanntásc Eochrach 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.