HELP Block User API

How do I use this?

api.roblox.com/docs#UserBlock

I tried doing api.roblox.com/userblock/useridhere/block but that doesnt seem to work, I can’t seem to get much information with this old api.

Please help thanks.

1 Like

Are you trying to call it within studio or Roblox, or on a diff site like glitch

If it is on a site like glitch, use noblox.js

1 Like

call via python program (i have authorisiations already)

Maybe it requires a csrf token?

1 Like

ofc but i dont know how to call the block api, thats the main issue

I have not used this API before, so I can’t help too much. I have really only worked with noblox.js and it worked amazing

1 Like

See accountsettings.roblox.com.

1 Like

I assume you have to make a POST request to api.roblox.com/userblock/block and pass the userId parameter inside the payload/body parameter of the request(instead of directly including it in the URL).

1 Like

worked like a charm thanks :DDDD

1 Like