Error
A valid request URL is required to generate request examples{
"files": [
{
"createdAt": "2023-11-07T05:31:56Z",
"fileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fileSize": 123,
"height": 2,
"mimeType": "<string>",
"originalName": "<string>",
"url": "<string>",
"width": 2
}
],
"pageNumber": 2,
"pageSize": 55,
"total": 1
}{
"errors": [
{
"debug": {
"maxLength": 200
},
"errorType": "ModelValidationError",
"field": "searchText",
"message": "searchText must be 200 characters or fewer"
}
]
}System Errorfile-upload
List account images
Returns a paginated list of active image files for the account (for image picker). When searchText, fileType or source is supplied, only the most recent 5000 files are considered: total counts within that window and later pages are not reachable. With kind=file, lists ready hosted documents, newest first; fileType, source, includeImported and sort are rejected.
GET
/
api
/
file-upload
Error
A valid request URL is required to generate request examples{
"files": [
{
"createdAt": "2023-11-07T05:31:56Z",
"fileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fileSize": 123,
"height": 2,
"mimeType": "<string>",
"originalName": "<string>",
"url": "<string>",
"width": 2
}
],
"pageNumber": 2,
"pageSize": 55,
"total": 1
}{
"errors": [
{
"debug": {
"maxLength": 200
},
"errorType": "ModelValidationError",
"field": "searchText",
"message": "searchText must be 200 characters or fewer"
}
]
}System ErrorQuery Parameters
Set to file for a hosted document (.pdf, .docx, .pptx, .csv, .txt, at most 10 MB) used by the Benchmark email editor's file links. kind=file is for the email editor only: requests authenticated with an API key receive 403. With kind=file, source and dedupe are rejected on upload, and fileType, source, includeImported and sort on the list. Omit it for the image library.
Available options:
file