Postbacks allows you to post back certain data to Flex for processing.
A POST endpoint is provided in the Flex Admin Control Panel.
Available postback types:
flexMsgEnquiry.fifo:
Available to all clients. Any property or general enquiry can be posted. Minimum required fields:
flexMsgAlertRequest: Available as part of the Property Alert component. Allows property alert setup data to be captured and processed.
flexMsgAutomatedValuation.fifo: Available as part of the Valuation Report component. Captures data for automated property valuations. South Africa only.
Example postback:
POST https://...../v1/sqs (endpoint available in Flex CTRL)
{
"queue": "flexMsgEnquiry.fifo",
"body": {
"contactname": "John Doe",
"contactnumber": "087 878 9455",
"contactemail": "john.doe@entegral.net",
"message": "Please contact me regarding property # 1023140. Would like to view asap.",
"propertyref" :"1023140"
}
}
Two extra fields will automatically be added to the body, including sourceip
and referer
. These fields are used to record the IP address and URL from which the postback originated.