Receiving leads
The availability of this feature may vary depending on the marketplace. If you would like information about the possibility of using this feature, please contact us.
Your application can have the ability to receive leads from users in real-time. For this to work you must subscribe to the incoming_message
flow when creating an APP.
Lead notifications will be sent to the notification callback URL that you specified there. Below you can see an example of the notification you'll get for each message received:
{
"data": {
"ad_id": 9846457,
"conversation_id": "e6e81f5260fad0da63171a69ebb90aae",
"created_at": "2018-04-19T15:33:45+0100",
"from": "imovirtual",
"id": 208853314,
"message": "This is a test message",
"sender_name": "John Doe",
"sender_email": "[email protected]",
"sender_phone": 961231212,
"uuid": "6073df05-2979-4372-a552-4c906a02a5cc"
},
"destination": "https://myawesomeapp.com/webhooks",
"event_type": "incoming_message_success",
"flow": "incoming_message",
"object_id": "6073df05-2979-4372-a552-4c906a02a5cc",
"timestamp": 1524148443449,
"event_timestamp": 1524148443549,
"transaction_id": "b480075b-43de-11e8-a691-55a1dd521900"
}
Check out the most common errors related to leads, that you can find it.
Updated 12 months ago
See more