Skip to content
Dark mode

Get an upload URL

Returns a secure, temporary URL and an upload key for transferring a file to Mindtickle Content Center.

Prerequisites

  1. Authentication and setup: A valid access token.
GET /services/data/v1.0/content/upload-url

Base URL: the standard REST host for your region. See Base URLs.

Headers: Authorization: Bearer ACCESS_TOKEN.

Parameter Type Required Description
file_name string Required Name of the file to be uploaded. Must include the file extension and be under 250 characters.

This endpoint has no request body.

GET /services/data/v1.0/content/upload-url?file_name=example.pdf
Field Type Description
upload_url string Temporary URL to upload the file to.
upload_key string Key of the uploaded file.
{
"upload_url": "https://storage.example.com/uploads/example.pdf?signature=EXAMPLE_SIGNATURE",
"upload_key": "1234/56789_example.pdf"
}
  • Usage: Save the upload_key for later use in the sync operation, then use the upload_url with an HTTP PUT request to upload your file.