Mochi

API endpoint to retrieve the next card to review?

👋 I don't think this is exposed based on the API docs, but it would be super useful to just be able to make a single request that iterates through cards to review. For context, I'd like to build a Custom GPT that pulls the next card to review when asked, but I don't think CustomGPTs can exec custom code that I've written, but it might work if I just configure it with a single endpoint to call as an Action.

Hey RJ,

I just added a new endpoint for grabbing cards due. Please check it out:

All due cards:

https://app.mochi.cards/api/due

Cards due by deck:

https://app.mochi.cards/api/due/[deck-id]

Cards due on specific date:

https://app.mochi.cards/api/due?date=2025-10-14T04:56:54.711Z

Please note that this doesn't include cards that need to be re-reviewed.