Prepare Media for Download
EVENTwebhook
This endpoint is triggered to notify that the media file has been processed and is now ready for download.
Request
Header Parameters
x-businessId stringrequired
Identificador do negócio
x-instanceId stringrequired
Identificador da instanceia
x-whatsappId stringrequired
Identificador do whatsapp conectado
- application/json
Body
event string
Possible values: [prepared.media
]
instance object
instanceId string
name string
state string
Possible values: [active
, inactive
]
connection string
Possible values: [refused
, close
, open
]
createdAt date-time
WhatsApp object
whatsappId string
remoteJid string
pictureUrl string
pushName string
createdAt date-time
Business object
businessId string
name string
data object
mediaId string
size integer
filename string
mimetype string
Responses
- 200
The API successfully acknowledged the notification, returning a 200 status to confirm the successful receipt.
Loading...