Interface InteractiveCtaUrlMessage

Interactive message with a single call-to-action URL button, so a long or opaque link doesn't have to sit in the body text. Free-form: it sends inside the 24-hour customer service window with no template approval.

WhatsApp channels only — sending it to an Instagram or Messenger channel is rejected with interactive_type_unsupported_on_channel (HTTP 422).

A tap opens the URL in the device browser and sends nothing back, so unlike buttons and lists this produces no message.received webhook and carries no id to route on.

interface InteractiveCtaUrlMessage {
    body: InteractiveBody;
    display_text: string;
    footer?: InteractiveFooter;
    header?: InteractiveHeader;
    type: "cta_url";
    url: string;
}

Properties

display_text: string

The button label (≤ 20 chars).

type: "cta_url"
url: string

The http(s) URL the button opens.