List Audit Log
List Group Audit Log
GET /api/roblox/group/audit-log
https://api.cookie-api.com/api/roblox/group/audit-log
Authentication Learn how to get your API Key and use it in your requests!
URL Parameters | |
---|---|
workspace_id | <workspace id> |
curl --location 'https://api.cookie-api.com/api/roblox/group/audit-log?workspace_id=12345' \--header 'Authorization: API_Key'
import requests
url = 'https://api.cookie-api.com/api/roblox/group/audit-log?workspace_id=12345'headers = { 'Authorization': 'API_Key',}
response = requests.get(url, headers=headers)print(response.json())
const fetch = require('node-fetch');
const url = 'https://api.cookie-api.com/api/roblox/group/audit-log?workspace_id=12345';const headers = { 'Authorization': 'API_Key',};
fetch(url, { method: 'GET', headers: headers}).then(res => res.json()).then(data => console.log(data)).catch(err => console.error(err));
package main
import ( "fmt" "log" "net/http" "io/ioutil")
func main() { url := "https://api.cookie-api.com/api/roblox/group/audit-log?workspace_id=12345"
req, err := http.NewRequest("GET", url, nil) if err != nil { log.Fatal(err) } req.Header.Set("Authorization", "API_Key")
client := &http.Client{} resp, err := client.Do(req) if err != nil { log.Fatal(err) } defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body) if err != nil { log.Fatal(err) }
fmt.Println(string(body))}
const https = require('https');
const options = { hostname: 'api.cookie-api.com', path: '/api/roblox/group/audit-log?workspace_id=12345', method: 'GET', headers: { 'Authorization': 'API_Key' }};
const req = https.request(options, res => { let body = '';
res.on('data', chunk => { body += chunk; });
res.on('end', () => { console.log(JSON.parse(body)); });});
req.on('error', error => { console.error(error);});
req.end();
require 'net/http'require 'uri'require 'json'
uri = URI.parse('https://api.cookie-api.com/api/roblox/group/audit-log?workspace_id=12345')request = Net::HTTP::Get.new(uri)request['Authorization'] = 'API_Key'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request)end
puts response.body
use reqwest::blocking::Client;use reqwest::header::HeaderMap;
fn main() { let url = "https://api.cookie-api.com/api/roblox/group/audit-log?workspace_id=12345"; let client = Client::new();
let mut headers = HeaderMap::new(); headers.insert("Authorization", "API_Key".parse().unwrap());
let res = client .get(url) .headers(headers) .send() .unwrap();
println!("{}", res.text().unwrap());}
Responses
{ "logs": { "data": [ { "actionType": "Unban Member", "actor": { "role": { "id": 103891663, "name": "Developer", "rank": 254 }, "user": { "displayName": "etwas1230", "hasVerifiedBadge": false, "userId": 4781684577, "username": "etwas1230" } }, "created": "2025-04-03T16:44:10Z", "description": { "TargetId": 5460701217, "TargetName": "thiscookie9" } }, { "actionType": "Ban Member", "actor": { "role": { "id": 103891663, "name": "Developer", "rank": 254 }, "user": { "displayName": "etwas1230", "hasVerifiedBadge": false, "userId": 4781684577, "username": "etwas1230" } }, "created": "2025-04-03T16:40:05Z", "description": { "TargetId": 5460701217, "TargetName": "thiscookie9" } } ], "nextPageCursor": "2_1_1f76c705381a14f81d1de9f742089772", "previousPageCursor": null }, "success": true}