Adds rich media objects (images, videos, etc.) to an existing alert.
This endpoint is useful for sending in rich media such as profile pictures, ID card scans, official documents etc. that you want available for investigative and verification purposes.
Supported file types are: txt, pdf, video (mp4, mov, wmv, avi, mkv), images (png, jpg, tiff, gif, raw, eps). The max file size is 5 MB per file.
The payload to this endpoint can either be a form-data or a base64 encoded media file via the requests JSON body.
Form-data sent to this endpoint must use the key media_key and the value as the media file. If you wish to provide optional information, use the media_key and provide stringified JSON data as the value. There are no required fields in each media file's supplementary form data. However, if a recognized media_type value is provided, the Unit21 system will be able to use the media object for purposes such as document verification.