
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
- Urgent: Persistent 401 Unauthorized Erro...
Dear Appwrite Support Team, I'm facing persistent 401 Unauthorized errors when Stripe sends webhooks to my Appwrite function ((67df04b2002c75516639)). This occu...
- Webhook from external service
I want external service webhook could send a post request to my appwrite function and I use that to update my db. The problem is X-Appwrite-Project header that ...
- Webhook cannot be deleted
After the webhook has been deleted, it can no longer be seen on the page. However, it has been observed that the appwrite-worker-webhook container is still gen...
