Okapi Okapi

POST /api/external/v2/ledger_attachments → endpoint removal

Pennylane API

Deprecated, no date

The provider has deprecated POST /api/external/v2/ledger_attachments without a shutdown date. Calls hitting this endpoint will eventually fail. The change affects all requests previously used to upload a file through this route.


Calls it hits

  • POST /api/external/v2/ledger_attachments

What to use instead of these calls

Use POST /api/external/v2/file_attachments instead. Note that moving to the replacement requires the file_attachments:all scope.

In Pennylane API's words

Deprecated: POST /api/external/v2/ledger_attachments (Upload a file) Use instead: POST /api/external/v2/file_attachments (Upload a file)

Pennylane API, Announcement

Facts

API
Pennylane API api.pennylane.com
Kind
Endpoint removal
Announced
January 14, 2026
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Pennylane API's own pages

Questions

When does this change take effect?

Pennylane API deprecated POST /api/external/v2/ledger_attachments without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Pennylane API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub