
Basically what I want to do is have a webhook to listen to some even and create a document in the Model collection in my database with some data coming from the payload.

That's essentially an Appwrite Function. However, the limitation right now is the request needs to be in a very specific format (headers and body).
The workaround is to put something in front to translate the request. you can use something like this: https://github.com/BoolCode/appwrite-funcover. In the next version of Appwrite, you won't need this.

I appreciate you sir @Steven

but @Steven why an endpoint before reaching the cloud function?

Please create a new post

Okay @Steven

I just did @Steven
Recommended threads
- I need help with web hook set up for doc...
I have been getting the error below in my web hook log. URL: https://webhooks-emmanuel-samuel-agbedejobis-projects.vercel.app/api/kyc-webhook Method: POST St...
- Cannot connect to Github after migration...
I have migrated from 1.6.1 to 1.7.4. First moving to 1.6.2, then to 1.7.0 and after that to 1.7.4. I tried to deploy a new site but the connection to github wa...
- Webhooks not working?
I have this webhook in appwrite but unfortunately this webhook isn't being triggered whenever I change something in the database. I've put the right databaseID ...
