Skip to main content
POST
/
payroll
/
line
/
{employeeId}
/
{lineId}
/
attachments
Add attachments to a payroll line item
curl --request POST \
  --url https://api.sandbox.flowpayroll.ai/v1/payroll/line/{employeeId}/{lineId}/attachments \
  --header 'Content-Type: application/json' \
  --header 'X-Auth-Token: <api-key>' \
  --data '
{
  "attachments": [
    {
      "filename": "invoice.pdf",
      "contentType": "application/pdf",
      "fileSize": 102400
    }
  ]
}
'
"<unknown>"

Documentation Index

Fetch the complete documentation index at: https://docs.flowpayroll.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

Path Parameters

employeeId
string
required

The ID of the employee

lineId
string
required

The ID of the payroll line item

Body

application/json
attachments
object[]
required

The collection of attachment metadata to add

Minimum array length: 1

Response

Attachment upload URLs generated successfully

The response is of type any.