Skip to main content
PUT
/
templates
/
{id}
/
upload
Get fresh upload URL for template file
curl --request PUT \
  --url https://api.nexrender.com/api/v2/templates/{id}/upload \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>",
  "method": "PUT",
  "fields": {},
  "expiresIn": 123,
  "key": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using API tokens for team-based access control.

You can generate your own API token at: https://app.nexrender.com/team/settings

Path Parameters

id
string
required

Unique template identifier to get upload URL for

Response

Successfully generated fresh upload URL with credentials

Presigned upload URL and metadata for securely uploading template files to cloud storage

url
string
required

Presigned upload URL with temporary access credentials

method
enum<string>
required

HTTP method required for the upload operation

Available options:
PUT,
POST
expiresIn
integer
required

Time in seconds until the upload URL expires and becomes invalid

key
string
required

Unique storage key/path where the uploaded file will be stored

fields
object

Additional form fields or headers required for successful upload

I