Message Delivered

The message.delivered event is delivered whenever a message sent from your Surge number is delivered to the recipient’s device.

Common Use Cases

  • Track delivery status of sent messages in your own system
  • Update conversation analytics
  • Log customer interactions

Payload Structure

stringRequired

The ID of the account that sent the message

stringRequired

Always message.delivered for this event

message
string

The unique identifier for the message

string

The content of the message

attachment[]
string

The unique identifier for the attachment

enum

The type of the attachment. Can be one of file, image, link, or video

string

The URL where the attachment can be downloaded

string

ISO 8601 timestamp of when the message was delivered

conversation
string

The unique identifier for the conversation

contact
string

The unique identifier for the contact

string

The first name of the contact, if it is known

string

The last name of the contact, if it is known

string

The contact’s phone number in E.164 format