Join Group
Please note that this is one of the most secured Endpoints on Roblox and Requests to it may fail sometimes. If you should notice them failing more frequently let us know! https://discord.cookie-api.com
Join a Group
Section titled “Join a Group”Join a Group with a Roblox Account
GET/api/roblox/join-group
https://api.cookie-api.com/api/roblox/join-group
Authentication Learn how to get your API Key and use it in your requests!
URL Parameters | |
---|---|
workspace_id | <workspace id> |
{ "cookie": "_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_Super secret cookieee", "user_id": "number", "group_id": "number"}
curl --location 'https://api.cookie-api.com/api/roblox/join-group?workspace_id=735591' \--header 'Authorization: API_Key' \--header 'Content-Type: application/json' \--data '{ "cookie": "_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_Super secret cookie", "user_id": "4781684577", "group_id": "33545359"}'
import requests
url = 'https://api.cookie-api.com/api/roblox/join-group?workspace_id=735591'headers = { 'Authorization': 'API_Key', 'Content-Type': 'application/json'}data = { "cookie": "_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_Super secret cookie", "user_id": "4781684577", "group_id": "33545359"}
response = requests.post(url, headers=headers, json=data)print(response.json())
const fetch = require('node-fetch');
const url = 'https://api.cookie-api.com/api/roblox/join-group?workspace_id=735591';const headers = { 'Authorization': 'API_Key', 'Content-Type': 'application/json'};const data = { "cookie": "_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_Super secret cookie", "user_id": "4781684577", "group_id": "33545359"};
fetch(url, { method: 'POST', headers: headers, body: JSON.stringify(data)}).then(res => res.json()).then(data => console.log(data)).catch(err => console.error(err));
package main
import ( "bytes" "encoding/json" "fmt" "log" "net/http")
func main() { url := "https://api.cookie-api.com/api/roblox/join-group?workspace_id=735591" jsonData := map[string]interface{}{ "cookie": "_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_Super secret cookie", "user_id": "4781684577", "group_id": "33545359", } jsonValue, _ := json.Marshal(jsonData)
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonValue)) if err != nil { log.Fatal(err) } req.Header.Set("Authorization", "API_Key") req.Header.Set("Content-Type", "application/json")
client := &http.Client{} resp, err := client.Do(req) if err != nil { log.Fatal(err) } defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)}
const https = require('https');
const options = { hostname: 'api.cookie-api.com', path: '/api/roblox/join-group?workspace_id=735591', method: 'POST', headers: { 'Authorization': 'API_Key', 'Content-Type': 'application/json' }};
const data = JSON.stringify({ "cookie": "_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_Super secret cookie", "user_id": "4781684577", "group_id": "33545359"});
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.write(data);req.end();
require 'net/http'require 'uri'require 'json'
uri = URI.parse('https://api.cookie-api.com/api/roblox/join-group?workspace_id=735591')request = Net::HTTP::Post.new(uri)request['Authorization'] = 'API_Key'request['Content-Type'] = 'application/json'
data = { "cookie" => "_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_Super secret cookie", "user_id" => "4781684577", "group_id" => "33545359"}
request.body = data.to_json
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;use std::collections::HashMap;
fn main() { let url = "https://api.cookie-api.com/api/roblox/join-group?workspace_id=735591"; let client = Client::new();
let mut headers = HeaderMap::new(); headers.insert("Authorization", "API_Key".parse().unwrap()); headers.insert("Content-Type", "application/json".parse().unwrap());
let mut data = HashMap::new(); data.insert("cookie", "_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_Super secret cookie"); data.insert("user_id", "4781684577"); data.insert("group_id", "33545359");
let res = client .post(url) .headers(headers) .json(&data) .send() .unwrap();
println!("{}", res.text().unwrap());}
Responses
{ "success": true}