Authorization: ********************{
"event_type": "send_app_message",
"contact": {
"name": "John Doe",
"email": "johndoe@example.com",
"phone_number": "+919988776655"
},
"flow": {
"id": "flw_1234abcd",
"liquid_values": {
"foo": "bar"
}
}
}curl --location --request POST 'https://app.trypeach.io/api/v1/events' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"event_type": "send_app_message",
"contact": {
"name": "John Doe",
"email": "johndoe@example.com",
"phone_number": "+919988776655"
},
"flow": {
"id": "flw_1234abcd",
"liquid_values": {
"foo": "bar"
}
}
}'{
"status": "success",
"event_id": "string"
}