Skip to main content
POST
Upload Job Preview Package

Authorizations

Authorization
string
header
required

Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.

Headers

Content-Type
enum<string>
required
Available options:
multipart/form-data

Path Parameters

projectUid
string
required

UID of the project

Body

multipart/form-data
file
file
required

Zip file containing the preview HTML and related asset (css, js) files

Response

Created

Job preview package

createdByRef
object
dateCreated
string<date-time>
fileName
string
fileUid
string

UID of the uploaded package file. Use this value as jobPreviewPackageFileUidRef.uid when creating a job. Do not use the top-level uid for this purpose.

jobUidRef
object

Reference to an object by its unique identifier

organizationRef
object
projectUidRef
object

Reference to an object by its unique identifier

taskId
string
uid
string