
Is it possible to create a database collection in Appwrite using REST API from flutter code?

Creating collection from Client side SDK is prohibited due to security reasons. You can use the Server SDK for that (though its not recommend to use in the client apps)
One thing you can do is create a cloud function and you can execute this manually from client side

Thank You

You can via REST, on client or server. Just need to pass key

You can't via client side sdk, like @Maniac_Fighter explain. But if you use fetch from browser (or other), np

Nevertheless, it's not recommended to use API Key in frontend

If all is ok for you. Don't forget to add [SOLVED] at begin of your post title, by editing it
Recommended threads
- 2 Columns still processing since yesterd...
Hey o/ Yesterday (around <t:1758045600:f>), I created a database and added several columns to it. After about 15 minutes, most of the "processing" tags disappe...
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Row with the requested ID already exists...
I’m hitting a blocking issue creating rows in Appwrite (both from the console and my React Native app). After successfully inserting the first row, every subseq...
