Skip to main content
POST
/
messages
/
interactive
/
list
Send interactive list message
curl --request POST \
  --url https://messenger-public-api.cogfy.com/messages/interactive/list \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "from": "<string>",
  "to": "<string>",
  "interactive": {
    "type": "list",
    "header": {
      "type": "text"
    },
    "body": {
      "text": "<string>"
    },
    "footer": {
      "text": "<string>"
    },
    "action": {
      "button": "<string>",
      "sections": [
        {
          "title": "<string>",
          "rows": [
            {
              "id": "<string>",
              "title": "<string>",
              "description": "<string>"
            }
          ]
        }
      ]
    }
  }
}'
{
  "id": "<string>"
}

Authorizations

api-key
string
header
required

Body

application/json
from
string
required
to
string
required
interactive
object
required

Response

200 - application/json
id
string