Skip to main content
POST
cURL
Create an upload session and get a pre-signed upload URL. Upload the file bytes to the uploadLocation, then call the complete endpoint to finalize the file and receive a public URL.

Example

Response:
Then upload the file bytes to uploadLocation:
Finally, complete the upload:
Note that Glide will delete this file within 30 days if the URL is not stored in a table in Glide.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appID
string
required

ID of the app, e.g., mT91fPcZCWigkZXgSZGJ

Example:

"mT91fPcZCWigkZXgSZGJ"

Body

application/json
contentType
string
required

MIME type of the file, e.g., image/png

Example:

"image/png"

fileName
string
required

Name of the file

Example:

"logo.png"

Response

data
object
required