Hi, so I am trying to setup multiple services which send events through webhooks to my appwrite project.
I have setup functions that will receive and process these requests.
A typical configuration in these services asks for a webhookUrl at which they will send their updates. I understand this url would be the execution url of my function. Ex.https://myprojecturl/v1/functions/function-id/executions
- for external services to be able to hit an appwrite url, they need to include a header ie. x-appwrite-project:<ProjectId>. I dont see any configuration in these services where I can ask them to include this custom header in their requests. Is there a different way that I can allow requests?
- When working with these external requests the function must have "Guest" scope enabled, this means anyone can hit it. Is there any way that I can selectively allow only a certain service to be able to access my function?
- use the function domain instead.
- do the auth check in your function code. For example, for stripe, we check the webhook signature and validate it.
Recommended threads
- Appwrite docs mcp server 502 bad gateway
I added the appwrite docs mcp server to vscode following the docs https://appwrite.io/docs/tooling/mcp/vscode#step-1 but upon start it gives the following error...
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...