What is the URL of the http functions when using editor X?

I am trying to use ‘wix-http-functions’ to catch a post request made by a webhook. The problem that I am having is that I have to provide an URL to the webhook so that it will know where to send the request. When I look at the documentation it says that I should use

// URL to call this HTTP function from your published site looks like: 
// Premium site - https://mysite.com/_functions/example/multiply?leftOperand=3&rightOperand=4
// Free site - https://username.wixsite.com/mysite/_functions/example/multiply?leftOperand=3&rightOperand=4

I tried using both “username.wixsite.com” and “username.editorx.io” (I am using my account username and not the word “username”), but I am still not getting the function to trigger.

I would really appreciate it if somebody can provide me with the correct URL format. Thank you in advance!

Hi @fi8office ,
I’m Jonathan from the Editor X Team.
Maybe this article can be helpful to you, but I think you can find the best answer for your question on the Velo Forum .

Thank you for the answer! I have already reviewed most of the posts about ‘wix-http-functions’. I understand how they work when your domain is from the wix editor, but I am not sure what the domain is supposed to be when I am using editorX. I will continue looking for the answer on the Velo Forum.

Hey @fi8office , Any luck on this?
I’m stuck with the same

For a free site it is “https://username.editorx.io/yourSite/_functions/yourFunction”
Remember to publish at least once to activate http-functions for both saved or published site