Files
Upload file
A request must be less than 100mb.
post/v4/folders/{folderId}/files
Request
- Base URL: https://api.inmobile.com
- URL: https://api.inmobile.com/v4/folders/{folderId}/files
- Auth: one of:
- HTTP basic
- API key in query parameter apikey
Path parameters
folderIdstring guid required
The ID of the folder to upload the file to
Request body
Example request
{
"fileName": "file.png",
"mimeType": "image/png",
"data": "iVBORw0KGgoAAAANSUhEUgAAAAUA"
}Response
An object that contains the ID and URL of the uploaded resource.
Example response
{
"id": "81780a45-ee03-4d02-950b-f623a117a2ef",
"url": "https://example.inmobile.com/12345678-1234-1234-1234-123456789012/file.jpg"
}Changes
No recorded changes to this operation across all 1 revision of this API.