注册 登录
n/ai · 5 个月前 · 已编辑 · 3659 次浏览
u/James💯传奇MANAGER
n/aiu/James MANAGER · 5 个月前

Outlook邮箱直接加入ChatGPT K12

打开 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
登录后参与讨论。

107 条回复

排序
  1. Finly-li 白银 3 YEARS 5 个月前 #2

    前排前排

    2
  2. Gill007 💬 钻石 2 YEARS 5 个月前 #3

    感恩詹佬

    1
  3. Gill007 💬 钻石 2 YEARS 5 个月前 #4
    这条回复已被版主删除
  4. q120656387 黄金 5 个月前 #5

    好帖 抓紧撸 很快就没

    1
  5. shark 黄金 5 个月前 #6

    大佬牛逼!

    1
  6. oneStrike 白银 5 个月前 #7

    这是让我赶上热乎的了?

    1
  7. ysenyao 黄金 2 YEARS 5 个月前 #8

    "Only users with emails on the same domain can request access to a workspace" outlook邮箱不行吗

    1
  8. OMG 黄金 5 个月前 #9

    太有石粒了

    1
  9. xulinfeng9222 白银 5 个月前 #10

    chatgpt要不要登录呢。。

    1
  10. sqeety_game 白银 5 个月前 #11

    Only users with emails on the same domain can request access to a workspace 提示这个

    1
  11. Gill007 💬 钻石 2 YEARS 5 个月前 #12

    佬,是要先用Outlook邮箱注册chatgpt账号吗?@James

    0
  12. James 💯 传奇 楼主 MANAGER 5 个月前 #13
    回复 @ysenyao:"Only users with emails on the same domain can request a…

    刷新一下,看看加进去没有。

    1
  13. James 💯 传奇 楼主 MANAGER 5 个月前 #14
    回复 @Gill007:佬,是要先用Outlook邮箱注册chatgpt账号吗?@James

    是的。

    1
  14. James 💯 传奇 楼主 MANAGER 5 个月前 #15
    回复 @xulinfeng9222:chatgpt要不要登录呢。。

    打开 https://chatgpt.com,使用outlook邮箱注册登录

    1
  15. kixi 黄金 5 个月前 #16

    厉害👍 试试去

    1
  16. JO-JO 白银 5 个月前 #17

    接口401了已经

    0
  17. Gill007 💬 钻石 2 YEARS 5 个月前 已编辑 #18

    显示是邀请请求成功的,然鹅刷新了好多遍,依然是免费版

    0
  18. ll_dong 黄金 3 YEARS 5 个月前 #19

    我来看看

    1
  19. ink_Small 白银 3 YEARS 5 个月前 #20

    不限制@outlook吧

    0
  20. James 💯 传奇 楼主 MANAGER 5 个月前 #21
    回复 @Gill007:显示是邀请请求成功的,然鹅刷新了好多遍,依然是免费版

    点一下头像,切换工作空间。

    1
  21. xulinfeng9222 白银 5 个月前 #22

    detail: 'Only users with emails on the same domain can request access to a workspace'
    控制台提示这个

    0
  22. MengYYY369 黄金 3 YEARS 5 个月前 #23

    现在进不去了

    0
  23. BearPaw 王者 5 个月前 已编辑 #24
    回复 @James:点一下头像,切换工作空间。

    佬,军师赞我是美髯公没有出现

    0
  24. html 黄金 5 个月前 #25
    回复 @James:刷新一下,看看加进去没有。

    同样的错误,没有加进去

    1
  25. ysenyao 黄金 2 YEARS 5 个月前 #26
    回复 @James:刷新一下,看看加进去没有。

    刷新了,没有进去

    1
  26. xulinfeng9222 白银 5 个月前 #27

    失效了吗

    0
  27. jzhfg 富可敌国 王者 MANAGER 5 个月前 #28

    好像失效了有点快

    0
  28. xiaozhu19970514 白银 5 个月前 #29

    看看

    0
  29. BearPaw 王者 5 个月前 #30
    回复 @xulinfeng9222:detail: 'Only users with emails on the same domain can r…

    显示成功了吗?这句话都会提示的

    0