Get SMS Logs

Gets sms logs for the given time range.

Fields:

  • accountSid: Account Id.
  • yearMonthDay: Date sms was sent in YYYYMMDD format.
  • smsSid: Transaction id of the sms message.
  • apiVersion: Api version that was used for sending.
  • body: Body of the message
  • callbackMethod: Callback method (GET or POST)
  • callbackUrl: Url which received the callback
  • direction: Direction of the sms message (inbound or outbound)
  • dlrStatus: Status of the sms delivery.
  • errorMessage: Error message if any
  • fromCountryCode: Country code prefix for the from number.
  • from: From number. For inbound this will be the customer number, for outbound it will be the owned number
  • numberType: Type of number. Valid values are regular.
  • price: Price for the sms message
  • smsCount: Number of messages. Computed based on the length are character set.
  • smsType: Type of the sms. Valid values are so, si, sto, sti, sco, sci.
  • surcharge: Additional surcharge from the carrier.
  • termCarrier: Carrier from the customer number.
  • to: To number. For inbound this will be the owned number, for outbound this will be the customer number.
  • toCountryCode: Country code prefix for the to number.
  • useType: Regular
  • date: Seconds since epoch that the sms message was sent.
Language
URL
Click Try It! to start a request and see the response here!