Skip to content
Back

Steps to Enable HTTP Access to appwrite Function

  • 0
  • Functions
De Pro
3 Jun, 2025, 08:48

Hi Appwrite team,

I have created a function and I want it to receive and incoming post request from a webhook( a webhook that notifies the function to update the database after initiating a payment), but I can't find any option to enable an HTTP endpoint in the function settings. I want to receive raw POST requests without headers like X-Appwrite-Project(since the third party doesn't have that). How can I expose a public URL for my function that third-party services can call directly?

Thanks in advance!

TL;DR
Developer wants to enable HTTP access to an Appwrite function to receive raw POST requests from a webhook. They are looking for a way to expose a public URL for the function. The solution is to use the "Execute Function" API endpoint and set the parameter `exec` to true to allow it to act as an HTTP endpoint.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more