Skip to main content
POST
/
messages
/
interactive
/
flow
Send interactive Flow message
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>"
      }
    }
  }
}'
{
  "id": "<string>"
}

Authorizations

api-key
string
header
required

Body

application/json
from
string
to
string
interactive
object

Response

200 - application/json
id
string