Can Anyone help me how to create a webhook for my store in tebex?

please help :)
26 Replies
ogamer14⚡
ogamer14⚡OP2mo ago
so i basically dont know how to so if anyone can help what language should i use how i really need it for login webhook and other webhooks
Jochem
Jochem2mo ago
so basically you're looking for a custom tutorial on how to implement webhooks for an undefined project?
ogamer14⚡
ogamer14⚡OP2mo ago
yh its my gaming store
Jochem
Jochem2mo ago
do you have a gaming store already?
ogamer14⚡
ogamer14⚡OP2mo ago
yes but i need webhooks to finis h
vince
vince2mo ago
I'm assuming you'll need to use the API which is documented on their site: https://docs.tebex.io/developers/headless-api/overview
ogamer14⚡
ogamer14⚡OP2mo ago
i dont understand anything there
vince
vince2mo ago
Then you'll either need to contact whoever made / platform that made your website to see if they can help you or hire a developer
ogamer14⚡
ogamer14⚡OP2mo ago
awh dang
vince
vince2mo ago
There's too much to teach you to help you with this if you have no understanding of it already honestly
ogamer14⚡
ogamer14⚡OP2mo ago
no like ik what is a webhook i only need a tutorial how to make one
vince
vince2mo ago
I think where Jochem was going with this before I rudely interrupted (😉) is maybe what platform are you on? What technology are you using? We need more information
ogamer14⚡
ogamer14⚡OP2mo ago
im on tebex and i use html but ik python and a bit in js
vince
vince2mo ago
Okay, so to keep this as simple as possible you'll need to follow the documentation I linked and implement it via JS
ogamer14⚡
ogamer14⚡OP2mo ago
so i do that in js ? in vs
vince
vince2mo ago
Which brings us back to 'if you don't understand it, then you'll probably hire a developer'
ogamer14⚡
ogamer14⚡OP2mo ago
no like i only need wht language should i use
vince
vince2mo ago
You can implement it in any language, it's just an API call. Their default language in the docs is JS but they have some in Python too. It would probably be easiest to use a web framework like Django if you're using Python to implement this Python:
import requests

response = requests.get(
"https://headless.tebex.io/api/accounts/{token}/categories",
headers={},
)
data = response.json()
import requests

response = requests.get(
"https://headless.tebex.io/api/accounts/{token}/categories",
headers={},
)
data = response.json()
From their documentation
Jochem
Jochem2mo ago
this isn't the kind of project you can tackle as a complete beginner, not even with a tutorial. You're asking someone to hold your hand through the entire process, and that's not something you can expect anyone to do
ogamer14⚡
ogamer14⚡OP2mo ago
okay thanks
vince
vince2mo ago
Feel free to update here if you have some small questions, I don't mind helping but yea like we said it's a bit too much to handhold you through all of this if you don't really understand it. Tebex has their own 'webstore' builder it looks like - I'd recommend using that
ogamer14⚡
ogamer14⚡OP2mo ago
thanks guys
ogamer14⚡
ogamer14⚡OP2mo ago
btw the token is in the website url right?
vince
vince2mo ago
Yep based off the api documentation I linked, it'll need to be called in the url it looks like But I don't have any experience with this API, you'll get much better information reading the docs yourself
ogamer14⚡
ogamer14⚡OP2mo ago
alr
Want results from more Discord servers?
Add your server