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

please help :)
26 Replies
ogamer14⚡
ogamer14⚡OP4w 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
Jochem4w ago
so basically you're looking for a custom tutorial on how to implement webhooks for an undefined project?
ogamer14⚡
ogamer14⚡OP4w ago
yh its my gaming store
Jochem
Jochem4w ago
do you have a gaming store already?
ogamer14⚡
ogamer14⚡OP4w ago
yes but i need webhooks to finis h
vince
vince4w 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⚡OP4w ago
i dont understand anything there
vince
vince4w 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⚡OP4w ago
awh dang
vince
vince4w ago
There's too much to teach you to help you with this if you have no understanding of it already honestly
ogamer14⚡
ogamer14⚡OP4w ago
no like ik what is a webhook i only need a tutorial how to make one
vince
vince4w 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⚡OP4w ago
im on tebex and i use html but ik python and a bit in js
vince
vince4w 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⚡OP4w ago
so i do that in js ? in vs
vince
vince4w ago
Which brings us back to 'if you don't understand it, then you'll probably hire a developer'
ogamer14⚡
ogamer14⚡OP4w ago
no like i only need wht language should i use
vince
vince4w 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
Jochem4w 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⚡OP4w ago
okay thanks
vince
vince4w 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⚡OP4w ago
thanks guys
ogamer14⚡
ogamer14⚡OP4w ago
btw the token is in the website url right?
vince
vince4w 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⚡OP4w ago
alr
Want results from more Discord servers?
Add your server