กลับหน้าหลัก Back to Home ราคาและแพ็กเกจ Pricing & Plans

คู่มือการใช้งาน NotiPush Sender

NotiPush Sender Guide

สำหรับเจ้าของธุรกิจ นักพัฒนา หรือผู้ที่ต้องการส่งแจ้งเตือน

For business owners, developers, and notification senders.

1. การเข้าสู่ระบบ

1. Sign In

เข้าใช้งานผ่านเว็บเบราว์เซอร์และใช้บัญชี Google เพื่อความปลอดภัย ระบบจะเก็บ Token ของคุณไว้ 6 เดือนเพื่อให้คุณใช้งานได้สะดวกโดยไม่ต้องล็อกอินใหม่ทุกครั้ง

Access via web browser using your Google account. Your session remains active for 6 months for your convenience.

2. การสร้าง Sender

2. Creating a Sender

Sender เปรียบเสมือน "ช่องทาง" หรือ "หัวข้อ" ของคุณ (เช่น "โปรโมชั่น", "แจ้งข่าวสาร")

A Sender represents your "channel" or "topic" (e.g., "Promotions", "News Updates").

  • กดปุ่มเครื่องหมายบวก (+) เพื่อเริ่มการสร้าง
  • Click the plus (+) button to start.
  • กำหนดชื่อ และอัปโหลดไอคอนเพื่อให้ผู้ใช้จำแบรนด์ของคุณได้
  • Set a name and upload an icon for brand recognition.
  • 3. การจัดการ Token

    3. Token Management

    เมื่อสร้าง Sender เสร็จ คุณจะได้รับรหัส 2 ประเภท:

    Once created, you will receive two types of tokens:

    Notify Token:

    รหัสสาธารณะสำหรับให้ผู้ใช้นำไปใส่ในแอป Receiver หรือสแกน QR Code เพื่อติดตามคุณ

    Public token for users to subscribe via the Receiver app or QR Code.


    Sender Token:

    ความลับสูงสุด! ใช้สำหรับใส่ใน Backend/Server ของคุณเพื่อส่งข้อความผ่าน API ห้ามเปิดเผยให้ผู้อื่นเด็ดขาด

    Top Secret! Use this in your Backend/Server to send messages via API. Never share this with anyone.

    4. การส่งการแจ้งเตือน

    4. Sending Notifications

    คุณสามารถส่งผ่านแอปโดยตรง (Test Notification) หรือส่งผ่าน API จากระบบของคุณเอง

    You can send directly from the app (Test Notification) or via API from your own system.

    การส่งแจ้งเตือนจากระบบอื่น (API Guide)

    Sending from other systems (API Guide)

    ใหม่! ดูคู่มือ API ฉบับเต็มพร้อมตัวอย่างหลายภาษา:

    NEW! View full API guide with multi-language examples:

    ไปที่หน้าคู่มือ API Go to API Guide Page

    เรียกใช้งานผ่าน HTTP POST ไปยัง URL ของระบบพร้อมแนบ Sender Token ของคุณ

    Make an HTTP POST request to the system URL with your Sender Token.

    Endpoint URL
    https://notipush.app/api/send-push
    cURL Example
    curl -X POST "https://notipush.app/api/send-push" \ -H "Content-Type: application/json" \ -d '{ "sender_token": "YOUR_SENDER_TOKEN", "title": "Hello from API", "body": "This is the message body (optional)", "target_id": "user-123" }'
    PHP Example
    <?php $payload = [ "sender_token" => 'YOUR_SENDER_TOKEN', "title" => "Hello from API", "body" => "This is the message body (optional)", "target_id" => "user-123" ]; $ch = curl_init("https://notipush.app/api/send-push"); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_HTTPHEADER => ["Content-Type: application/json"], CURLOPT_POSTFIELDS => json_encode($payload), ]); $response = curl_exec($ch); ?>
    Python Example
    import requests payload = { "sender_token": "YOUR_SENDER_TOKEN", "title": "Hello from API", "body": "This is the message body (optional)", "target_id": "user-123" } resp = requests.post("https://notipush.app/api/send-push", json=payload) print(resp.status_code)
    JavaScript (Fetch)
    const payload = { sender_token: "YOUR_SENDER_TOKEN", title: "Hello from API", body: "This is the message body (optional)", target_id: "user-123" }; fetch("https://notipush.app/api/send-push", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(payload), });

    5. ดูสถิติ (Analytics)

    5. Analytics

    ตรวจสอบจำนวนการส่งสำเร็จ ล้มเหลว และจำนวนอุปกรณ์ที่ติดตามคุณได้ตลอดเวลาผ่านหน้า Dashboard

    Track successful deliveries, failures, and the number of subscribers in real-time on your Dashboard.