OTP (One Time Password)
RequestOTP
POST
https://bulk.smsyouto.com/api/otp/request
ใช้สำหรับการขอชุดรหัสผ่าน เพื่อทำธุรกรรมทางอิเล็กทรอนิกส์ไปยัง SMS โทรศัพท์มือถือคุณ เพื่อใช้ตรวจสอบและยืนยันการเป็นเจ้าของบัญชี
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
phonenumber
string
เบอร์โทรศัพท์มือถือ
sender
string
ชื่อผู้ส่ง
pinlength
number
ความยาวของ OTP
expire
number
เวลาหมดอายุ สูงสุด 600 วินาที
ref
boolean | true | false
ตัวอย่าง Ref Code: psRs2 รหัสยืนยัน ..................
content
string
ข้อความสำหรับแจ้งไปยังเบอร์โทรศัพท์มือถือ ตัวอย่าง
*กำหนดรูปแบบ {pin_code}
Response
ResendOTP
POST
https://bulk.smsyouto.com/api/otp/resend
ใช้สำหรับส่งชุดรหัสผ่าน เพื่อทำธุรกรรมทางอิเล็กทรอนิกส์ไปยัง SMS โทรศัพท์มือถือคุณ เพื่อใช้ตรวจสอบและยืนยันการเป็นเจ้าของบัญชี อีกครั้ง
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
otpid
string
เป็นรหัสการส่งข้อความ OTP
Response
VerifyOTP
POST
https://bulk.smsyouto.com/api/otp/verify
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
otpid
string
เป็นรหัสการส่งข้อความ OTP
otpcode
string
รหัส OTP
Response
Get Infomation OTP
GET
https://bulk.smsyouto.com/api/otp/info/:otpid
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Parameter
otpid
string
เป็นรหัสการส่งข้อความ OTP
Response
Last updated