curl --request POST \
--url https://messenger-public-api.cogfy.com/messages/interactive/flow \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"from": "<string>",
"to": "<string>",
"interactive": {
"type": "flow",
"header": {
"type": "text"
},
"body": {
"text": "<string>"
},
"footer": {
"text": "<string>"
},
"action": {
"name": "flow",
"parameters": {
"flow_cta": "<string>",
"flow_name": "<string>",
"flow_message_version": 3,
"flow_action": "navigate",
"flow_action_payload": "<string>"
}
}
}
}'