Messages
Upload media to WhatsApp
Changed onUploads a file to WhatsApp Cloud API. Use the returned id as document.id when calling POST /messages/document.
post/messages/upload-media
Request
- Base URLhttps://messenger-public-api.cogfy.com
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Media uploaded successfully
Changes
- info
endpoint added
- info