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