Get Credit
Get credit your account.
GET
https://portal-otp.smsmkt.com/api/get-credit
Copy to Clipboard
Form data
Headers
api_key
secret_key
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
credit string (string)
name string (string)
Get Remaining Usage
Get remaining usage your account.
GET
https://portal-otp.smsmkt.com/api/get-estimate
Copy to Clipboard
Form data
Headers
api_key
secret_key
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
credit string (string)
estimated string (string)
name string (string)
Send Message
Send message to customer with type Send Now, Send Schedule, Send Tracking.
POST
https://portal-otp.smsmkt.com/api/send-message
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
message
phone
sender
send_date
url
expire
campaign_name
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
message Required
string
SMS Message able to send long text and system will split it to each SMS encoding UTF-8 only.
*If using tracking url , Tag is required in the message. Ex. Please click <TRACKING-URL>
phone Required
string
Destination Phone Number (08xxxxxxxx) and multiple number by using comma (,) Ex. 08xxxxxxxx,08yyyyyyyy.
sender Required
string
Sender name has allowed.
send_date Optional
string
Send case schedule format 'YYYY-MM-DD HH:mm:ss'.
url Optional
string
Tracking URL in message.
expire Optional
string
Expiration period for messages. (Duration must be more than 5 minutes and not more than 11 hours ) Ex. 10:00 (HH:mm)
*the event that the specified period is exceeded, the Operator will automatically suspend the sending of the message. And the recipient will not receive the message in all cases after the specified time.
campaign_name Optional
string
Campaign name.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
blacklist integer (int64)
duplicate integer (int64)
language string (string)
sumphone integer (int64)
transaction_id string (string)
usedcredit integer (int64)
Send Message File
Send message by file with base64 (UTF8)
POST
https://portal-otp.smsmkt.com/api/sms-file
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
file_data
file_name
sender_name
schedule
expire
campaign_name
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
file_data Required
string
It is the base64 value converted from a file with 2 colume named PHONE MESSAGE. (UTF8) (txt)
file_name Required
string
Messaging file name.
sender_name Required
string
Sender name has allowed.
schedule Optional
string
Send case schedule format 'YYYY-MM-DD HH:mm:ss'.
expire Optional
string
Expiration period for messages. (Duration must be more than 5 minutes and not more than 11 hours) Ex. 10:00 (HH:mm)
*the event that the specified period is exceeded, the Operator will automatically suspend the sending of the message. And the recipient will not receive the message in all cases after the specified time.
campaign_name Optional
string
Campaign name.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
properties object
black_list integer (int64)
credits integer (int64)
duplicate integer (int64)
incorrect integer (int64)
incorrect_list array
nanoId string
numbers integer (int64)
otp_id string (string)
ref_code string (string)
status_node integer (int64)
total_among integer (int64)
total_valid_list array
items array
fileId string
data string
olinkId string
transaction_id string (string)
Get Schedule Detail
Get detail of schedule by transaction id
POST
https://portal-otp.smsmkt.com/api/get-schedule-detail
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
transaction_id
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
transaction_id Optional
string
key received send message case schedule. (transaction id)
RESPONSE
Response schema type: object
properties
code string
detail string
result object
transaction_id string (string)
data array
items array
credit integer
fail string
phone string
processing string
success string
Get Delivery Notify
Get delivery send message
POST
https://portal-otp.smsmkt.com/api/get-delivery-notify
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
transaction_id
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
transaction_id Required
string
key received send message (transaction id)
RESPONSE
Response schema type: object
properties
code string
detail string
result array
items array
credit integer
fail integer
phone string
success integer
Get Delivery Report
Get delivery report send message
POST
https://portal-otp.smsmkt.com/api/get-delivery-report
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
transaction_id
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
transaction_id Required
string
key received send message (transaction id)
RESPONSE
Response schema type: object
properties
code string
detail string
result array
items array
status string
status_detail string
phone string
credit integer
Delete Schedule
Delete schedule by transaction id
POST
https://portal-otp.smsmkt.com/api/delete-schedule
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
transaction_id
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
transaction_id Optional
string
key received send message case schedule. (transaction id)
RESPONSE
Response schema type: object
properties
code string
detail string
result string
OTP Send
Send a verify request to generate and send a PIN to your user.
POST
https://portal-otp.smsmkt.com/api/otp-send
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
project_key
phone
ref_code
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
project_key Required
string
OTP Project Key of application.
phone Required
string
Destination Phone Number (08xxxxxxxx).
ref_code Optional
string
Ref code is reference of code with OTP code in SMS.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
token string (string)
ref_code integer (int64)
OTP Validate
Acknowledge the verification by confirming that the PIN you received from your user matches the one sent.
POST
https://portal-otp.smsmkt.com/api/otp-validate
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
token
otp_code
ref_code
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
token Required
string
Token for replying to this event.
otp_code Required
string
OTP code in SMS.
ref_code Optional
string
Ref code is reference of code with OTP code in SMS.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
status boolean (boolean)
Send Message Inter
Send message to customer with type Send Now, Send Schedule, Send Tracking.
POST
https://api-inter.smsmkt.com/api/inter/send/message
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
message
phone
sender
send_date
url
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
message Required
string
SMS Message able to send long text and system will split it to each SMS encoding UTF-8 only.
phone Required
string
Phone number starting with the country code. (+668xxxxxxxx).
sender Required
string
Sender name has allowed.
send_date Optional
string
Send case schedule format 'YYYY-MM-DD HH:mm:ss'.
url Optional
string
Tracking URL in message.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
blacklist integer (int64)
duplicate integer (int64)
language string (string)
sumphone integer (int64)
transaction_id string (string)
usedcredit integer (int64)
OTP Send Inter
Send a verify request to generate and send a PIN to your user.
POST
https://api-inter.smsmkt.com/api/inter/send/otp
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
project_key
phone
ref_code
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
project_key Required
string
OTP Project Key of application.
phone Required
string
Phone number starting with the country code. (+668xxxxxxxx).
ref_code Optional
string
Ref code is reference of code with OTP code in SMS.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
token string (string)
ref_code integer (int64)
Send Message File MID
Send message by file with base64 (UTF8) and MID
POST
https://portal-otp.smsmkt.com/api/mid/send-file
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
file_data
file_name
sender_name
schedule
expire
campaign_name
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
file_data Required
string
It is the base64 value converted from a file with 3 colume named MID, PHONE, MESSAGE. (UTF8) (txt)
● MID is the identify text in a file.
● PHONE is the destination phone number , example 08xxxxxxxx
● MESSAGE is the SMS Message able to send long text and system will split it to each SMS encoding UTF-8 only.
file_name Required
string
Messaging file name.
sender_name Required
string
Sender name has allowed.
schedule Optional
string
Send case schedule format 'YYYY-MM-DD HH:mm:ss'.
expire Optional
string
Expiration period for messages. (Duration must be more than 5 minutes and not more than 11 hours) Ex. 10:00 (HH:mm)
*the event that the specified period is exceeded, the Operator will automatically suspend the sending of the message. And the recipient will not receive the message in all cases after the specified time.
campaign_name Optional
string
Campaign name.
RESPONSE
Response schema type: object
properties
code string
detail string
result object
properties object
transaction_id string (string)
credit integer (int64)
phone_total integer (int64)
phone_valid integer (int64)
phone_invalid integer (int64)
phone_blacklist integer (int64)
phone_duplicate integer (int64)
Get Delivery Report MID
Get delivery report send message
POST
https://portal-otp.smsmkt.com/api/mid/get-delivery-report
Copy to Clipboard
Form data
Headers
api_key
secret_key
Path params
transaction_id
Common properties
A detailed description of the request formation.
Headers
api_key Required
string
Application programming interface key is a code that gets passed in by computer applications. The program or application then calls the API or application programming interface to identify its user, developer or calling program to a website.
secret_key Required
string
A secret key is the piece of information or parameter that is used to encrypt and decrypt messages in a symmetric, or secret-key, encryption.
Path params
transaction_id Required
string
key received send message (transaction id)
RESPONSE
Response schema type: object
properties
code string
detail string
result array
items array
status string
status_detail string
phone string
credit integer
mid string
Status Api
SMS Open API return status code.
API
Code Description Description (TH)
100 Input parameter is missing. ป้อนพารามิเตอร์มาไม่ครบ
101 Can't send SMS, Not found phone number. ส่งออกไม่ได้ ไม่พบเบอร์โทรศัพท์
102 Not found schedule. ไม่มีการตั้งเวลาส่งข้อความ
103 Waiting to send message. กำลังรอการส่งข้อความ
104 Can't send SMS, OTP can send 1 phone number. ส่งออกไม่ได้ OTP สามารถส่งได้ทีละ 1 หมายเลข
105 Input file name incorrect. ป้อนชื่อไฟล์ไม่ถูกต้อง
106 Input file data format incorrect. ป้อนข้อมูลไฟล์ไม่ถูกต้อง
107 Input phone invalid. เบอร์ไม่ถูกต้อง
108 Input URL invalid. ป้อน URL ไม่ถูกต้อง
109 Input expire invalid. ป้อนข้อมูล expire ไม่ถูกต้อง
110 Input phone blacklist. เบอร์ไม่ถูกต้องเนื่องจากถูกระงับ
200 Username or Password incorrect. ชื่อผู้ใช้งานหรือรหัสผ่านไม่ถูกต้อง
300 Not found this sender name. ไม่พบชื่อผู้ส่ง
400 Can't send SMS, Credit balace is not enough. ส่งออกไม่ได้ จำนวนเงินเครดิตของท่านไม่พอ
500 Can't send SMS, Your account is expire. ส่งออกไม่ได้ เนื่อจาก Account หมดอายุ
600 Can't send SMS, The phone number over 1,000. ส่งออกไม่ได้ หมายเลขโทรศัพท์เกิน 1,000 หมายเลข
700 Not found transaction. ไม่พบหมายเลข Transaction การส่งในครั้งนี้
800 Send date format incorrect. รูปแบบวันที่ไม่ถูกต้อง
801 Send date less than 5 minutes รูปแบบการตั้งเวลาส่งมากกว่า 5 นาที
802 Please choose expire time must be more than 5 minutes and not more than 11 hours. กรุณาเลือกระยะเวลาหมดอายุของข้อความ ต้องมากกว่า 5 นาที และไม่เกิน 11 ชั่วโมง
900 Can't send SMS, The phone number over 100,000. ส่งออกไม่ได้ หมายเลขโทรศัพท์เกิน 100,000 หมายเลข
1000 Message input error. ข้อความไม่ถูกต้อง เนื่องจากมีอักขระพิเศษ
1001 Server Error. เซิฟเวอร์เกิดข้อผิดพลาด
1002 Token invalid signature. Token ไม่ถูกต้อง
1003 Can't send SMS, Message hasn't tag <TRACKING-URL> ส่งออกไม่ได้ ไม่พบ tag <TRACKING-URL>
1004 API key or Secret key incorrect. API key หรือ Secret key ไม่ถูกต้อง
1005 Not found project key. ไม่พบ Project key
1006 Not found token. ไม่พบ Token
1007 Permission denied ปฏิเสธการเข้าถึง
1008 Not found data ไม่พบข้อมูล
1009 Can't delete schedule, because transaction was delivered. ไม่สามารถลบการตั้งส่งข้อความ เนื่องจากการข้อความถูกส่งออกไปเรียบร้อยแล้ว
5000 Can't validate token, Your token is expire ตรวจสอบ Token ไม่ได้ Token ของคุณหมดอายุ
9999 Something went wrong please try again. บางอย่างเกิดผิดพลาด กรุณาลองใหม่อีกครั้ง
000 OK ส่งข้อมูลกลับมาสมบูรณ์
1007-1 Permission denied : User authentication failed. ปฏิเสธการเข้าถึงการในยืนยันตัวตน
1007-2 Permission denied : Company is not enabled. ปฏิเสธการเข้าถึงเนื่องจากบัญชีถูกปิดใช้งาน
1007-3 Permission denied : Sender name is not match gateway. ปฏิเสธการเข้าถึงเนื่องจากชื่อผู้ส่งไม่สามารถส่งออกได้
1007-4 Permission denied : IP address is not match project key. ปฏิเสธการเข้าถึงเนื่อง IP ไม่ถูกต้อง
1007-5 Permission denied : User authentication is not match project key. ปฏิเสธการเข้าถึงเนื่องจาก Project Key ไม่ถูกต้อง
1007-6 Permission denied : Validate OTP is not match transaction id. ปฏิเสธการเข้าถึงเนื่องจาก Transaction ID ไม่ถูกต้อง
1007-7 Permission denied : Delete schedule is not allow. The transaction has been sent. ปฏิเสธการเข้าถึงเนื่องจากการ Transaction ถูกส่งออกเรียบร้อยแล้ว
1007-8 Permission denied : User authentication is not allow API. ปฏิเสธการเข้าถึงเนื่องจากไม่มีสิทธิ์การใช้งาน API
Status Gateway
SMS Gateway return status code.
TRUE
Code Description Description (TH)
100 Invalid service id from the request. Service ID ไม่ถูกต้อง
101 Invalid MSISDN number. หมายเลข MSISDN ไม่ถูกต้อง
102 The service is not associated to given subscriber. ไม่พบบริการที่เกี่ยวข้องกับสมาชิก
103 The subscription period to the associated service is already expired รหัสที่ผู้ใช้งานหมดอายุแล้ว
104 Internal Error. Please try later เกิดข้อผิดพลาดภายใน กรุณาลองใหม่ในภายหลัง
105 Invalid input format. การป้อนข้อมูลผิดรูปแบบ
106 Undefined Error. ไม่พบ
256 Message rejected by SMSC. ข้อความโดนละทิ้งโดย SMSC
257 PSA Connection failed การเชื่อมต่อ PSA เกิดข้อผิดพลาด
401 LDAP returns 'Record not found' LDAP ตอบกลับว่า ไม่พบข้อมูล
402 No response from LDAP / No connection to LDAP ไม่พบการตอบกลับของ LDAP หรือ ไม่มีการเชื่อต่อกับ LDAP
501 FIRST_TIME_CALLING การโทรครั้งแรก
502 BALANCE_HAVE_LITTLE_MONEY ยอดคงเหลือของคุณเหลือเงินน้อย
503 USER_WILL_EXPIRE รหัสผู้ใช้ของคุณใกล้หมดอายุ
504 BALANCE_HAVE_LITTLE_MONEY and USER_WILL_EXPIRE ยอดคงเหลือของคุณเหลือเงินน้อย และรหัสผู้ใช้ของคุณใกล้หมดอายุ
505 DIAMETER_COMMAND_UNSUPPORTED คำสั่ง Diameter ไม่รองรับ
506 DIAMETER_UNABLE_TO_DELIVER Diameter ไม่สามารถส่งได้
507 DIAMETER_REALM_NOT_SERVED Diameter realm ไม่ได้ให้บริการ
508 DIAMETER_TOO_BUSY Diameter มีคำร้องขอใช้งานมาก
509 DIAMETER_LOOP_DETECTED Diameter ตรวจพบฟังก์ชั่น Lopp
510 DIAMETER_REDIRECT_INDICATION Diameter กำลังเปลี่ยนเส้นทาง
511 DIAMETER_APPLICATION_UNSUPPORTED Diameter ไม่รองรับ แอปพลิเคชั่น
512 DIAMETER_INVALID_HDR_BITS Diameter HDR Bits ไม่ถูกต้อง
513 DIAMETER_INVALID_AVP_BITS Diameter AVP Bits ไม่ถูกต้อง
514 DIAMETER_UNKNOWN_PEER Diameter ไม่รู้จัก Peer
515 DIAMETER_AUTHENTICATION_REJECTED ปฏิเสธการตรวจสอบความถูกต้องของ DIAMETER
516 DIAMETER_OUT_OF_SPACE Diameter ออกจากพื้นที่
517 ELECTION_LOST สูญเสียการเชื่อมต่อ
518 DIAMETER_END_USER_SERVICE_DENIED Diameter end user service ถูกปฏิเสธ
519 DIAMETER_CREDIT_CONTROL_NOT_APPLICABLE การควบคุมเครดิต Diameter ไม่สามารถใช้งานได้
520 DIAMETER_INSUFFICIENT_BALANCE Diameter ไม่เสถียร
521 DIAMETER_INACT_NEGATIVE_BALANCE Diameter inact balace เชิงลบ
522 DIAMETER_INSUFFICIENT_BALANCE_ROAMING Diameter มียอดเงินไม่เหมาะสม
523 DIAMETER_INACT_POSITIVE_BALANCE Diameter inact balace เชิงบวก
524 USER_NEVER_OPEN ผู้ใช้ไม่เคยมีการใช้งาน
525 NEVER_USED ไม่เคยใช้งาน
527 USER_MISSING_CLAIM ผู้ใช้ไม่มีการเรียกร้อง
528 USER_LOCKED ผู้ใช้ถูกระงับการใช้งาน
529 USER_EXPIRED ผู้ใช้หมดอายุ
530 VOICE_SERVICE_STOPED บริการด้านเสียงยังไม่พร้อมให้บริการ
531 USER_INVALID ผู้ใช้งานไม่ถูกต้อง
532 BLACK_LIST ติดบัญชีดำ
533 BALANCE_IS_ZERO ยอดเงินเหลือ 0
534 MEMBER_ACCOUNT_FROZEN บัญชีสมาชิกของท่านถูกระงับชั่วคราว
535 MEMBER_ACCOUNT_REACHED_MONTHLY_LIMIT บัญชีสมาชิกของท่านถึงขีดจำกัดการใช้งานรายเดือน
536 CALLED_MEMBER_ACCOUNT_FROZEN บัญชี Call ของท่านถูกระงับชั่วคราว
537 CALLED_MEMBER_ACCOUNT_REACHED_MONTHLY_LIMIT บัญชี Call ของท่านถึงขีดจำกัดการใช้งานรายเดือน
538 DIAMETER_DEACT Diameter DEACT
539 DIAMETER_USER_BLOCKED รหัสผู้ใช้งาน Diameter ถูกระงับการใช้งาน
540 DIAMETER_USER_BLOCK_ACTIVATION เปิดใช้งาน Diameter ที่ถูกระงับการใช้งาน
541 DIAMETER_CALL_DESTINATION_BLOCKED Diameter call destination ถูกระงับ
542 DIAMETER_INVALID_AVP_BIT_COMBO Diameter ไม่ถูกต้อง AVP BIT COMBO
543 DIAMETER_NO_COMMON_SECURITY Diameter ไม่มีความปลอดภัย
544 DIAMETER_USER_UNKNOWN Diameter ไม่รู้จักผู้ใช้งาน
545 DIAMETER_RATING_FAILED ระดับ Diameter เกิดข้อผิดพลาด
546 DIAMETER link down and let go Diameter ลงลิงค์เรียบร้อย
547 DIAMETER link down and block Diameter ลงลิงค์และถูกระงับการใช้งาน
548 CONNECTION_TIME_OUT (BS_ACCESS_FAILED) การเชื่อมต่อหมดเวลา
000 Success สำเร็จ
001 Delivery to phone failed การส่งข้อความเกิดข้อผิดพลาด
002 No MT connection found for short number ไม่พบการเชื่อมต่อ MT
003 The recipient has no credit ผู้รับไม่มีเครดิต
004 Charged failed การเรียกเก็บเงินไม่สำเร็จ
DTAC
Code Description Description (TH)
0 Success สำเร็จ
1 System is not ready. Please try to post again later. ระบบยังไม่พร้อมให้บริการ กรุณาลองใหม่อีกครั้ง
101 Invalid CP CP ไม่ถูกต้อง
102 Invalid CP Status CP สถานะยังไม่พร้อมให้บริการ
103 Quota Limit exceed ส่งไม่ได้ ข้อความเกินขีดจำกัดของคุณ
104 Duplicate RefNo RefNo ซ้ำ
105 Your account is expired. บัญชีของคุณหมดอายุ
106 MsnList length limit exceed MsnList ขนาดเกิน 1,000
107 Sno length limit exceed Sno ขนาดไม่เกิน 10
108 Message is null ไม่พบข้อความ
109 Invalid Msn รูปแบบ Msn ไม่ถูกต้อง
110 Invalid User / Invalid Password รหัสผู้ใช้งานหรือรหัสผ่านไม่ถูกต้อง
111 Message length exceed 1000 characters จำนวนข้อความเกิน 1000 ตัวอักษร
112 Invalid Sender ไม่พบผู้ใช้งาน
113 Sender Expire ผู้ใช้งานหมดอายุ
114 Encoding is null ไม่พบพารามิเตอร์ Encoding
115 MsgType is null ไม่พบพารามิเตอร์ MsgType
116 TimeStamp is null ไม่พบพารามิเตอร์ TimeStamp
117 Invalid Concat Concat ไม่ถูกต้อง
118 Reference Number is null ไม่พบพารามิเตอร์ Reference Number
119 Reference Number length exceed 15 digit Reference Number ขนาดตัวเลขเกิน 15 ตัว
120 Invalid Encoding การเข้ารหัสไม่ถูกต้อง
121 Invalid UserHeader UserHeader ไม่ถูกต้อง
122 Eng message length can not longer than 160 characters ข้อความภาษาอังกฤษมีจำนวนเกิน 160 ตัวอักษร
123 Thai message length can not longer than 70 characters ข้อความภาษาไทยมีจำนวนเกิน 160 ตัวอักษร
124 Hexadecimal message length can not longer than 8 concatenated messages ข้อความ Hexadecimal มีขนาดเกิน 8 ตัวอักษร
125 Eng message length can not longer than 153 characters ข้อความภาษาอังกฤษมีจำนวนเกิน 153 ตัวอักษร
126 Thai message length can not longer than 67 characters ข้อความภาษาไทยมีจำนวนเกิน 67 ตัวอักษร
127 Hexadecimal message length can not longer than 268 characters ข้อความ Hexadecimal มีขนาดเกิน 268 ตัวอักษร
128 Invalid TimeStamp รูปแบบวันเวลาไม่ถูกต้อง
129 Invalid Validperiod รูปแบบระยะเวลาไม่ถูกต้อง
131 Invalid msg type รูปแบบ msg type ไม่ถูกต้อง
132 Maximum Valid Period is 12 hrs. or 43200 second ระยะเวลาที่ใช้ได้สูงสุดคือ 12 ชม. หรือ 43200 วินาที
133 Minimum Valid Period is 10 minute. or 600 second ระยะเวลาที่ใช้ได้ต่ำสุดคือ 10 นาที หรือ 600 วินาที
134 User is null ไม่พบพารามิเตอร์ User
135 Password is null ไม่พบพารามิเตอร์ Password
136 Sno is not number พารามิเตอร์ Sno ไม่ใช่ตัวเลข
501 Database is not ready. ฐานข้อมูลยังไม่พร้อมให้บริการ
AIS
Code Description Description (TH)
128 Teleservice facility interaction not supported ระบบขัดข้อง
129 SM type 0 not supported ระบบขัดข้อง
130 Cannot replace SM ระบบขัดข้อง
143 Unspecified TP-PID error ระบบขัดข้อง
144 DCS (alphabet) not supported ระบบขัดข้อง
145 Message class not supported ระบบขัดข้อง
159 Unspecified TP-DCS error ระบบขัดข้อง
160 Operation cannot be executed ระบบขัดข้อง
175 Unspecified TP-Command error ระบบขัดข้อง
176 TPDU not supported ระบบขัดข้อง
192 SC busy ระบบขัดข้อง
193 No SC subscription ระบบขัดข้อง
194 SC system error ระบบขัดข้อง
195 Invalid ESME address ระบบขัดข้อง
196 SME prohibited ระบบขัดข้อง
200 Memory Capacity Exceed หมายเลขปลายทางข้อความเต็ม
208 SIM SMS storage full หน่วยความจำของ SIM ปลายทางเต็ม
209 No SMS storage capability in SIM หน่วยความจำของ SIM ปลายทางเต็ม
210 Error in MS โทรศัพท์มือถือของหมายเลขปลายทางรองรับบริการSMSได้อย่างไม่สมบูรณ์
211 ESME memory overflow ระบบขัดข้อง
231 The forwarded SM fails to be authenticated in the home SMC of the calling party. ระบบขัดข้อง
254 Delivery failure. ระบบขัดข้อง
255 Unspecified error cause ระบบขัดข้องสาเหตุจาก AIS หรือผู้ให้บริการรายอื่น
325 The destination mobile number(not AIS Operator) has suspend all SMS. ระบบขัดข้องสาเหตุจากผู้ให้บริการรายอื่น (Dtac)
1024 SMSC problem in memory part ระบบขัดข้อง
1025 Internal Error ระบบขัดข้อง
1026 Internal Error ระบบขัดข้อง
1034 PPS authentication fails ระบบขัดข้อง
1035 Internal Error ระบบขัดข้อง
1036 Internal Error ระบบขัดข้อง
1037 Internal Error ระบบขัดข้อง
1038 Internal Error ระบบขัดข้อง
1040 Internal Error ระบบขัดข้อง
1041 The number of SMs submitted by the calling party exceeds the maximum submission number. ระบบขัดข้อง
1042 The number of SMs that are buffered in the SMC memory and to be delivered to the called subscriber exceeds the maximum delivery number. คิวในการรับข้อความของหมายเลขปลายทางเต็ม
1043 Internal Error ระบบขัดข้อง
1044 Internal Error ระบบขัดข้อง
1045 Internal Error ระบบขัดข้อง
1046 Internal Error ระบบขัดข้อง
1047 Internal Error ระบบขัดข้อง
1048 Internal Error ระบบขัดข้อง
1049 Internal Error ระบบขัดข้อง
1050 Internal Error ระบบขัดข้อง
1052 SCP timeout ระบบขัดข้อง
1056 Internal Error ระบบขัดข้อง
1057 Internal Error ระบบขัดข้อง
1058 Internal Error ระบบขัดข้อง
1061 Internal Error ระบบขัดข้อง
1062 Internal Error ระบบขัดข้อง
1063 Internal Error ระบบขัดข้อง
1064 Internal Error ระบบขัดข้อง
1065 Internal Error ระบบขัดข้อง
1069 Internal Error ระบบขัดข้อง
1070 Authenticating SM calling number fails SMSC congestion ไม่สามารถทำงานได้ในขณะนั้น
1072 Internal Error ระบบขัดข้อง
1073 Internal Error ระบบขัดข้อง
1074 Internal Error ระบบขัดข้อง
1075 Internal Error ระบบขัดข้อง
1076 Internal Error ระบบขัดข้อง
1077 Internal Error ระบบขัดข้อง
1078 Internal Error ระบบขัดข้อง
1079 Internal Error ระบบขัดข้อง
1080 Internal Error ระบบขัดข้อง
1280 The destination mobile number(AIS operator) has suspend all SMS. หมายเลขปลายทางเป็นเบอร์ AISมีการขอระงับ รับ SMS (กรณี sender ไม่เป็น whitelist)
1282 The destination mobile number(not AIS Operator) has suspend all SMS. ระบบขัดข้องสาเหตุจากผู้ให้บริการรายอื่น (Truemove)
2006 Internal Error ระบบขัดข้อง
4006 System error, please try again ระบบขัดข้อง
CODE Error description Customer Meaning
000 Success ส่งสำเร็จ
001 Unknown subscriber. หมายเลขปลายทางยังไม่เปิดใช้บริการ
002 Undefined subscriber. ไม่มีข้อมูลของหมายเลขปลายทางที่ชุมสาย เกิดเป็นบางขณะต้องรอการทำ location Update เช่นหมายเลขปลายทางปิดเครื่องขณะอยู่ต่างประเทศ
003 Invalid subscriber. ( format incorrect) **** หมายเลขปลายทางผิดปกติ
004 Teleservice not provisioned. (เคส credit limit) หมายเลขปลายทางไม่มีบริการรับข้อความ SMS ได้
005 Call barred. หมายเลขปลายทางทำระงับการรับบริการ SMS
006 Closed user group (CUG) refuses ระบบขัดข้อง
007 Facility not supported ระบบขัดข้อง
008 Absent subscriber เบอร์ปลายทางไม่สามารถติดต่อได้ อาจเกิดจากลูกค้าปิดเครื่อง แบตหมด หรืออยู่ในที่อับสัญญาณ
009 Absent subscriber หมายเลขปลายทางอยู่นอกเขตควบคุม
010 Sending SM fails. SMS ที่รอคิวในการส่ง หมดอายุข้อความ
011 Message Waiting List is Full หมายเลขปลายทางมีข้อความรอส่งอยู่เต็ม limit หรือชุมสายปลายทางมีการ Block ชั่วคราว
012 System failure. ระบบขัดข้อง
013 Some mandatory fields are missing when the SMC delivers the SM to the network side. ระบบขัดข้อง
014 Unexpected data. ระบบขัดข้อง
015 MS error โทรศัพท์มือถือของหมายเลขปลายทางรองรับบริการSMSได้อย่างไม่สมบูรณ์
016 MS not equipped. เครื่องปลายทางอาจจะไม่ใช่ mobile ที่รับ SMS ได้ เช่น Air Card หรือ Box ที่ใส่ SIM เพื่อใช้งานประเภทอื่น ๆ
017 China Mobile phone memory full. หน่วยความจำของเครื่องปลายทางเต็ม
018 The SMSC is congested. ระบบขัดข้อง
019 The MS does not register in the SMSC. ระบบขัดข้อง
020 Invalid SME address. ระบบขัดข้อง
021 Unknown SC ระบบขัดข้อง
022 Invalid mobile phone. เบอร์ห้ามใช้ IMEI กลุ่มนี้ห้ามส่ง sms (barred IMEI) เครื่องปลายทางไม่ถูกต้อง หมายเลขเครื่องปลายทางเป็น IMEI กลุ่มนี้ห้ามส่ง sms (barred IMEI)
023 Subscriber busy ไม่สามารถส่งข้อความไปยังหมายเลขปลายทางได้ เนื่องจากในขณะนั้นหมายเลขปลายทางกำลังส่งหรือรับข้อความอื่น ๆ อยู่
024 Subscriber power off โทรศัพท์มือถือของหมายเลขปลายทางปิดเครื่อง
029 เบอร์ปลายทางไม่สามารถติดต่อได้ อาจเกิดจากลูกค้าปิดเครื่อง แบตหมด หรืออยู่ในที่อับสัญญาณ โทรศัพท์มือถือของหมายเลขปลายทางปิดเครื่อง
030 HLR message decoding error ระบบขัดข้อง
031 MSC message decoding error ระบบขัดข้อง
032 INFORM_SC message decoding error ระบบขัดข้อง
033 The obtained routing information is not enough. ระบบขัดข้อง
034 Unexpected data from the HLR ระบบขัดข้อง
035 Unexpected data from the MSC ระบบขัดข้อง
036 Unknown error from MSC ระบบขัดข้อง
037 Unknown error from HLR ระบบขัดข้อง
038 Session between GMSC and HLR failed ระบบขัดข้อง
039 Session between GMSC and HLR overtime ระบบขัดข้อง
040 HLR not acknowledge after routing request is sent. ระบบขัดข้อง
041 HLR does not acknowledge ระบบขัดข้อง
042 Inform parameter error ระบบขัดข้อง
043 Session between GMSC and msc failed ระบบขัดข้อง
044 MSC abort failure ระบบขัดข้อง
045 MAP Server version error ระบบขัดข้อง
046 HLR version negotiation error ระบบขัดข้อง
047 Inconsistent error code version ระบบขัดข้อง
048 MSC does not acknowledge ระบบขัดข้อง
049 HLR not acknowledge ระบบขัดข้อง
050 GIW not acknowledge ระบบขัดข้อง
051 MSC refuses ระบบขัดข้อง
052 HLR refuses (SRI แล้ว HLR ไม่ตอบกลับมา ตอนนั้น HLR อาจจะ load หรือได้รับ parameter เพี้ยน เลย reject กลับมา) ระบบขัดข้อง
053 GIW refuse ระบบขัดข้อง
054 SGSN not acknowledge ระบบขัดข้อง
055 SGSN refuse ระบบขัดข้อง
056 HLR system error ระบบขัดข้อง
057 MSC system error ระบบขัดข้อง
058 SGSN system error ระบบขัดข้อง
059 HLR unregistered subscriber ระบบขัดข้อง
061 Error of MAP Server delivering message due to traffic control ระบบขัดข้อง
062 Error of MTI Server delivering message due to traffic control ระบบขัดข้อง
063 SCCP of DSP or STP unable to send the message ระบบขัดข้อง
064 Interface no delivery right ระบบขัดข้อง
065 GIW not acknowledge ระบบขัดข้อง
066 Temporary error of interface (deregistered or not log in) ระบบขัดข้อง
067 Invalid interface ระบบขัดข้อง
068 Service interface not acknowledge after a message is delivered to it. ระบบขัดข้อง
069 Error caused by AIS or other mobile operators ระบบขัดข้องสาเหตุจาก AIS หรือผู้ให้บริการรายอื่น
071 SMs to be stored into L2Cache database are deleted due to disconnection between SMSC and L2CacheDaemon module. ระบบขัดข้อง
072 SMs are deleted when stored into L2Cache database because the maximum of SMs in L2Cache database specified by license is exceeded. ระบบขัดข้อง
073 SMs to be stored into L2CacheDaemon are deleted by mistake, which is caused by Smcapp. ระบบขัดข้อง
074 SMs are deleted due to L2Cache database unavailable. ระบบขัดข้อง
075 The destination STP cannot transfer the SM. หมายเลขปลายทางยังไม่เปิดใช้บริการ
077 Interface buffer full ระบบขัดข้อง
078 Deleting SM in protection mode ระบบขัดข้อง
079 The number of SMs exceeds the maximum submission number of the calling party. The SM failed to be delivered is deleted in this case. ระบบขัดข้อง
080 HLR returns session is rleasing ระบบขัดข้อง
081 HLR returns unexpected operation response received from the peer ระบบขัดข้อง
082 HLR returns service not complete ระบบขัดข้อง
083 MTI server fails to deliver the SM due to flow control ระบบขัดข้อง
084 Unexpected response from HLR ระบบขัดข้อง
085 MSC returns illegal destionation SCCP address ระบบขัดข้อง
086 MSC returns illegal original SCCP address ระบบขัดข้อง
087 MSC returns unknown error ระบบขัดข้อง
088 MSC returns inconsistent version ระบบขัดข้อง
089 MSC returns the remote version incompatible ระบบขัดข้อง
090 MSC returns the remote address not reachable ระบบขัดข้อง
091 MSC returns duplicated InvokeID ระบบขัดข้อง
092 MSC returns the service not supported by the peer ระบบขัดข้อง
093 MSC returns unrecognized parameter ระบบขัดข้อง
094 MSC returns resource not available due to congestion ระบบขัดข้อง
095 MSC returns session is rleasing ระบบขัดข้อง
096 MSC returns unexpected operation response received from the peer ระบบขัดข้อง
097 MSC returns service not complete ระบบขัดข้อง
098 Invalid value of validity period specified by the SM ระบบขัดข้อง
099 Unexpected response from MSC ระบบขัดข้อง
0100 Submit SMS to SMSC Timeout SMSGW ไม่ได้รับ response จาก SMSC ลูกค้าอาจจะได้รับ หรือไม่ได้รับ SMS
EXPIRED SMS expired ข้อความหมดอายุก่อนส่งสำเร็จ
OK Success ส่งสำเร็จ
Other Other ระบบขัดข้อง
SUBMIT_FAIL ระบบขัดข้อง
Status DR
DR return status code
No. STATUS CODE DESCRIPTION
1. PROCESSING กำลังอยู่ระหว่างการส่งข้อความ
2. SUCCESS ส่งข้อความถึงปลายทางเรียบร้อยแล้ว (DR Status)
3. FAILED ไม่สามารถส่งข้อความถึงปลายทางได้ (DR Status)
4. EXPIRED ไม่สามารถส่งข้อความถึงปลายทางได้ (DR Status)
5. BLOCKED ไม่สามารถส่งข้อความถึงปลายทางได้ (DR Status)
ส่วนสถานะ Status Detail จะขึ้นอยู่กับรายละเอียดตาม Operator ซึ่งผู้ใช้งานสามารถตรวจสอบได้จาก เว็บไซต์ https://developers.smsmkt.com/ (สถานะ API Gateway)