ANTS API SPECIFICATION
Thai v1.0.0
Thai v1.0.0
  • เริ่มต้นการใช้งาน
  • ACCOUNT
  • SMS
    • Send Message
    • Callback Delivery Report
    • Message Logs
    • Preview Message
    • Sender List
    • Status and Error codes
  • OTP (One Time Password)
  • SMS 2 WAY Interactive
  • E-coupon
    • Get Campaign
    • Get Coupon
    • Create Coupon
    • E-Coupon Callback
    • E-Coupon Status Code
  • การย้าย API ระบบเก่า มา ระบบใหม่
Powered by GitBook
On this page

Was this helpful?

  1. SMS

Sender List

PreviousPreview MessageNextStatus and Error codes

Last updated 5 years ago

Was this helpful?

ใช้สำหรับตรวจสอบข้อมูล sender ในฐานข้อมูลของ ANTS

Sequence Diagram

ผู้ใช้งานสามารถเริ่มสร้าง HTTP ตามรายละเอียดดังนี้

หัวข้อ

รายละเอียด

HTTP Request (URL)

HTTP Headers

Content-Type: application/json

Authorization: (Basic Auth) Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

HTTP Methods

GET

ตัวอย่าง Request (method : Get)

HTTP Request (URL): https://api-service.ants.co.th/sms/senderList

Response ตอบกลับผู้ใช้งาน ดังนี้

ชุดข้อมูลผลลัพธ์

ประเภทข้อมูล

รายละเอียด

name

Array of Strings

ชื่อผู้ส่ง (Sender Name)

ตัวอย่าง Response JSON

{
	"name": ["sender1", 
	 	      "sender2", 
	 	      "sender3"]
}

https://api-service.ants.co.th/sms/senderList
รูปภาพ Sequence Diagram (API SenderList)