What is a media file
Media file storage location
The storage space used by this feature is a dedicated storage area that DingTalk provides to organizations. It does not belong to an organization’s Drive space. Files uploaded through this feature’s APIs do not consume the organization’s Drive space.Storage validity
There is no time limit on how long files are stored by this feature. As long as the DingTalk organization is not dissolved, themedia_id returned when uploading a file remains valid for ongoing use.
Open capabilities overview
Media files provide a comprehensive set of open API capabilities. Developers can use these APIs to integrate media files with their organization’s business systems.| API | Description | API version |
|---|---|---|
| Upload a media file | Upload images, voice media resources, and general files. | Legacy |
Tutorials
DingTalk provides sample integration flows for the media file APIs. See the table below:| Tutorial | Feature description | Audience | Demo download |
|---|---|---|---|
| Upload a media file and send a work notification | Upload a media file and send message notifications. | All DingTalk developers | file-demo.zip |