List files settings
Core API
- Concepts
- Authentication
- Countries
- Users
- KYC
- Capabilities
- Terms of Service
- Files
- Assets
- Accounts
- External Accounts
- Transactions
- Webhooks
List files settings
List files upload settings.
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
OAuth 2.0 authentication.
Query Parameters
Filter settings by file category (e.g. image).
Available options:
document
, image
, video
Response
200 - application/json
File settings retrieved.
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
}
}
}