Messages

Send interactive CTA URL message

Changed on

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.

post/messages/interactive/cta_url

Request

Request body

fromstring required

WhatsApp id of the sender phone number

tostring required

Recipient phone number, digits only, including country code

Response

Message sent successfully

idstring uuid required

Id of the created message

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • breaking

      request body became required

    • breaking

      the request property / became not nullable

    • breaking

      the request property / became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property / became required

    • breaking

      the request property // became required

    • breaking

      the request property /// became required

    • breaking

      the request property /// became required

    • breaking

      the request property / became required

    • breaking

      the request property // became required

    • breaking

      the request property // became required

    • breaking

      the request property // became required

    • breaking

      the request property became required

    • breaking

      the request property const value cta_url was added

    • breaking

      the request property const value cta_url was added

    • breaking

      removed the enum value cta_url of the request property //

    • breaking

      removed the enum value cta_url of the request property /

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property's minLength was increased from 0 to 1

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      the response property became required for the status

    • info

      the response's property pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ was added for the status