Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Success
Upload an image, video, audio or document. You can use the return object directly when creating a new message. An internal UUID will be generated. This UUID will be used instead of providing a public URL to a file. You can use the URL field, which is reachable from public, for use in Whatsapp templates. Depending on the given type, mime type validation will take place. File will be stored for a maximum of 24 hours. Special: images will be downsized to 1500px (each side, respecting aspect ratio) to maintain file size limits when sending to external services (e.g. WhatsApp limits images to 5MB). Special: videos of type video/quicktime (usually from iOS) will be converted to mp4.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success