Send image

Sends an image to the customer with customer_id.

Path Parameters
  • customer_id
    Type: integer
    required

    Identifier of the customer.

Body
required
application/json
  • url
    Type: stringFormat: uri
    required

    Public URL of the image to send.

  • caption
    Type: string

    Optional caption attached to the image.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/customers/{customer_id}/send_image/
curl https://api.landbot.io/v1/customers/1/send_image/ \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Token YOUR_AGENT_TOKEN' \
  --data '{
  "url": "https://www.helloumi.com/wp-content/uploads/2016/05/umi_face_favicon.png",
  "caption": "Umi"
}'
{
  "success": true
}