📌
Netcore - WhatsApp Business API
  • Introduction
  • Getting Started for business
  • Whatsapp use cases (Templates)
    • Ecommerce
    • Travel
    • Broking /Securities
    • Banks
    • Mutual Funds
    • Insurance
    • Automobile
    • Media/Events
    • Education
  • Error Codes
  • API for developers
    • Consent API
      • Manage Opt IN /Opt OUT
    • Message API
      • Send Text message
      • Send Media message
        • Send Media message using Media ID
        • Send Media message using URL
      • Send Location message
    • Template Message API
      • Template Message API
    • Media API
      • Upload Media
      • Get Media
      • Delete Media
  • Webhooks
    • Delivery Message
    • Incoming Message
      • Incoming message-media
      • Incoming message location
      • Incoming message-text
  • Button Feature
  • Encryption
  • Reports
    • Delivery reports
    • Conversation Logs
  • FAQs
    • Getting started
    • Accepting Netcore WA request
    • Getting Business manager verified
    • Getting Opt ins
    • Message Templates
    • Allowed Notification types
    • Registration
    • Whatsapp language settings
    • Disallowed notification types
    • Quality rating and message limits
    • Message templates
    • Media in whatsapp
    • Miscellaneous queries
  • Contact Us
Powered by GitBook
On this page
  • Incoming Message - Media
  • Webhook Payload

Was this helpful?

  1. Webhooks
  2. Incoming Message

Incoming message-media

Incoming Message - Media

This webhook send incoming message as and when user send a media message. Media message can be 3 type -

  • Image

  • Audio

  • Video

    When user gives a reply to a previous message then context will be provided.

Method: POST

Parameters:

Parameter

Description

Data Type

ncmessage_id

ncmessage_id is unique id which is given when you send any message via PUSH api.

String

message_id

Unique message id

String

received_at

The time of status. The time when the message is received

Date - Time

mesage_type

The type of message will be -

  • IMAGE

  • VIDEO

  • DOCUMENT

String

id

This will be media id. You can get the media from Media API.

String

caption

This will contain the caption of file name

String

from

The user mobile number

number

Webhook Payload

{
"incoming_message": [{
"message_id": "ABEGkZlgQyWAAgo-sOme7WUxlHHq",
"from": "919960432580",
"received_at": "1567091670",
"context": {
"ncmessage_id": null,
"message_id": null
},
"message_type": "IMAGE",
"image_type": {
"sha256":
"dd04cf3f58d890729201bbfa100c22ba02ab2a9353de793eddaf9fbbfda
c9cbb",
"mime_type": "image\/jpeg",
"id": "aa41ac0d-2eb4-4d4a-a212-03f3c0e2001d"
}
}]
}
PreviousIncoming MessageNextIncoming message location

Last updated 5 years ago

Was this helpful?