GET
/
core
/
files
/
settings
curl --request GET \
  --url https://api.enterprise.sandbox.uphold.com/core/files/settings \
  --header 'Authorization: Bearer <token>'
{
"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
}
}
}

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Query Parameters

category
enum<string>[]

Filter settings by file category (e.g. image).

Maximum length: 3

Response

200 - application/json

File settings retrieved.

The response is of type object.