I’m not sure what you’re trying to do here. You’re trying to receive every collection in the database? What exactly you’re trying achieve? Have you gone through the API documentation properly? Correct format would be,https://api.adalo.com/v0/apps/{appId}/collections/{collectionId}
What I suspect that such advices were generated by AI, which loves to hallucinate when it doesn’t have enough info.
I’ve just asked a simple question to ChatGPT “ADALO /records API endpoint” and enjoyed a 2-page text which looked very persuasive but was irrelevant to reality.
Yeah, exactly. This advice was actually generated by ChatGPT, but no matter how many times I try, it just keeps explaining how to get the API key — I can’t make any progress.
Here’s what I’m working on:
I’m trying to connect to Adalo’s Collection API from a Cloudflare Worker and implement a flow that writes records to a collection.
My current issue:
I’m getting an access error from the Collection API because the API key issued under Settings > App Access > API KEY doesn’t seem to match the APP ID.
I’m pretty sure I obtained the API key correctly — I followed ChatGPT’s steps and double-checked with Adalo’s API documentation.
I’ve been stuck on this error for days and I’m completely out of ideas. I’d be really grateful for any advice that could help me solve this.
I’m trying to connect to the Adalo Collections API from a Cloudflare Worker and implement a flow that writes records to a collection.
My current issue
I’m getting access errors from the Collections API because the API Key generated in Adalo (Settings → App Access → API Key) doesn’t seem to match the App ID.
What I’ve tested so far
I created a test endpoint /adaloProbe inside my Cloudflare Worker to verify the API connection.
The test requests and results are as follows:
GET /v0/apps/{APP_ID}/collections → 401 Access token / app mismatch
GET /v0/apps/{APP_ID}/collections/{CollectionID} → 200
POST .../records (empty body) → 401
I’ve asked AI tools for help, but they only keep repeating the same instructions on how to get the API Key.
Since I’m already retrieving all IDs and URLs directly from the API Documentation page, I’m stuck in a loop and can’t find a way to fix this issue.
Request
I’d really appreciate any advice or clarification on this behavior — why the API key and app ID might not match, or how to correctly make authorized requests to the Collections API from an external environment.
@Gen as I have mentioned: “text which looked very persuasive but was irrelevant to reality.”.
You are following a misleading advice from ChatGPT and trying to use methods which do not exist, so there is no surprise they don’t work for you.
Endpoints /collections (alone) and /records do not exist.
To view the documentation for the endpoints for Adalo Collections API, in the App builder select “Database”, then choose the collection you need, press three dots → API documentation. A new page will open with all the endpoints for that (and other) collections.
Additionally to what Victor mentioned, please refer to this help docs which includes some visuals for better clarification. : Collections API | Adalo Resources