Single SMS

ส่ง SMS ทีละเบอร์

Send

POST https://bulk.smsyouto.com/api/bulk/send

ส่งข้อความหาลูกค้าทันที สามารถกำหนดเบอร์ และ ข้อความ ส่งได้เลย

Headers

Name
Type
Description

Authorization*

String

Bearer API Key

Request Body

Name
Type
Description

phone*

String

เบอร์โทรศัพท์ผู้รับ

message*

String

ข้อความที่ต้องการส่ง

sender*

String

ชื่อผู้ส่ง

{
    "status": 200,
    "message": "send successfully",
    "data": {
        "code": "006",
        "messageid": "16994168351027398",
        "sender": "SMSTOUTOAPI",
        "status": "failure",
        "infomation": "Sender not allowed"
    }
}

เช็ค Log SMS ด้วย MessageID

Log

GET https://bulk.smsyouto.com/api/bulk/log/single/{messageid}

เช็ครายละเอียดการส่งไปหาปลายทาง

Query Parameters

Name
Type
Description

messageid

String

EX. 16992526394311419

Headers

Name
Type
Description

Authorization*

String

Bearer API Key

{
    "code": "000",
    "messageId": "16992526394311419",
    "sender": "SMSYOUTOAPI",
    "status": "success",
    "infomation": "Sender not allowed",
    "message": "ทดสอบระบบ",
    "phone": "0123456789",
    "created_at": "2023-11-08 11:13:55"
}

Last updated