---
title: "Send interactive CTA URL message"
method: POST
path: "/messages/interactive/cta_url"
tags: ["Messages"]
---

# Send interactive CTA URL message

`POST /messages/interactive/cta_url`

Sends a message with a button that opens a URL.

Requires an open service window: the recipient must have messaged the business in the last 24 hours. Use `POST /messages/template` to reach recipients outside that window.

## Request body

- object
  - `from` string, required — WhatsApp id of the sender phone number
  - `to` string, required — Recipient phone number, digits only, including country code
  - `interactive` object, required
    - `type` 'cta_url'
    - `header` object
      - `type` 'text' | 'image' | 'video' | 'document', required
      - `text` string
    - `body` object, required
      - `text` string, required
    - `footer` object
      - `text` string, required
    - `action` object, required
      - `name` 'cta_url'
      - `parameters` object, required
        - `display_text` string, required — Label of the button
        - `url` string, uri, required — URL opened when the button is tapped

## Response `200`

Message sent successfully

- object
  - `id` string, uuid, required — Id of the created message

## Other responses

- `400` — Bad request — invalid input data, or the message was rejected by the WhatsApp Cloud API (e.g. invalid template)
- `401` — Unauthorized
- `404` — Sender phone number not found or not linked to a WhatsApp Business Account

---

[API](https://skmtc.net/indigohive/apis/cogfy-messenger-public-api.md) · [All operations](https://skmtc.net/indigohive/apis/cogfy-messenger-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/indigohive/cogfy-messenger-public-api/revisions/30bd33ee45c9/schema)
