API endpoint to import available transactions from linked banks

I am building an app to trigger notifications if you have more than a certain number of transactions to import. 

For example, the app would check everyday for transactions to available to import from linked accounts. If there are let's say more than 10 transactions, it will notify the user (via SMS/Email) that their account needs attention. 

Currently /budgets/{budget_id}/transactions does not return transactions that are available for import. 

The only way this is possible now is to manually log in in the Web or the mobile app and click "import". 

What API endpoint should I use to perform this task? 

9replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • This is not currently supported but is on our request list.  Transactions pending import are not currently included in API responses.

    Like
  • Hi Brady, any updates Transactions Pending Import as part of the API responses? It would be super helpful. Thanks!

    Like
  • Brady I thought I tagged you in my last comment but I guess it didn't take. 

    Like
    • Beige Inspector Not yet!  I would like this as well :) . It's on the list.

      Like
    • Brady  Thank you for your reply! I know you can't give any hard and fast ETA, but if you knew whether it was weeks away or likely many months away, that would be really helpful to know. We are planning our workflows for a large team of bookkeepers, and this feature would be a key part of that. Thanks!

      Like
    • Brady  And if we don't have transactions pending import yet as a question we can answer through an API, is there a way to trigger through an API that transactions be imported into YNAB from the bank account? Thanks!

      Like
  • Beige Inspector - Neither requesting pending transactions nor importing the pending transactions is supported in the API.  There is some initial work on this and it is in the pipeline so we intend to support it.  So, an estimate would be: "hopefully weeks, but maybe months".  😅 Hope that helps.

    Like
    • Brady Ok thanks for the insight. :) Just to confirm, we aren't talking about transactions that are pending in the bank account, waiting to clear. We are talking about cleared transactions in the bank account that just have not been imported into YNAB yet because the Import button has not been pressed, right? Thanks!

      Like
    • Beige Inspector Yep - that is correct.

      Like 1
Like Follow
  • 2 days agoLast active
  • 9Replies
  • 161Views
  • 3 Following