Media
Create media
Creates a new media upload document. This includes a temporary upload policy to allow a file upload through a POST request.
Media uploads
Media uploads require a mutli-part POST request to the URL in the meta.upload.url property in the response object:
- The request must include as standard form keys the key-value pairs located in the meta.upload.fields property.
- The request must include the file as the last key under the name file.
Blocked extensions
The following file name extensions are blocked and cannot be used as attachments:
- .bin
- .bat
- .chm
- .com
- .cpl
- .crt
- .exe
- .hlp
- .hta
- .inf
- .ins
- .isp
- .jse
- .lnk
- .mdb
- .msc
- .msi
- .msp
- .mst
- .pcd
- .pif
- .ps1
- .reg
- .scr
- .sct
- .shs
- .vbe
- .vba
- .vbs
- .wsf
- .wsh
- .wsl
post/media
Request
- Base URL: https://api.kustomerapp.com/v1
- URL: https://api.kustomerapp.com/v1/media
- Auth: httpBearer (a scheme the document does not define)
Request body
Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.