Skip to main content
POST
/
messages
/
interactive
/
cta_url
Send interactive CTA URL message
curl --request POST \
  --url https://messenger-public-api.cogfy.com/messages/interactive/cta_url \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "from": "<string>",
  "to": "<string>",
  "interactive": {
    "type": "cta_url",
    "header": {
      "type": "text",
      "text": "<string>"
    },
    "body": {
      "text": "<string>"
    },
    "footer": {
      "text": "<string>"
    },
    "action": {
      "name": "cta_url",
      "parameters": {
        "display_text": "<string>",
        "url": "<string>"
      }
    }
  }
}'
{
  "id": "<string>"
}

Authorizations

api-key
string
header
required

Body

application/json
from
string
to
string
interactive
object

Response

200 - application/json
id
string