打开 https://chatgpt.com,使用outlook邮箱注册登录 ,打开浏览器控制台,输入以下脚本
fetch("https://chatgpt.com/api/auth/session", {
method: "GET",
credentials: "include"
})
.then(response => response.json())
.then(sessionData => {
const accessToken = sessionData.accessToken;
if (!accessToken) {
throw new Error('未能获取到 accessToken');
}
console.log('获取到 accessToken,正在发送邀请请求...');
return fetch("https://chatgpt.com/backend-api/accounts/ca0e29ed-a54c-42d9-a50b-2ba5e065296d/invites/request", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"authorization": `Bearer ${accessToken}`,
"cache-control": "no-cache",
"oai-language": "en-US",
"pragma": "no-cache",
"sec-ch-ua-arch": "\"x86\"",
"sec-ch-ua-bitness": "\"64\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-model": "\"\"",
"sec-ch-ua-platform": "\"macOS\"",
"sec-ch-ua-platform-version": "\"13.5.1\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin"
},
"referrer": "https://chatgpt.com/k12-verification",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
"method": "POST",
"mode": "cors",
"credentials": "include"
});
})
.then(response => response.json())
.then(result => {
console.log('邀请请求成功:', result);
})
.catch(error => {
console.error('请求失败:', error);
});
然后刷新,查看工作空间。
成功后切换工作空间
27
107

还在为IP不纯、平台风控、频繁验证而烦恼? 丽萨主机海外原生IP VPS,双ISP住宅IP,覆盖美国、香港、日本、新加坡、台湾、德国、越南、英国等热门地区,适合跨境电商、社媒运营、AI工具、流媒体及海外业务使用。
107 การตอบกลับ
การเรียงลำดับ