The message.received event is delivered whenever a message is received at a Surge number from a contact.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
Example Requests
/messageReceivedThe message.received event is delivered whenever a message is received at a Surge number from a contact.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Example Requests
/messageReceivedThe ID of the account in which this event occurred
The data associated with the event
The timestamp when this event occurred, in ISO8601 format
date-timeThe type of the event. Always message.received for this event.
The ID of the account in which this event occurred
The data associated with the event
The timestamp when this event occurred, in ISO8601 format
date-timeThe type of the event. Always message.received for this event.