Add comprehensive API v1 with OAuth and API key authentication #2389
Reference in New Issue
Block a user
Delete Branch "api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Key Features
Authentication & Authorization
API Endpoints
GET /api/v1/accounts): List user accounts with paginationGET/POST/PUT/DELETE /api/v1/transactions): Full CRUD with advanced filteringGET /api/v1/usage): Track API usage and rate limit statusDeveloper Experience
Security & Performance
Test Coverage
Breaking Changes
None - this is a new API version that doesn't affect existing functionality.
Next Steps
After this PR, we can add more endpoints for:
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
Thank @Shpigford for this implementation, it's one of the most useful features! As I keep experimenting with Maybe, I find it more and more useful and interesting! I hope it will be available also in self-hosted!
Hey guys, quick question, is there any swagger somewhere on how to use the API ? I mean for GET is fine, but I'd love to have some docs on how to POST, PUT for example :)
Thanks in advance
@mercierv Not at the moment as we haven't officially launched it. 🤫
Dang :/ but I understand :) thanks
Is there any way you guys could still help me figure out what are the mandatory parameter for creating a transaction ? 🙈 and I suppose it's a basic JSON body....
Cheers
this worked for me, I fed the api code into AI and asked it to figure it out for me lol.
there is also
category_id,merchant_id(single uuid) andtag_ids(array of uuids),notes,description(string) but I didn't test all of these.Man ! you're awesome, I will try this during the day. Cheers mate
I've been testing it and it works like a charm. Only thing missing now is the ability to have a list of all the category ID :) Thanks again
Quick question, did you manage in any way to create transactions in bulk?
Not with a single call no, I don't think it is possible currently.
Nha was not able to unfortunately. But I use n8n for setting up transaction, so it's in bulk in a sens but transaction per transaction
Gotcha! Yeah, I did the same by setting up a n8n workflow as well. Seems to work like a charm. Too bad that gocardless has strict rate limits (4 requests per day) and can't test it now that I finished it because I already hit my rate limits during dev haha.