Get a presigned URL to upload a file to Simpplr

This API allows us to get a presigned URL for uploading files to Simpplr. Few points to note:

  • The upload_url(presigned URL) in the response should be used with PUT method to upload the file.
  • The presigned URL should be invoked with same Bearer token as this API.
  • The file_id should be saved for linking with entities via other APIs.
Body Params
string
required
length between 1 and 500

Name of the file to be uploaded

integer
required
≥ 1

Size of the file in bytes

string
length between 0 and 500

Alt text for the file

string
length between 0 and 100

MIME type of the file

string | null
enum

Type of file being uploaded

Allowed:
string | null
enum
Defaults to null

Context in which the file is being uploaded

Allowed:
uuid

UUID of the site where the file is being uploaded

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json