---
title: "ส่ง SMS | Tajo"
description: "ส่งข้อความ SMS แบบ transactional สำหรับการแจ้งเตือนโปรแกรมสะสมคะแนนและการสร้างการมีส่วนร่วมกับลูกค้า"
url: https://tajo.io/th/docs/messaging-api/transactional-sms/send-sms/
markdown: https://tajo.io/th/docs/messaging-api/transactional-sms/send-sms.md
lang: th-TH
author: "Set Noa"
author_url: https://tajo.io/th/set-noa/
robots: noindex
---

ขอสิทธิ์ใช้งานล่วงหน้า

กรอกชื่อและที่อยู่อีเมลที่ทำงานของคุณ เราจะส่งลิงก์เพื่อยืนยันคำขอเข้าใช้งาน Tajo ทางอีเมล

# ส่ง SMS

[Set Noa](https://tajo.io/th/set-noa/)

ส่งข้อความ SMS ที่ปรับให้เหมาะกับแต่ละบุคคลไปยังลูกค้า สำหรับการอัปเดตโปรแกรมสะสมคะแนน การแจ้งเตือนออเดอร์ และข้อเสนอที่มีระยะเวลาจำกัด

## เริ่มต้นอย่างรวดเร็ว

### คำขอส่ง SMS พื้นฐาน

```http
POST https://api.brevo.com/v3/transactionalSMS/sms
Content-Type: application/json
api-key: YOUR_API_KEY

{
  "type": "transactional",
  "unicodeEnabled": false,
  "sender": "TajoLoyalty",
  "recipient": "+1234567890",
  "content": "Hi John! You've earned 150 points from your recent purchase. Your total: 1,250 points. Redeem at tajo.com/rewards"
}
```

### การตอบกลับ

```json
{
  "reference": "sms_abc123",
  "messageId": "msg_def456"
}
```

## เทมเพลต SMS สำหรับโปรแกรมสะสมคะแนน

### การแจ้งเตือนเมื่อได้รับคะแนน

```json
{
  "type": "transactional",
  "sender": "TajoRewards",
  "recipient": "+1234567890",
  "content": "🎉 Great news {{contact.FIRSTNAME}}! You earned {{params.pointsEarned}} points from order #{{params.orderNumber}}. Total: {{params.totalPoints}} points. Shop more at {{params.storeUrl}}",
  "params": {
    "pointsEarned": "200",
    "orderNumber": "ORD-2024-001",
    "totalPoints": "1,450",
    "storeUrl": "shop.tajo.com"
  }
}
```

### การแจ้งเตือนเลื่อนระดับชั้น

```json
{
  "content": "🌟 Congratulations {{contact.FIRSTNAME}}! You've been upgraded to {{params.newTier}} status! Enjoy {{params.benefits}}. Your new point balance: {{params.totalPoints}}",
  "params": {
    "newTier": "Gold",
    "benefits": "free shipping & exclusive offers",
    "totalPoints": "2,500"
  }
}
```

### การยืนยันการแลกรางวัล

```json
{
  "content": "✅ Reward redeemed! {{params.rewardName}} - {{params.pointsUsed}} points used. Coupon: {{params.couponCode}} (expires {{params.expiryDate}}). Remaining: {{params.remainingPoints}} points",
  "params": {
    "rewardName": "20% Off",
    "pointsUsed": "1000",
    "couponCode": "SAVE20NOW",
    "expiryDate": "Mar 15",
    "remainingPoints": "450"
  }
}
```

### การอัปเดตสถานะออเดอร์

```json
{
  "content": "📦 Your order #{{params.orderNumber}} has {{params.status}}! {{params.details}} Track: {{params.trackingUrl}}",
  "params": {
    "orderNumber": "ORD-2024-001",
    "status": "shipped",
    "details": "Arriving in 2-3 business days",
    "trackingUrl": "track.tajo.com/ORD-2024-001"
  }
}
```

## SMS แคมเปญที่ปรับให้เหมาะกับแต่ละบุคคล

### ข้อเสนอพิเศษวันเกิด

```json
{
  "type": "marketing",
  "sender": "TajoBday",
  "recipient": "+1234567890",
  "content": "🎂 Happy Birthday {{contact.FIRSTNAME}}! Here's a special gift: {{params.birthdayBonus}} bonus points + {{params.discountCode}} for {{params.discountAmount}} off! Valid until {{params.expiryDate}}",
  "params": {
    "birthdayBonus": "500",
    "discountCode": "BIRTHDAY25",
    "discountAmount": "25%",
    "expiryDate": "end of month"
  }
}
```

### การกู้คืนตะกร้าสินค้าที่ถูกทิ้ง

```json
{
  "content": "🛒 Hi {{contact.FIRSTNAME}}, you left {{params.itemCount}} items in your cart worth {{params.cartValue}}. Complete your purchase and earn {{params.potentialPoints}} points! Continue: {{params.cartUrl}}",
  "params": {
    "itemCount": "3",
    "cartValue": "$299.97",
    "potentialPoints": "300",
    "cartUrl": "tajo.com/cart"
  }
}
```

### การแจ้งเตือนแฟลชเซล

```json
{
  "content": "⚡ {{contact.FIRSTNAME}}, FLASH SALE: {{params.saleDetails}}! {{params.loyaltyTier}} members get {{params.bonusPoints}} bonus points! Shop now: {{params.saleUrl}} ({{params.timeLeft}} left)",
  "params": {
    "saleDetails": "50% off electronics",
    "loyaltyTier": "Gold",
    "bonusPoints": "double",
    "saleUrl": "tajo.com/flash",
    "timeLeft": "6 hours"
  }
}
```

## ฟีเจอร์ SMS ขั้นสูง

### SMS จากเทมเพลต

```json
{
  "type": "transactional",
  "templateId": 123,
  "params": {
    "customerName": "John Doe",
    "pointsBalance": "2,350",
    "nextReward": "Free shipping at 2,500 points"
  }
}
```

### SMS ตามกำหนดเวลา

```json
{
  "type": "transactional",
  "sender": "TajoRemind",
  "recipient": "+1234567890",
  "content": "⏰ Reminder: Your {{params.pointsExpiring}} points expire in {{params.daysLeft}} days! Use them at tajo.com/rewards",
  "scheduledAt": "2024-01-30T09:00:00Z",
  "params": {
    "pointsExpiring": "500",
    "daysLeft": "7"
  }
}
```

### การรองรับ Unicode

```json
{
  "type": "transactional",
  "unicodeEnabled": true,
  "content": "🎊 ¡Felicidades {{contact.FIRSTNAME}}! Has ganado {{params.points}} puntos 💎",
  "params": {
    "points": "150"
  }
}
```

## การแบ่งกลุ่มลูกค้าสำหรับแคมเปญ SMS

### การส่งข้อความตามระดับชั้น

```json
{
  "type": "marketing",
  "content": "{{#if contact.LOYALTY_TIER == 'Platinum'}}💎 VIP Alert: Early access to our sale + triple points!{{else}}🌟 Loyalty member: Get double points on your next purchase!{{/if}}",
  "webUrl": "https://tajo.com/sale"
}
```

### SMS ตามพื้นที่เป้าหมาย

```json
{
  "content": "📍 {{contact.FIRSTNAME}}, there's a Tajo store near you! Visit {{params.nearestStore}} and show this text for {{params.inStoreBonus}} bonus points!",
  "params": {
    "nearestStore": "123 Main St, NYC",
    "inStoreBonus": "100"
  }
}
```

## การปฏิบัติตามข้อกำหนดและแนวทางที่ดีที่สุด

### การยืนยันการสมัครรับข้อความ

```json
{
  "type": "transactional",
  "content": "Welcome to Tajo SMS alerts! Reply YES to confirm you want loyalty updates and exclusive offers. Reply STOP to opt out anytime. Msg & data rates may apply."
}
```

### การจัดการการยกเลิกรับข้อความ

```json
{
  "type": "transactional",
  "content": "You've been unsubscribed from Tajo SMS alerts. You'll still receive important order updates. To rejoin, text START. Questions? Visit tajo.io/contact"
}
```

## การจัดการข้อผิดพลาด

```json
{
  "code": "invalid_recipient",
  "message": "Phone number format invalid",
  "details": {
    "recipient": "123-456-7890",
    "expectedFormat": "+1234567890"
  }
}
```

```json
{
  "code": "message_too_long",
  "message": "SMS content exceeds character limit",
  "details": {
    "length": 180,
    "limit": 160,
    "segments": 2
  }
}
```

## การวิเคราะห์ SMS

ติดตามเมตริกสำคัญ

- อัตราการจัดส่ง
- อัตราการคลิกผ่าน สำหรับลิงก์
- อัตราการเปลี่ยนเป็นยอดขาย
- อัตราการยกเลิกรับข้อความ
- คะแนนการมีส่วนร่วมของลูกค้า

## การควบคุมต้นทุน

### การจัดการจำนวนตัวอักษร

```json
{
  "content": "Hi {{contact.FIRSTNAME}}! +{{params.points}}pts from order #{{params.orderNum}}. Total: {{params.total}}pts. tajo.com/rewards",
  "estimatedSegments": 1,
  "characterCount": 89
}
```

### SMS จำนวนมากสำหรับเซกเมนต์

```json
{
  "recipients": [
    {
      "phone": "+1234567890",
      "params": { "name": "John", "points": "150" }
    },
    {
      "phone": "+1234567891",
      "params": { "name": "Jane", "points": "200" }
    }
  ],
  "content": "Hi {{params.name}}! You earned {{params.points}} points!"
}
```

## การเชื่อมต่อกับแพลตฟอร์ม Tajo

1. **การยืนยันออเดอร์**: ส่ง SMS ยืนยันการสั่งซื้อโดยอัตโนมัติ
2. **การแจ้งเตือนคะแนน**: อัปเดตยอดคะแนนสะสมแบบเรียลไทม์
3. **การเปลี่ยนระดับชั้น**: แจ้งเตือนทันทีเมื่อเลื่อนระดับชั้น
4. **การแจ้งเตือนคะแนนหมดอายุ**: เตือนล่วงหน้าก่อนคะแนนหมดอายุ
5. **แคมเปญโปรโมชัน**: ข้อเสนอที่เจาะจงตามพฤติกรรมของลูกค้า

## แนวทางที่ดีที่สุด

1. **เขียนให้สั้น**: SMS มีข้อจำกัดด้านความยาว จึงควรกระชับแต่ยังน่าสนใจ
2. **ปรับให้เหมาะกับแต่ละบุคคล**: ใช้ข้อมูลลูกค้าเพื่อส่งข้อความที่ตรงประเด็น
3. **จังหวะเวลา**: ส่งในช่วงเวลาที่เหมาะที่สุดสำหรับกลุ่มเป้าหมายของคุณ
4. **CTA ที่ชัดเจน**: ระบุขั้นตอนถัดไปหรือลิงก์ให้ชัดเจน
5. **การปฏิบัติตามข้อกำหนด**: ใส่วิธียกเลิกรับข้อความไว้เสมอ
6. **ทดสอบ**: ทดสอบแบบ A/B กับรูปแบบข้อความที่ต่างกัน

## ขั้นตอนถัดไป

- ตั้งค่าเทมเพลต SMS
- กำหนดค่าระบบอัตโนมัติสำหรับ SMS
- จัดการรายชื่อผู้ติดต่อ SMS
- ติดตามการวิเคราะห์ SMS
