Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
multipart/form-data
curl --request POST \
--url https://app.pennylane.com/api/external/v2/ledger_attachments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'filename=Name of the file. If not provided, the default value will be the uploaded file name.' \
--form file=@example-file
{
"url": "<string>",
"id": 123,
"filename": "<string>"
}
Upload a file to attach to a ledger entry. The maximum allowed file size is 100MB. Note that this will not upload a file into the DMS (GED).
ℹ️ This endpoint requires one of the following scopes:
ledger
curl --request POST \
--url https://app.pennylane.com/api/external/v2/ledger_attachments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'filename=Name of the file. If not provided, the default value will be the uploaded file name.' \
--form file=@example-file
{
"url": "<string>",
"id": 123,
"filename": "<string>"
}
The access token received from the authorization server in the OAuth 2.0 flow.
Was this page helpful?