Reading group shouts through the roblox api

I am currently trying to create a script to fetch the shout of a group I do not own, but have permissions to view the shout in. I have set up an api key with the group:read permission. The script I am using is in python. When I make my GET api request, I am returned with error 403. Do anyone know how I can fix this?

What is the statusText ? (the messagethat came with the 403 error)

1 Like

I… don’t think that’s possible.

1 Like

My code (in python) looks like this:

and I’m using this page as reference: GroupShout | Documentation - Roblox Creator Hub

I believe the problem is how I’m formatting the data, but I am unable to find anyone who has done a similar thing on the latest api version.

I think it’s an issue with your api key, or your roblo security, have you signed in with roblo security?

What is roblo security? Also how do I sign into it in a script?

I have figured out the problem, it was bad formatting. Instead of sending over the header with the key, I was sending it as api data. For future reference, you declare a variable with the format: var = {‘x-api-key’: ‘apikey’} and then use requests.get(“website”, headers=var)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.