Send Image Message
POSThttps://public.leadpattern.com/whatsapp/message/image
Send an image to a contact using a public URL.
Headers
1 fieldAuthorizationstringrequired
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.
Body Parameters
2 fieldstostringrequired
Recipient phone number in E.164 format (with country code).
contentobjectrequired
urlstringrequired
Public URL of the image.
captionstringoptional
Image caption.
Responses
JSON Response
{
"type": "success",
"data": {
"messageId": "wamid.abc123",
"status": "sent",
"recipient": "9195XXXXXXXX"
}
}Sample Request Body
{
"to": "+9195XXXXXXXX",
"content": {
"url": "https://example.com/promo.jpg",
"caption": "Check this out!"
}
}
