Understand log fields

Updated at:

Each SMS log entry contains the following fields that describe the message type, delivery status, and carrier information.

Field

Description

bill_type

The template type. Valid values:

  • 1: verification code

  • 2: notification message

  • 6: promotional message

  • 7: Mass messaging

  • 8: International message

  • 12: Digital SMS

code

The status code returned by the carrier.

content

The message content.

delay

The delivery delay.

mc_code

The standardized error code returned by Alibaba Cloud.

out_id

The extended field for external tracking.

receiver

The recipient's mobile number.

Note

Fuzzy search is supported for phone numbers.

signName

The signature.

sms_size

The number of billable SMS segments.

status

The delivery status. Valid values include:

  • 0 or 1: Initial

  • 2: Awaiting report

  • 3: Retry

  • 4: Succeeded

  • 5: Aborted

templateId

The template ID.

vendor

The carrier type. Valid values include:

  • 1: China Mobile

  • 2: China Unicom

  • 3: China Telecom

  • 9: International message