Create a line item attachment

Needs permission pay-run:write.

Creates attachment metadata records for a payroll line item and returns where to upload each file. Send each file's metadata (filename, contentType, exact fileSize) in this request, then PUT each file's bytes to its uploadUrl with the returned headers, within 15 minutes.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the employee

string
required

The ID of the payroll line item

Body Params
attachments
array of objects
required

The collection of attachment metadata to add

attachments*
Headers
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json