Message Logs

This method allows you to get logs for sent SMS.

This Logs API will show the details of destination, messages sent, status, and reason. Records can be shown up to 30,000 latest transactions within 48 hours.

Sequence Diagram

Sequence Diagram (API Loginfo)

You can start creating HTTP request as this following:

Header

Description

HTTP Headers

Content-Type: application/json

Authorization: (Basic Auth) Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

HTTP Methods

GET

You must input at least 1 parameter. If it is a date; start and end date is required

Parameters

Type

Description

bulkId

String

The ID which uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.

messageId

String

The ID that uniquely identifies the message sent.

mobile

String

The destination mobile number for your message

sendDateStart

String

Lower limit on date and time of sending SMS.

sendDateEnd

String

Upper limit on date and time of sending SMS.

Sample Request (method : Get)

HTTP Request (URL): https://api-service.ants.co.th/sms/loginfo?
senddate_start=2019-05-27T14:39:00.00&senddate_end=2019-05-27T15:04:39.64

Last updated

Was this helpful?