cURL
curl --request GET \ --url https://api.enterprise.sandbox.uphold.com/core/files/settings \ --header 'Authorization: Bearer <token>'
200
Settings List Retrieved
{ "settings": { "document": { "allowedContentTypes": [ "application/pdf", "image/jpeg", "image/png" ], "maxFileSize": 25000000, "minFileSize": 1, "expiresIn": 900 }, "image": { "allowedContentTypes": [ "image/jpeg", "image/png" ], "maxFileSize": 15000000, "minFileSize": 1, "expiresIn": 900 }, "video": { "allowedContentTypes": [ "video/mp4", "video/mpeg" ], "maxFileSize": 100000000, "minFileSize": 1, "expiresIn": 900 } }}
List files upload settings.
OAuth 2.0 authentication.
Filter settings by file category (e.g. image).
3
Show child attributes
File settings retrieved.
The response is of type object.
object