#qwrts_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1314318972690108487
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ in order to receive Events on a webhook endpoint, you have to have a server or some sort of hosting solution where your webhook endpoint code, that runs when it receives an Event, can reside and be executed.
Then that endpoint also needs to be publicly accessible so our system can reach it to deliver Events.
I do have a server but it was host from third party (I'm using Cybrancee)
where should i be looking for. do you have any examples?
Not for that specific hosting provider, and not without understanding what stack you're using to host your webserver on that provider.
I'd suggest confirming the what you're using to run your webserver on that server, and then consult the documentation for that solution regarding how to build an endpoint/API in it.
I'm currently hosting for Discord bot (this project i'm working on) and using NodeJS / its running on Docker (NodeJS 23)
they have options for Discord bot hosting and Web hosting. Does this mean i have to hosting another server?
I'm not sure, I don't know what exactly they're offering you to use. You can check with hosting provider to see if they offer what you need.
Like I know for Node environements, a lot of folks will use Express as their webserver. But if the environment you're using is containerized there may be networking configurations/requirements that are specific to that environment.
what I need to prepare?
I need a webserver of my own and it's URL (just unique url of it)?
or anything else?
That's the gist of it.
You need a server hosting a webserver, which is hosting your endpoint.
You need that endpoint to be publicly available and for it to be accessible via a URL that you can share with us.
Then you need to write code to run on that server/endpoint that processes the Events we send to it.
from what I understand
I need a webserver which hosting my endpoint (like using Express, etc.) and I need to copy that URL and endpoint to fill for creating the webhook
I'm i right?
Yes
Though I'm not too sure what you mean by "copy that URL". The URL that you use will be based on which domain you purchase/maintain, in conjuction with the path you set when creating the endpoint in your webserver.
example like i purchased a server for website (such as example.com) and create a webserver from it (example.com/stripe-webhook)
that example.com/stripe-webhook is the endpoint URL right?
Yup
thank you so much. Its a lot clear now
Any time!
the thread will automatically close right?
I'll close it out