Skip to main content
POST
Create an upload

Authorizations

Authorization
string
header
required

A Parley API key.

Body

application/json
fileName
string
required

The file name, including its extension, such as engagement-letter.pdf. The file keeps this name in Parley.

Required string length: 1 - 255
Pattern: ^(?!\.+$)[^/\\]+$

Response

Created.

id
string
required

Pass as uploadId when adding a file or when creating or updating a skill, once the upload finishes.

url
string<uri>
required

PUT the file's bytes to this URL in a single request. Send no Authorization header.

expiresAt
string<date-time>
required

When the url stops accepting uploads.