Help Center ޕާޓްނަރ ޕްރޯގްރާމާއި އެޕް ރެފަރަލް ޓްރެކިންގ

ޕާޓްނަރ ޕްރޯގްރާމާއި އެޕް ރެފަރަލް ޓްރެކިންގ

SMSBAT އިން ޑިވެލޮޕަރުންނާއި އޭޖެންސީ ޕާޓްނަރުންނާއި ސޮފްޓްވެއަރ ވެންޑަރުންނަށް އެމީހުންގެ އިންޓެގްރޭޝަންތަކާއި CRM އެޕްތަކާއި SaaS ހައްލުތަކުން އާމްދަނީ ހޯދުމުގެ ފުރުޞަތު ލިބޭ ވަކި ރެފަރަލް އިންފްރާސްޓްރަކްޗަރެއް ފޯރުކޮށްދެއެވެ.


1. ޕާޓްނަރ މޮނެޓައިޒޭޝަނުގެ ޚުލާސާ

ތިޔަބޭފުޅުންގެ އެޕްލިކޭޝަނުން (މިސާލަކަށް Shopify ޕްލަގިން، WooCommerce މޮޑިއުލް، Bitrix24 އެޕް، Planfix އެކްސްޓެންޝަން، ނުވަތަ ކަސްޓަމް ސޮފްޓްވެއަރ) SMSBAT ގެ ތެރެއިން މެސެޖު ފޮނުވުމުން، ޕްލެޓްފޯމުން ތިޔަބޭފުޅުންގެ ޔުނިކް referralGuid އާ ގުޅޭ ފޮނުވި މެސެޖުގެ ހުރިހާ ވޮލިއުމެއް ފާހަގަކޮށް ރެކޯޑު ކުރެއެވެ.

ޕާޓްނަރު އާމްދަނީ ލިބޭ ގޮތް:

  1. ޔުނިކް ރެފަރަލް އެންޑްޕޮއިންޓް: ކޮންމެ ޕާޓްނަރ އެޕްލިކޭޝަނަކަށް ޔުނިކް referralGuid އެއް ލިބެއެވެ.
  2. އޮޓޮމެޓިކް ވޮލިއުމް ޓްރެކިންގ: /bat/{referralGuid}/messagelist ގެ ތެރެއިން ފޮނުވާ ހުރިހާ އައުޓްބައުންޑް މެސެޖުތައް (SMS، Viber، RCS) ތިޔަބޭފުޅުންގެ ޕާޓްނަރ އެކައުންޓަށް ގުނެވެއެވެ.
  3. އާމްދަނީ ބެހުން / ކޮމިޝަން: ތިޔަބޭފުޅުންގެ އިންޓެގްރޭޝަން ބޭނުންކުރާ ކްލައިންޓުން ފޮނުވާ ކޮންމެ މެސެޖަކުން ޕަސެންޓެޖެއްގެ ގޮތުން ކޮމިޝަން ލިބެއެވެ.

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.