> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wadial.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send image

> Send an image message from a connected token.

The token must be paired and `connected: true`.

Use `Idempotency-Key` when retrying the same send.

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.wadial.com/api/v1/sessions/{sessionId}/messages/image" \
    -H "Authorization: Bearer $WADIAL_API_KEY" \
    -H "Content-Type: application/json" \
    -H "Idempotency-Key: order-123-image-v1" \
    -d '{"to":"15551234567","content":{"type":"image","mediaUrl":"https://example.com/receipt.jpg","mimetype":"image/jpeg","caption":"Receipt copy"}}'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": {
      "to": "15551234567",
      "contentType": "image",
      "mediaUrl": "https://example.com/receipt.jpg",
      "caption": "Receipt copy",
      "status": "sent"
    }
  }
  ```
</ResponseExample>
