Message received

Every time a customer or an associate sends a message, your WebHook receives a notification with the necessary information. To distinguish between customer and associate messages, review the Sender.Type property value.

🚧

Message visibility

Messages sent via CorrigoPro have visibility. CorrigoPro Direct only receives message notifications that have visibility option set to All (Customer In).

Fields

Field

Value Type

Verification

Description

Header

MessageHeader

Mandatory

Complex object that contains important information about the request.

Text

String

Mandatory,
Maximum length 3000

A message text.

Example notification: message received

{
	"Text": "Hello Direct!",
	"Header": {
		"WorkOrderId": 42,
		"BranchId": 500772,
		"Sender": {
			"Name": "Jon Snow",
			"Phone": "+12025550141",
			"Type": "CorrigoPro"
		},
		"Action": "MessageSent",
		"ActionDate": "2017-10-04T15:18:57.5328597Z",
		"ApiVersion": "1.0",
		"MessageId": "26b82cca-deea-4503-99cb-3cf8b83462ed"
	}
}

What’s Next