I used the https://api.roblox.com/sign-out/v1 endpoint to get the x-csrf token from roblox, this worked fine until recently I’ve noticed this endpoint does not work anymore and would return a 404, this caused my group bot to stop working.
So I’m wondering if there is another way to get the token?
Sorry if this is not the right place for this.
This may be a little late but I get the X-CSRF token by going to the home page then by parsing through the html to find it (just get the script tags and boom)
I’m not exactly sure how it would work for actual users who are just using the website, but back when I was constantly pulling the tokens for a bot (using the link @Diltz_3 provided), it would re-generate every 1-2 minutes or so.