kirim.dev/ docsGet started
Menu

Media

Send images, documents, audio, video, and stickers — either by uploading first, or by a public link.

Upload media

Upload returns a media id you can reuse across messages:

POST https://api.kirim.dev/v23.0/{PHONE_NUMBER_ID}/media

Send a multipart/form-data body with the file and its type, exactly as the Cloud API expects.

Send by media id

image by id
{
  "messaging_product": "whatsapp",
  "to": "62812XXXXXXX",
  "type": "image",
  "image": { "id": "MEDIA_ID" }
}

Send by link

Skip the upload and reference a publicly reachable URL:

image by link
{
  "messaging_product": "whatsapp",
  "to": "62812XXXXXXX",
  "type": "image",
  "image": { "link": "https://example.com/photo.jpg" }
}
Payload details:Supported media types, size limits, and the upload format are in Meta's Cloud API reference →