Skip to main content

image

To send images, use the image reply type.

tip
You can also use the equivalent image DSL tag.

Properties

PropertyTypeRequiredDescription
imageUrlStringYesImage URL.
textStringNoImage description.

Syntax

{
"type": "image",
"imageUrl": "https://example.com/image.png",
"text": "See the image"
}

Channel restrictions

image is not supported in the following channels:

  • Chat2Desk
  • Slack
  • Webim (Custom Channel API)
  • Zendesk Chat

How to use

state: Discount
a: Take advantage of our special hot deal and get 10% off tickets to Bangkok!
script:
$response.replies = $response.replies || [];
$response.replies.push({
"type": "image",
"imageUrl": "https://example.com/bangkok.jpg"
});