[{"data":1,"prerenderedAt":1635},["ShallowReactive",2],{"api-nav":3,"api-spec:index":351,"api-spec:op:get-org-student":636,"api-permissions-guide":1095,"api-reference-doc:get-org-student":1096},[4,28,57,95,115,301,317,331],{"id":5,"title":6,"links":7,"groups":27},"start","Start here",[8,11,15,18,21,24],{"title":9,"to":10},"Overview","\u002Fapi",{"title":12,"to":13,"status":14},"Quickstart","\u002Fapi\u002Fquickstart","available",{"title":16,"to":17,"status":14},"Environments","\u002Fapi\u002Fenvironments",{"title":19,"to":20,"status":14},"Authentication","\u002Fapi\u002Fauthentication",{"title":22,"to":23,"status":14},"Organizations","\u002Fapi\u002Forganizations",{"title":25,"to":26,"status":14},"Permissions","\u002Fapi\u002Fpermissions",[],{"id":29,"title":30,"links":31,"groups":56},"concepts","Concepts",[32,35,38,41,44,47,50,53],{"title":33,"to":34,"status":14},"Requests and responses","\u002Fapi\u002Frequests-and-responses",{"title":36,"to":37,"status":14},"Identifiers","\u002Fapi\u002Fidentifiers",{"title":39,"to":40,"status":14},"Pagination","\u002Fapi\u002Fpagination",{"title":42,"to":43},"Errors","\u002Fapi\u002Ferrors",{"title":45,"to":46,"status":14},"Rate limits","\u002Fapi\u002Frate-limits",{"title":48,"to":49,"status":14},"Retries","\u002Fapi\u002Fretries-and-idempotency",{"title":51,"to":52,"status":14},"Security","\u002Fapi\u002Fsecurity",{"title":54,"to":55,"status":14},"Versioning","\u002Fapi\u002Fversioning",[],{"id":58,"title":59,"links":60,"groups":94},"resources","Guides",[61,64,67,70,73,76,79,82,85,88,91],{"title":62,"to":63,"status":14},"Students","\u002Fapi\u002Fguides\u002Fstudents",{"title":65,"to":66,"status":14},"Bulk registration","\u002Fapi\u002Fguides\u002Fbulk-registration",{"title":68,"to":69,"status":14},"Passwords","\u002Fapi\u002Fguides\u002Fpasswords",{"title":71,"to":72,"status":14},"Supervisors","\u002Fapi\u002Fguides\u002Fsupervisors",{"title":74,"to":75,"status":14},"Reference data","\u002Fapi\u002Fguides\u002Freference-data",{"title":77,"to":78,"status":14},"API account","\u002Fapi\u002Fguides\u002Fapi-account",{"title":80,"to":81,"status":14},"Sign-in links","\u002Fapi\u002Fguides\u002Fsign-in-links",{"title":83,"to":84,"status":14},"Exams","\u002Fapi\u002Fguides\u002Fexams",{"title":86,"to":87,"status":14},"Applications","\u002Fapi\u002Fguides\u002Fapplications",{"title":89,"to":90,"status":14},"Group challenges","\u002Fapi\u002Fguides\u002Fgroup-challenges",{"title":92,"to":93,"status":14},"Certificates and reports","\u002Fapi\u002Fguides\u002Fcertificates-and-reports",[],{"id":96,"title":97,"links":98,"groups":114},"tutorials","Tutorials",[99,102,105,108,111],{"title":100,"to":101,"status":14},"Register and apply","\u002Fapi\u002Ftutorials\u002Fregister-and-apply",{"title":103,"to":104,"status":14},"Send a student to the panel","\u002Fapi\u002Ftutorials\u002Fsend-student-to-panel",{"title":106,"to":107,"status":14},"Change an application","\u002Fapi\u002Ftutorials\u002Fchange-an-application",{"title":109,"to":110,"status":14},"Collect results","\u002Fapi\u002Ftutorials\u002Fcollect-results",{"title":112,"to":113,"status":14},"Token handling","\u002Fapi\u002Ftutorials\u002Ftoken-handling",[],{"id":116,"title":117,"links":118,"groups":125},"reference","Reference",[119,122],{"title":120,"to":121},"All endpoints","\u002Fapi\u002Freference",{"title":123,"to":124},"Sandbox console","\u002Fapi\u002Fconsole",[126,135,145,166,206,212,230,255,271],{"tag":127,"slug":128,"links":129},"Health","health",[130],{"title":131,"to":132,"method":133,"deprecated":134},"Check that the API is up","\u002Fapi\u002Freference\u002Fget-health","GET",false,{"tag":77,"slug":136,"links":137},"api-account",[138,142],{"title":139,"to":140,"method":141,"deprecated":134},"Revoke the token you send, before it expires","\u002Fapi\u002Freference\u002Frevoke-token","POST",{"title":143,"to":144,"method":133,"deprecated":134},"Fetch the API account your token belongs to","\u002Fapi\u002Freference\u002Fget-current-api-account",{"tag":74,"slug":146,"links":147},"reference-data",[148,151,154,157,160,163],{"title":149,"to":150,"method":133,"deprecated":134},"List the countries a student can be registered in","\u002Fapi\u002Freference\u002Flist-countries",{"title":152,"to":153,"method":133,"deprecated":134},"Fetch one country by its id","\u002Fapi\u002Freference\u002Fget-country",{"title":155,"to":156,"method":133,"deprecated":134},"List the grades a student can be registered with","\u002Fapi\u002Freference\u002Flist-grades",{"title":158,"to":159,"method":133,"deprecated":134},"Fetch one grade by its id","\u002Fapi\u002Freference\u002Fget-grade",{"title":161,"to":162,"method":133,"deprecated":134},"List the organizations and their ids","\u002Fapi\u002Freference\u002Flist-organizations",{"title":164,"to":165,"method":133,"deprecated":134},"Fetch one organization by its id","\u002Fapi\u002Freference\u002Fget-organization",{"tag":62,"slug":167,"links":168},"students",[169,172,175,178,181,184,187,191,194,197,200,203],{"title":170,"to":171,"method":133,"deprecated":134},"List your students","\u002Fapi\u002Freference\u002Flist-students",{"title":173,"to":174,"method":141,"deprecated":134},"Register a student","\u002Fapi\u002Freference\u002Fregister-student",{"title":176,"to":177,"method":141,"deprecated":134},"Check a registration without registering the student","\u002Fapi\u002Freference\u002Fcheck-student-registration",{"title":179,"to":180,"method":141,"deprecated":134},"Register many students at once","\u002Fapi\u002Freference\u002Fcreate-student-import",{"title":182,"to":183,"method":133,"deprecated":134},"Follow a batch of students you sent","\u002Fapi\u002Freference\u002Fget-student-import",{"title":185,"to":186,"method":133,"deprecated":134},"Fetch one of your students","\u002Fapi\u002Freference\u002Fget-student",{"title":188,"to":189,"method":190,"deprecated":134},"Update one of your students","\u002Fapi\u002Freference\u002Fupdate-student","PUT",{"title":192,"to":193,"method":190,"deprecated":134},"Set the sign-in password of one of your students","\u002Fapi\u002Freference\u002Fset-student-password",{"title":195,"to":196,"method":133,"deprecated":134},"List your students who can use this organization","\u002Fapi\u002Freference\u002Flist-org-students",{"title":198,"to":199,"method":133,"deprecated":134},"Fetch one of your students, if they can use this organization","\u002Fapi\u002Freference\u002Fget-org-student",{"title":201,"to":202,"method":190,"deprecated":134},"Update one of your students and give them access to this organization","\u002Fapi\u002Freference\u002Fupdate-org-student",{"title":204,"to":205,"method":190,"deprecated":134},"Link one of your students to a supervisor on this organization","\u002Fapi\u002Freference\u002Flink-student-supervisor",{"tag":80,"slug":207,"links":208},"sign-in-links",[209],{"title":210,"to":211,"method":141,"deprecated":134},"Create a single-use sign-in link for one of your students","\u002Fapi\u002Freference\u002Fcreate-signin-link",{"tag":83,"slug":213,"links":214},"exams",[215,218,221,224,227],{"title":216,"to":217,"method":133,"deprecated":134},"List the exams open for applications","\u002Fapi\u002Freference\u002Flist-exams",{"title":219,"to":220,"method":133,"deprecated":134},"List an organization’s exam categories","\u002Fapi\u002Freference\u002Flist-exam-categories",{"title":222,"to":223,"method":133,"deprecated":134},"Fetch one exam category","\u002Fapi\u002Freference\u002Fget-exam-category",{"title":225,"to":226,"method":133,"deprecated":134},"List the exams one of your students can apply to","\u002Fapi\u002Freference\u002Flist-available-exams",{"title":228,"to":229,"method":133,"deprecated":134},"Fetch one exam that is open for applications","\u002Fapi\u002Freference\u002Fget-exam",{"tag":86,"slug":231,"links":232},"applications",[233,236,239,242,245,248,251],{"title":234,"to":235,"method":133,"deprecated":134},"List your students’ applications in this organization","\u002Fapi\u002Freference\u002Flist-applications",{"title":237,"to":238,"method":141,"deprecated":134},"Enter one of your students for an exam","\u002Fapi\u002Freference\u002Fcreate-application",{"title":240,"to":241,"method":133,"deprecated":134},"List your students’ applications for one exam","\u002Fapi\u002Freference\u002Flist-exam-applications",{"title":243,"to":244,"method":133,"deprecated":134},"List one of your students’ applications in this organization","\u002Fapi\u002Freference\u002Flist-student-applications",{"title":246,"to":247,"method":133,"deprecated":134},"Fetch one of your students’ applications","\u002Fapi\u002Freference\u002Fget-application",{"title":249,"to":250,"method":190,"deprecated":134},"Move one of your students’ applications to another exam","\u002Fapi\u002Freference\u002Fmove-application",{"title":252,"to":253,"method":254,"deprecated":134},"Withdraw one of your students from an exam","\u002Fapi\u002Freference\u002Fdelete-application","DELETE",{"tag":256,"slug":257,"links":258},"Documents","documents",[259,262,265,268],{"title":260,"to":261,"method":133,"deprecated":134},"Download a certificate file","\u002Fapi\u002Freference\u002Fdownload-certificate",{"title":263,"to":264,"method":133,"deprecated":134},"List one of your students’ released certificates","\u002Fapi\u002Freference\u002Flist-student-certificates",{"title":266,"to":267,"method":133,"deprecated":134},"Download a result report file","\u002Fapi\u002Freference\u002Fdownload-report",{"title":269,"to":270,"method":133,"deprecated":134},"List one of your students’ released result reports","\u002Fapi\u002Freference\u002Flist-student-reports",{"tag":89,"slug":272,"links":273},"group-challenges",[274,277,280,283,286,289,292,295,298],{"title":275,"to":276,"method":133,"deprecated":134},"List the group challenges an organization runs","\u002Fapi\u002Freference\u002Flist-group-challenges",{"title":278,"to":279,"method":133,"deprecated":134},"Fetch one group challenge","\u002Fapi\u002Freference\u002Fget-group-challenge",{"title":281,"to":282,"method":133,"deprecated":134},"List the groups your students are in for a group challenge","\u002Fapi\u002Freference\u002Flist-group-challenge-groups",{"title":284,"to":285,"method":133,"deprecated":134},"Fetch one group, with its steps and files","\u002Fapi\u002Freference\u002Fget-group-challenge-group",{"title":287,"to":288,"method":133,"deprecated":134},"List what has happened in one group","\u002Fapi\u002Freference\u002Flist-group-challenge-activity",{"title":290,"to":291,"method":141,"deprecated":134},"Send a group’s finished work for one of your students","\u002Fapi\u002Freference\u002Fsubmit-group-challenge-work",{"title":293,"to":294,"method":141,"deprecated":134},"Submit one step of a group for one of your students","\u002Fapi\u002Freference\u002Fsubmit-group-challenge-step",{"title":296,"to":297,"method":133,"deprecated":134},"List your students’ eligibility and groups for a group challenge","\u002Fapi\u002Freference\u002Flist-group-challenge-students",{"title":299,"to":300,"method":133,"deprecated":134},"Fetch one of your students’ eligibility and group for a group challenge","\u002Fapi\u002Freference\u002Fget-group-challenge-student",{"id":302,"title":303,"links":304,"groups":316},"clients","Clients",[305,307,310,313],{"title":9,"to":306,"status":14},"\u002Fapi\u002Fclients",{"title":308,"to":309,"status":14},"Node.js","\u002Fapi\u002Fclients\u002Fnode",{"title":311,"to":312,"status":14},"PHP","\u002Fapi\u002Fclients\u002Fphp",{"title":314,"to":315,"status":14},"Build your own","\u002Fapi\u002Fclients\u002Fbuild-your-own",[],{"id":318,"title":319,"links":320,"groups":330},"agents","AI agents",[321,324,327],{"title":322,"to":323},"AI connections","\u002Fapi\u002Fmcp",{"title":325,"to":326},"What it can do","\u002Fapi\u002Fmcp\u002Ftools",{"title":328,"to":329},"Agent skills","\u002Fapi\u002Fskills",[],{"id":332,"title":333,"links":334,"groups":350},"help","Help",[335,338,341,344,347],{"title":336,"to":337,"status":14},"Glossary","\u002Fapi\u002Fglossary",{"title":339,"to":340,"status":14},"FAQ","\u002Fapi\u002Ffaq",{"title":342,"to":343,"status":14},"Troubleshooting","\u002Fapi\u002Ftroubleshooting",{"title":345,"to":346,"status":14},"Support","\u002Fapi\u002Fsupport",{"title":348,"to":349},"Changelog","\u002Fapi\u002Fchangelog",[],{"title":352,"version":353,"description":354,"baseUrl":355,"groups":356},"Main Team API","1.2.0","Register your students, enter them for exams, follow their applications, download their certificates and reports, and sign them in to an organization’s panel.\n\nEvery operation except the health check needs a bearer token: a JWT you sign yourself with HS256 and your account’s `apiSecret`. Put your `apiKey` in both the `kid` header and the `sub` claim, and set `iat` and `exp` at most 3600 seconds apart. Every authentication failure answers the same `401 unauthorized`.","https:\u002F\u002Fapi.main-team.org",[357,368,383,419,484,492,522,561,586],{"tag":127,"slug":128,"description":358,"guide":17,"operations":359},"Whether the API is up. No token needed, so it is the first call to make against an environment.",[360],{"operationId":361,"slug":362,"method":133,"path":363,"tag":127,"summary":131,"deprecated":134,"public":364,"permission":365,"scope":366,"order":367},"getHealth","get-health","\u002Fv1\u002Fhealth",true,null,"public",1,{"tag":77,"slug":136,"description":369,"guide":78,"operations":370},"The account your token belongs to, and revoking a token before it expires.",[371,378],{"operationId":372,"slug":373,"method":141,"path":374,"tag":77,"summary":139,"deprecated":134,"public":134,"permission":375,"scope":376,"order":377},"revokeToken","revoke-token","\u002Fv1\u002Fapi-account\u002Frevoke-token","api\u002F*:$org:$ID","flat",2,{"operationId":379,"slug":380,"method":133,"path":381,"tag":77,"summary":143,"deprecated":134,"public":134,"permission":375,"scope":376,"order":382},"getCurrentApiAccount","get-current-api-account","\u002Fv1\u002Fapi-account\u002Fvalidate-me",3,{"tag":74,"slug":146,"description":384,"guide":75,"operations":385},"Countries, grades and organizations. A student’s `country` and `grade` take these `_id`s, and so does every `:organizationId` in a path.",[386,392,397,403,408,414],{"operationId":387,"slug":388,"method":133,"path":389,"tag":74,"summary":149,"deprecated":134,"public":134,"permission":390,"scope":376,"order":391},"listCountries","list-countries","\u002Fv1\u002Fcountry","country\u002Fread:$org:$ID",4,{"operationId":393,"slug":394,"method":133,"path":395,"tag":74,"summary":152,"deprecated":134,"public":134,"permission":390,"scope":376,"order":396},"getCountry","get-country","\u002Fv1\u002Fcountry\u002F{id}",5,{"operationId":398,"slug":399,"method":133,"path":400,"tag":74,"summary":155,"deprecated":134,"public":134,"permission":401,"scope":376,"order":402},"listGrades","list-grades","\u002Fv1\u002Fgrade","grade\u002Fread:$org:$ID",6,{"operationId":404,"slug":405,"method":133,"path":406,"tag":74,"summary":158,"deprecated":134,"public":134,"permission":401,"scope":376,"order":407},"getGrade","get-grade","\u002Fv1\u002Fgrade\u002F{id}",7,{"operationId":409,"slug":410,"method":133,"path":411,"tag":74,"summary":161,"deprecated":134,"public":134,"permission":412,"scope":376,"order":413},"listOrganizations","list-organizations","\u002Fv1\u002Forganization","organization\u002Fread:$org:$ID",8,{"operationId":415,"slug":416,"method":133,"path":417,"tag":74,"summary":164,"deprecated":134,"public":134,"permission":412,"scope":376,"order":418},"getOrganization","get-organization","\u002Fv1\u002Forganization\u002F{id}",9,{"tag":62,"slug":167,"description":420,"guide":63,"operations":421},"Registering your students, reading and updating them, setting a password, and what each organization holds for them. You only ever see the students your account registered.",[422,428,433,438,443,448,453,458,464,470,475,479],{"operationId":423,"slug":424,"method":133,"path":425,"tag":62,"summary":170,"deprecated":134,"public":134,"permission":426,"scope":376,"order":427},"listStudents","list-students","\u002Fv1\u002Fstudent","student\u002Fread:$org:$ID",10,{"operationId":429,"slug":430,"method":141,"path":425,"tag":62,"summary":173,"deprecated":134,"public":134,"permission":431,"scope":376,"order":432},"registerStudent","register-student","student\u002Fcreate:$org:$ID",11,{"operationId":434,"slug":435,"method":141,"path":436,"tag":62,"summary":176,"deprecated":134,"public":134,"permission":431,"scope":376,"order":437},"checkStudentRegistration","check-student-registration","\u002Fv1\u002Fstudent\u002Fcheck",12,{"operationId":439,"slug":440,"method":141,"path":441,"tag":62,"summary":179,"deprecated":134,"public":134,"permission":431,"scope":376,"order":442},"createStudentImport","create-student-import","\u002Fv1\u002Fstudent\u002Fimport",13,{"operationId":444,"slug":445,"method":133,"path":446,"tag":62,"summary":182,"deprecated":134,"public":134,"permission":431,"scope":376,"order":447},"getStudentImport","get-student-import","\u002Fv1\u002Fstudent\u002Fimport\u002F{importId}",14,{"operationId":449,"slug":450,"method":133,"path":451,"tag":62,"summary":185,"deprecated":134,"public":134,"permission":426,"scope":376,"order":452},"getStudent","get-student","\u002Fv1\u002Fstudent\u002F{studentId}",15,{"operationId":454,"slug":455,"method":190,"path":451,"tag":62,"summary":188,"deprecated":134,"public":134,"permission":456,"scope":376,"order":457},"updateStudent","update-student","student\u002Fupdate:$org:$ID",16,{"operationId":459,"slug":460,"method":190,"path":461,"tag":62,"summary":192,"deprecated":134,"public":134,"permission":462,"scope":376,"order":463},"setStudentPassword","set-student-password","\u002Fv1\u002Fstudent\u002F{studentId}\u002Fpassword","auth\u002Fsignin:$org:$ID",17,{"operationId":465,"slug":466,"method":133,"path":467,"tag":62,"summary":195,"deprecated":134,"public":134,"permission":426,"scope":468,"order":469},"listOrgStudents","list-org-students","\u002Fv1\u002F{organizationId}\u002Fstudent","organization",18,{"operationId":471,"slug":472,"method":133,"path":473,"tag":62,"summary":198,"deprecated":134,"public":134,"permission":426,"scope":468,"order":474},"getOrgStudent","get-org-student","\u002Fv1\u002F{organizationId}\u002Fstudent\u002F{studentId}",19,{"operationId":476,"slug":477,"method":190,"path":473,"tag":62,"summary":201,"deprecated":134,"public":134,"permission":456,"scope":468,"order":478},"updateOrgStudent","update-org-student",20,{"operationId":480,"slug":481,"method":190,"path":482,"tag":62,"summary":204,"deprecated":134,"public":134,"permission":456,"scope":468,"order":483},"linkStudentSupervisor","link-student-supervisor","\u002Fv1\u002F{organizationId}\u002Fstudent\u002F{studentId}\u002Fsupervisor",21,{"tag":80,"slug":207,"description":485,"guide":81,"operations":486},"Links that sign one of your students into an organization’s panel. Each works once and expires two minutes after it is issued.",[487],{"operationId":488,"slug":489,"method":141,"path":490,"tag":80,"summary":210,"deprecated":134,"public":134,"permission":462,"scope":468,"order":491},"createSigninLink","create-signin-link","\u002Fv1\u002F{organizationId}\u002Fauth\u002Fsignin",22,{"tag":83,"slug":213,"description":493,"guide":84,"operations":494},"The exam categories and exams an organization runs, and the ones one of your students can apply to.",[495,501,507,512,517],{"operationId":496,"slug":497,"method":133,"path":498,"tag":83,"summary":216,"deprecated":134,"public":134,"permission":499,"scope":468,"order":500},"listExams","list-exams","\u002Fv1\u002F{organizationId}\u002Fexam","exam\u002Fread:$org:$ID",23,{"operationId":502,"slug":503,"method":133,"path":504,"tag":83,"summary":219,"deprecated":134,"public":134,"permission":505,"scope":468,"order":506},"listExamCategories","list-exam-categories","\u002Fv1\u002F{organizationId}\u002Fexam-category","exam-category\u002Fread:$org:$ID",24,{"operationId":508,"slug":509,"method":133,"path":510,"tag":83,"summary":222,"deprecated":134,"public":134,"permission":505,"scope":468,"order":511},"getExamCategory","get-exam-category","\u002Fv1\u002F{organizationId}\u002Fexam-category\u002F{categoryId}",25,{"operationId":513,"slug":514,"method":133,"path":515,"tag":83,"summary":225,"deprecated":134,"public":134,"permission":499,"scope":468,"order":516},"listAvailableExams","list-available-exams","\u002Fv1\u002F{organizationId}\u002Fexam\u002Favailable\u002F{studentId}",26,{"operationId":518,"slug":519,"method":133,"path":520,"tag":83,"summary":228,"deprecated":134,"public":134,"permission":499,"scope":468,"order":521},"getExam","get-exam","\u002Fv1\u002F{organizationId}\u002Fexam\u002F{examId}",27,{"tag":86,"slug":231,"description":523,"guide":87,"operations":524},"Entering your students for exams: creating, reading, moving and deleting their applications.",[525,531,536,541,546,551,556],{"operationId":526,"slug":527,"method":133,"path":528,"tag":86,"summary":234,"deprecated":134,"public":134,"permission":529,"scope":468,"order":530},"listApplications","list-applications","\u002Fv1\u002F{organizationId}\u002Fapplication","application\u002Fread:$org:$ID",28,{"operationId":532,"slug":533,"method":141,"path":528,"tag":86,"summary":237,"deprecated":134,"public":134,"permission":534,"scope":468,"order":535},"createApplication","create-application","application\u002Fcreate:$org:$ID",29,{"operationId":537,"slug":538,"method":133,"path":539,"tag":86,"summary":240,"deprecated":134,"public":134,"permission":529,"scope":468,"order":540},"listExamApplications","list-exam-applications","\u002Fv1\u002F{organizationId}\u002Fapplication\u002Fexam-applications\u002F{examId}",30,{"operationId":542,"slug":543,"method":133,"path":544,"tag":86,"summary":243,"deprecated":134,"public":134,"permission":529,"scope":468,"order":545},"listStudentApplications","list-student-applications","\u002Fv1\u002F{organizationId}\u002Fapplication\u002Fstudent-applications\u002F{studentId}",31,{"operationId":547,"slug":548,"method":133,"path":549,"tag":86,"summary":246,"deprecated":134,"public":134,"permission":529,"scope":468,"order":550},"getApplication","get-application","\u002Fv1\u002F{organizationId}\u002Fapplication\u002F{applicationId}",32,{"operationId":552,"slug":553,"method":190,"path":549,"tag":86,"summary":249,"deprecated":134,"public":134,"permission":554,"scope":468,"order":555},"moveApplication","move-application","application\u002Fupdate:$org:$ID",33,{"operationId":557,"slug":558,"method":254,"path":549,"tag":86,"summary":252,"deprecated":134,"public":134,"permission":559,"scope":468,"order":560},"deleteApplication","delete-application","application\u002Fdelete:$org:$ID",34,{"tag":256,"slug":257,"description":562,"guide":93,"operations":563},"Your students’ certificates and reports: listing them and downloading the files.",[564,570,575,581],{"operationId":565,"slug":566,"method":133,"path":567,"tag":256,"summary":260,"deprecated":134,"public":134,"permission":568,"scope":468,"order":569},"downloadCertificate","download-certificate","\u002Fv1\u002F{organizationId}\u002Fcertificate\u002Fdownload\u002F{certificateId}","certificate\u002Fread:$org:$ID",35,{"operationId":571,"slug":572,"method":133,"path":573,"tag":256,"summary":263,"deprecated":134,"public":134,"permission":568,"scope":468,"order":574},"listStudentCertificates","list-student-certificates","\u002Fv1\u002F{organizationId}\u002Fcertificate\u002F{userId}",36,{"operationId":576,"slug":577,"method":133,"path":578,"tag":256,"summary":266,"deprecated":134,"public":134,"permission":579,"scope":468,"order":580},"downloadReport","download-report","\u002Fv1\u002F{organizationId}\u002Freport\u002Fdownload\u002F{reportId}","report\u002Fread:$org:$ID",37,{"operationId":582,"slug":583,"method":133,"path":584,"tag":256,"summary":269,"deprecated":134,"public":134,"permission":579,"scope":468,"order":585},"listStudentReports","list-student-reports","\u002Fv1\u002F{organizationId}\u002Freport\u002F{userId}",38,{"tag":89,"slug":272,"description":587,"guide":90,"operations":588},"Online group challenges your students take part in: the challenges, which of your students can join, the groups they are in, each step and its files, what happened in a group, and submitting on your student’s behalf.",[589,595,600,605,610,615,621,626,631],{"operationId":590,"slug":591,"method":133,"path":592,"tag":89,"summary":275,"deprecated":134,"public":134,"permission":593,"scope":468,"order":594},"listGroupChallenges","list-group-challenges","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge","group-challenge\u002Fread:$org:$ID",39,{"operationId":596,"slug":597,"method":133,"path":598,"tag":89,"summary":278,"deprecated":134,"public":134,"permission":593,"scope":468,"order":599},"getGroupChallenge","get-group-challenge","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}",40,{"operationId":601,"slug":602,"method":133,"path":603,"tag":89,"summary":281,"deprecated":134,"public":134,"permission":593,"scope":468,"order":604},"listGroupChallengeGroups","list-group-challenge-groups","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup",41,{"operationId":606,"slug":607,"method":133,"path":608,"tag":89,"summary":284,"deprecated":134,"public":134,"permission":593,"scope":468,"order":609},"getGroupChallengeGroup","get-group-challenge-group","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup\u002F{groupId}",42,{"operationId":611,"slug":612,"method":133,"path":613,"tag":89,"summary":287,"deprecated":134,"public":134,"permission":593,"scope":468,"order":614},"listGroupChallengeActivity","list-group-challenge-activity","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup\u002F{groupId}\u002Factivity",43,{"operationId":616,"slug":617,"method":141,"path":618,"tag":89,"summary":290,"deprecated":134,"public":134,"permission":619,"scope":468,"order":620},"submitGroupChallengeWork","submit-group-challenge-work","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup\u002F{groupId}\u002Ffinal-submit","group-challenge\u002Fsubmit:$org:$ID",44,{"operationId":622,"slug":623,"method":141,"path":624,"tag":89,"summary":293,"deprecated":134,"public":134,"permission":619,"scope":468,"order":625},"submitGroupChallengeStep","submit-group-challenge-step","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup\u002F{groupId}\u002Fstep\u002F{stepId}\u002Fsubmit",45,{"operationId":627,"slug":628,"method":133,"path":629,"tag":89,"summary":296,"deprecated":134,"public":134,"permission":593,"scope":468,"order":630},"listGroupChallengeStudents","list-group-challenge-students","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fstudent",46,{"operationId":632,"slug":633,"method":133,"path":634,"tag":89,"summary":299,"deprecated":134,"public":134,"permission":593,"scope":468,"order":635},"getGroupChallengeStudent","get-group-challenge-student","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fstudent\u002F{studentId}",47,{"operationId":471,"slug":472,"method":133,"path":473,"tag":62,"summary":198,"deprecated":134,"public":134,"permission":426,"scope":468,"order":474,"description":637,"permissions":638,"errors":639,"guide":365,"parameters":670,"requestBody":365,"responses":683,"successStatus":1093,"kind":1094,"paginated":134,"baseUrl":355,"tagDescription":420,"sandbox":364},"Returns one student your account registered, if they can use this organization (their `activatedPlatformsThisSeason` holds its `slug` or `common`), with the references resolved as `listOrgStudents` returns them.\n\nAn unknown id, a student registered by another account and a student of yours without access to this organization all answer `404 not_found`, the same way. A malformed id is a 400.\n\nTo give a student access, use `updateOrgStudent`.",[426],[640,645,649,654,659,662,666],{"code":641,"message":642,"status":643,"when":644},"bad_request","Invalid value for 'mainId': expected ObjectId.",400,"`studentId` is not a well-formed id.",{"code":646,"status":647,"when":648},"unauthorized",401,"The token is missing or malformed, is not signed with your account’s `apiSecret`, breaks the `iat` and `exp` rules, has expired or been revoked, or its account is not active. All of these answer the same.",{"code":650,"message":651,"status":652,"when":653},"forbidden","Insufficient role permissions",403,"The token is valid, but no role on your account allows `student\u002Fread` on the organization in the path, or a role denies it.",{"code":655,"message":656,"status":657,"when":658},"not_found","Organization not found!",404,"`organizationId` is not the `_id` of an organization.",{"code":655,"message":660,"status":657,"when":661},"Student not found!","No student of yours with this id can use this organization: unknown, another account’s, or not activated here.",{"code":663,"status":664,"when":665},"too_many_requests",429,"Your account has made more than 100 requests to this operation in the current 60-second window. Wait the seconds in `Retry-After` before sending again.",{"code":667,"status":668,"when":669},"internal_error",500,"Something failed on our side. Retry later, and quote `request_id` if it goes on.",[671,679],{"description":672,"example":673,"in":674,"name":675,"required":364,"schema":676},"The organization’s `_id`: 24 hexadecimal digits, as `listOrganizations` (`GET \u002Fv1\u002Forganization`) lists it.","64b7f0c2a1d3e4f5a6b7c8d9","path","organizationId",{"pattern":677,"type":678},"^[0-9a-f]{24}$","string",{"description":680,"in":674,"name":681,"required":364,"schema":682},"The student’s id (`_id`), as `registerStudent` returned it.","studentId",{"type":678},{"200":684,"400":935,"401":979,"403":1001,"404":1022,"429":1045,"500":1071},{"content":685,"description":923,"headers":924},{"application\u002Fjson":686},{"schema":687},{"allOf":688},[689,728],{"x-ref":690,"description":691,"properties":692,"required":725,"type":723},"#\u002Fcomponents\u002Fschemas\u002FSuccessEnvelope","How every successful JSON response is wrapped. `data` is the result, and each operation declares its shape; list operations add `pagination`. `GET \u002Fv1\u002Fapi-account\u002Fvalidate-me` is the one operation that answers without this envelope.",{"success":693,"message":697,"pagination":700},{"description":694,"enum":695,"example":364,"type":696},"Always `true` on a success.",[364],"boolean",{"description":698,"example":699,"type":678},"A sentence saying what happened, written for a person. Branch on the status and on `data`, not on this.","Request completed successfully.",{"allOf":701,"description":724},[702],{"x-ref":703,"description":704,"properties":705,"required":718,"type":723},"#\u002Fcomponents\u002Fschemas\u002FPaginationMeta","Where one page sits in the whole list.",{"page":706,"limit":709,"total":712,"totalPages":716},{"description":707,"example":367,"minimum":367,"type":708},"The page returned, counting from 1.","number",{"description":710,"example":478,"maximum":711,"minimum":367,"type":708},"Items per page: the `limit` you sent, 20 if you sent none, and never more than 100.",100,{"description":713,"example":714,"minimum":715,"type":708},"Items across every page.",57,0,{"description":717,"example":382,"minimum":715,"type":708},"Pages at this `limit`: `total \u002F limit`, rounded up.",[719,720,721,722],"page","limit","total","totalPages","object","On list operations only.",[726,727],"success","message",{"properties":729,"required":921,"type":723},{"message":730,"data":732},{"example":731,"type":678},"Student fetched successfully",{"x-ref":733,"description":734,"properties":735,"required":911,"type":723},"#\u002Fcomponents\u002Fschemas\u002FStudentResponse","One of your students, with `country`, `city`, `school`, `grade`, `supervisor` and `partner` resolved into records. What the student reads answer with.",{"_id":736,"mainId":739,"username":741,"firstName":744,"lastName":747,"fullName":750,"email":753,"emailConfirmed":756,"phone":758,"birth":761,"sex":764,"country":770,"city":807,"school":828,"grade":848,"supervisor":865,"partner":890,"activatedPlatformsThisSeason":902,"createdAt":908,"updatedAt":910},{"description":737,"example":738,"type":678},"The student’s id: what every `studentId` path parameter and body field takes.","6650a1b2c3d4e5f6a7b8c9d0",{"description":740,"example":738,"type":678},"Only on an organization’s own copy of a student, which `linkStudentSupervisor` answers with: there it is the student’s id, and `_id` is the organization’s own. Absent on every other operation.",{"description":742,"example":743,"type":678},"Issued at registration, never chosen by you: the country’s two-letter code, a letter, then a number. It is how the student signs in and how support refers to the account.","XXB1045",{"description":745,"example":746,"type":678},"The student’s first name.","Jane",{"description":748,"example":749,"type":678},"The student’s surname.","Doe",{"description":751,"example":752,"type":678},"`firstName` and `lastName` joined by a space, kept in step when either changes.","Jane Doe",{"description":754,"example":755,"type":678},"The student’s email address, in lower case.","jane.doe@example.com",{"description":757,"example":134,"type":696},"Whether the student has confirmed `email`. It starts `false`, only the student can make it `true`, and changing `email` sets it back to `false`. Once it is `true`, `setStudentPassword` is refused: the account is the student’s.",{"description":759,"example":760,"type":678},"A phone number, as you sent it.","+1 555 0100",{"description":762,"example":763,"type":678},"Date of birth, `DD\u002FMM\u002FYYYY`.","14\u002F05\u002F2008",{"description":765,"enum":766,"example":768,"type":678},"`m`, `f` or `n`.",[767,768,769],"m","f","n",{"allOf":771,"description":806,"nullable":364,"type":723},[772],{"x-ref":773,"description":774,"properties":775,"required":804,"type":723},"#\u002Fcomponents\u002Fschemas\u002FCountryResponse","A country a student can be registered in.",{"_id":776,"name":779,"iso3":782,"iso2":785,"tz":788,"dialCode":791,"flag":794,"createdAt":797,"updatedAt":801},{"description":777,"example":778,"type":678},"The country’s id: what `country` takes when you register or update a student.","6650a1b2c3d4e5f6a7b8c9d1",{"description":780,"example":781,"type":678},"The country’s name, in capitals.","UNITED STATES",{"description":783,"example":784,"type":678},"The ISO 3166-1 alpha-3 code, in capitals.","USA",{"description":786,"example":787,"type":678},"The ISO 3166-1 alpha-2 code, in capitals. A student’s `username` starts with it.","US",{"description":789,"example":790,"type":678},"The IANA time zone a sitting on local time is read in for students in this country (see `tz` on a sitting).","America\u002FNew_York",{"description":792,"example":793,"type":678},"The international dialling code, with its `+`.","+1",{"description":795,"example":796,"type":678},"The country’s flag, as an emoji.","🇺🇸",{"description":798,"example":799,"format":800,"type":678},"When the record was created.","2026-09-01T09:30:00.000Z","date-time",{"description":802,"example":803,"format":800,"type":678},"When the record last changed.","2026-09-02T14:05:00.000Z",[805],"_id","The student’s country. `null` if the stored reference no longer resolves; absent when none is set.",{"allOf":808,"description":827,"nullable":364,"type":723},[809],{"x-ref":810,"description":811,"properties":812,"required":826,"type":723},"#\u002Fcomponents\u002Fschemas\u002FCityResponse","A city, as a student’s `city`.",{"_id":813,"name":816,"country":819,"stateCode":821,"createdAt":824,"updatedAt":825},{"description":814,"example":815,"type":678},"The city’s id.","6650a1b2c3d4e5f6a7b8c9d2",{"description":817,"example":818,"type":678},"The city’s name, in capitals.","SPRINGFIELD",{"description":820,"example":778,"type":678},"The id of the country the city is in, where one is recorded.",{"description":822,"example":823,"type":678},"A state or region code, where one is recorded.","IL",{"description":798,"example":799,"format":800,"type":678},{"description":802,"example":803,"format":800,"type":678},[805],"The student’s city. `null` if the stored reference no longer resolves; absent when none is set.",{"allOf":829,"description":847,"nullable":364,"type":723},[830],{"x-ref":831,"description":832,"properties":833,"required":846,"type":723},"#\u002Fcomponents\u002Fschemas\u002FSchoolResponse","A school, as a student’s `school`.",{"_id":834,"name":837,"country":840,"city":842,"createdAt":844,"updatedAt":845},{"description":835,"example":836,"type":678},"The school’s id.","6650a1b2c3d4e5f6a7b8c9d3",{"description":838,"example":839,"type":678},"The school’s name, in capitals.","SPRINGFIELD HIGH SCHOOL",{"description":841,"example":778,"type":678},"The id of the school’s country, where one is recorded.",{"description":843,"example":815,"type":678},"The id of the school’s city, where one is recorded.",{"description":798,"example":799,"format":800,"type":678},{"description":802,"example":803,"format":800,"type":678},[805],"The student’s school. `null` if the stored reference no longer resolves; absent when none is set.",{"allOf":849,"description":864,"nullable":364,"type":723},[850],{"x-ref":851,"description":852,"properties":853,"required":863,"type":723},"#\u002Fcomponents\u002Fschemas\u002FGradeResponse","A school grade: a student has one, an exam accepts a set.",{"_id":854,"name":857,"createdAt":860,"updatedAt":862},{"description":855,"example":856,"type":678},"The grade’s id: what `grade` takes when you register or update a student. A grade has the same id in every organization.","6650a1b2c3d4e5f6a7b8c9d4",{"description":858,"example":859,"type":678},"The grade, as a number in a string, `1` to `12`. `grade` accepts this name as well as the id.","10",{"description":861,"example":799,"format":800,"type":678},"When the record was created. The grade list is in this order.",{"description":802,"example":803,"format":800,"type":678},[805],"The student’s grade, which decides the exams they are offered. `null` if the stored reference no longer resolves; absent when none is set.",{"allOf":866,"description":889,"nullable":364,"type":723},[867],{"x-ref":868,"description":869,"properties":870,"required":888,"type":723},"#\u002Fcomponents\u002Fschemas\u002FPersonRefResponse","Another person a student is attached to: enough to say who they are, and nothing more.",{"_id":871,"mainId":874,"firstName":876,"lastName":879,"fullName":882,"username":885},{"description":872,"example":873,"type":678},"Their id.","6650a1b2c3d4e5f6a7b8c9d5",{"description":875,"example":873,"type":678},"Their main id, when this is an organization’s own copy of them. Absent otherwise.",{"description":877,"example":878,"type":678},"Their first name.","John",{"description":880,"example":881,"type":678},"Their surname.","Smith",{"description":883,"example":884,"type":678},"Their first name and surname, joined by a space.","John Smith",{"description":886,"example":887,"type":678},"Their username, in capitals. For a supervisor, the value `linkStudentSupervisor` takes.","XXT1003",[805],"The supervisor the student is attached to across the platform. A supervisor you link with `linkStudentSupervisor` is set on that one organization’s copy of the student, and does not appear here. `null` if the stored reference no longer resolves; absent when none is set.",{"allOf":891,"description":901,"nullable":364,"type":723},[892],{"x-ref":868,"description":869,"properties":893,"required":900,"type":723},{"_id":894,"mainId":895,"firstName":896,"lastName":897,"fullName":898,"username":899},{"description":872,"example":873,"type":678},{"description":875,"example":873,"type":678},{"description":877,"example":878,"type":678},{"description":880,"example":881,"type":678},{"description":883,"example":884,"type":678},{"description":886,"example":887,"type":678},[805],"The partner the student is attached to. `null` if the stored reference no longer resolves; absent when none is set.",{"description":903,"example":904,"items":906,"type":907},"The organizations the student is active on this season, by `slug`; `common` means every organization. Registration sets `common` unless you send a list. The organization-scoped student operations see a student only when this lists that organization or `common`, and updating a student through one adds that organization.",[905],"common",{"type":678},"array",{"description":909,"example":799,"format":800,"type":678},"When the student was registered.",{"description":802,"example":803,"format":800,"type":678},[805,912,913,914,915,916,917,918,919,920],"username","firstName","lastName","fullName","email","emailConfirmed","activatedPlatformsThisSeason","createdAt","updatedAt",[922],"data","Success: `message` is \"Student fetched successfully\".",{"X-RateLimit-Limit":925,"X-RateLimit-Remaining":929,"X-RateLimit-Reset":932},{"description":926,"schema":927},"Requests your account may make to this operation per window (100).",{"type":928},"integer",{"description":930,"schema":931},"Requests left in the current window.",{"type":928},{"description":933,"schema":934},"Seconds until the current window ends.",{"type":928},{"content":936,"description":978},{"application\u002Fjson":937},{"examples":938,"schema":944},{"bad_request":939},{"summary":641,"value":940},{"error":941},{"code":641,"documentation_url":942,"message":642,"request_id":943},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#bad_request","0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8e",{"x-ref":945,"description":946,"properties":947,"required":976,"type":723},"#\u002Fcomponents\u002Fschemas\u002FErrorEnvelope","How every error response is wrapped.",{"error":948},{"x-ref":949,"description":950,"properties":951,"required":972,"type":723},"#\u002Fcomponents\u002Fschemas\u002FErrorDetail","What went wrong.",{"code":952,"message":961,"documentation_url":964,"request_id":968,"details":970},{"description":953,"enum":954,"example":655,"type":678},"A stable machine code: branch on this. Each one is explained at `documentation_url`.",[955,641,646,650,655,956,957,958,959,663,667,960],"invalid_email","conflict","payload_too_large","unsupported_media_type","unprocessable_entity","service_unavailable",{"description":962,"example":963,"type":678},"Written for a person, and may change: never branch on it.","Not found!",{"description":965,"example":966,"format":967,"type":678},"Where this code is explained.","https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#not_found","uri",{"description":969,"example":943,"type":678},"This request’s id, also sent as the `X-Request-Id` response header: the one you sent, when it was acceptable, or else one the API made. Quote it when you report a problem.",{"additionalProperties":364,"description":971,"type":723},"Present only where an operation says so, and then with the shape that operation documents — the rows it could not accept, say. Treat it as absent everywhere else, and ignore a `details` you do not recognise.",[973,727,974,975],"code","documentation_url","request_id",[977],"error","`bad_request`: `studentId` is not a well-formed id.",{"content":980,"description":1000},{"application\u002Fjson":981},{"examples":982,"schema":988},{"unauthorized":983},{"summary":646,"value":984},{"error":985},{"code":646,"documentation_url":986,"message":987,"request_id":943},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#unauthorized","Authentication is required or the provided credentials are invalid.",{"x-ref":945,"description":946,"properties":989,"required":999,"type":723},{"error":990},{"x-ref":949,"description":950,"properties":991,"required":998,"type":723},{"code":992,"message":994,"documentation_url":995,"request_id":996,"details":997},{"description":953,"enum":993,"example":655,"type":678},[955,641,646,650,655,956,957,958,959,663,667,960],{"description":962,"example":963,"type":678},{"description":965,"example":966,"format":967,"type":678},{"description":969,"example":943,"type":678},{"additionalProperties":364,"description":971,"type":723},[973,727,974,975],[977],"`unauthorized`: The token is missing or malformed, is not signed with your account’s `apiSecret`, breaks the `iat` and `exp` rules, has expired or been revoked, or its account is not active. All of these answer the same.",{"content":1002,"description":1021},{"application\u002Fjson":1003},{"examples":1004,"schema":1009},{"forbidden":1005},{"summary":650,"value":1006},{"error":1007},{"code":650,"documentation_url":1008,"message":651,"request_id":943},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#forbidden",{"x-ref":945,"description":946,"properties":1010,"required":1020,"type":723},{"error":1011},{"x-ref":949,"description":950,"properties":1012,"required":1019,"type":723},{"code":1013,"message":1015,"documentation_url":1016,"request_id":1017,"details":1018},{"description":953,"enum":1014,"example":655,"type":678},[955,641,646,650,655,956,957,958,959,663,667,960],{"description":962,"example":963,"type":678},{"description":965,"example":966,"format":967,"type":678},{"description":969,"example":943,"type":678},{"additionalProperties":364,"description":971,"type":723},[973,727,974,975],[977],"`forbidden`: The token is valid, but no role on your account allows `student\u002Fread` on the organization in the path, or a role denies it.",{"content":1023,"description":1044},{"application\u002Fjson":1024},{"examples":1025,"schema":1032},{"not_found":1026,"not_found_2":1029},{"summary":658,"value":1027},{"error":1028},{"code":655,"documentation_url":966,"message":656,"request_id":943},{"summary":661,"value":1030},{"error":1031},{"code":655,"documentation_url":966,"message":660,"request_id":943},{"x-ref":945,"description":946,"properties":1033,"required":1043,"type":723},{"error":1034},{"x-ref":949,"description":950,"properties":1035,"required":1042,"type":723},{"code":1036,"message":1038,"documentation_url":1039,"request_id":1040,"details":1041},{"description":953,"enum":1037,"example":655,"type":678},[955,641,646,650,655,956,957,958,959,663,667,960],{"description":962,"example":963,"type":678},{"description":965,"example":966,"format":967,"type":678},{"description":969,"example":943,"type":678},{"additionalProperties":364,"description":971,"type":723},[973,727,974,975],[977],"- `not_found`: `organizationId` is not the `_id` of an organization.\n- `not_found`: No student of yours with this id can use this organization: unknown, another account’s, or not activated here.",{"content":1046,"description":1066,"headers":1067},{"application\u002Fjson":1047},{"examples":1048,"schema":1054},{"too_many_requests":1049},{"summary":663,"value":1050},{"error":1051},{"code":663,"documentation_url":1052,"message":1053,"request_id":943},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#too_many_requests","Too many requests to this operation. Wait the number of seconds in Retry-After, then try again.",{"x-ref":945,"description":946,"properties":1055,"required":1065,"type":723},{"error":1056},{"x-ref":949,"description":950,"properties":1057,"required":1064,"type":723},{"code":1058,"message":1060,"documentation_url":1061,"request_id":1062,"details":1063},{"description":953,"enum":1059,"example":655,"type":678},[955,641,646,650,655,956,957,958,959,663,667,960],{"description":962,"example":963,"type":678},{"description":965,"example":966,"format":967,"type":678},{"description":969,"example":943,"type":678},{"additionalProperties":364,"description":971,"type":723},[973,727,974,975],[977],"`too_many_requests`: Your account has made more than 100 requests to this operation in the current 60-second window. Wait the seconds in `Retry-After` before sending again.",{"Retry-After":1068},{"description":1069,"schema":1070},"Seconds to wait before sending again; a request sent sooner is refused too.",{"type":928},{"content":1072,"description":1092},{"application\u002Fjson":1073},{"examples":1074,"schema":1080},{"internal_error":1075},{"summary":667,"value":1076},{"error":1077},{"code":667,"documentation_url":1078,"message":1079,"request_id":943},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#internal_error","An unexpected error occurred.",{"x-ref":945,"description":946,"properties":1081,"required":1091,"type":723},{"error":1082},{"x-ref":949,"description":950,"properties":1083,"required":1090,"type":723},{"code":1084,"message":1086,"documentation_url":1087,"request_id":1088,"details":1089},{"description":953,"enum":1085,"example":655,"type":678},[955,641,646,650,655,956,957,958,959,663,667,960],{"description":962,"example":963,"type":678},{"description":965,"example":966,"format":967,"type":678},{"description":969,"example":943,"type":678},{"additionalProperties":364,"description":971,"type":723},[973,727,974,975],[977],"`internal_error`: Something failed on our side. Retry later, and quote `request_id` if it goes on.","200","envelope",{"path":26},{"id":1097,"title":198,"apiPath":473,"body":1098,"deprecated":134,"description":1628,"extension":1629,"meta":1630,"method":133,"navigation":364,"operationId":471,"order":1631,"path":199,"permission":426,"public":134,"seo":1632,"stem":1633,"summary":198,"tag":62,"__hash__":1634},"apiReference\u002Fapi\u002Freference\u002Fget-org-student.md",{"type":1099,"value":1100,"toc":1626},"minimark",[1101,1622],[1102,1103,1104,1154,1346],"api-code-group",{},[1105,1106,1112],"pre",{"className":1107,"code":1108,"filename":1109,"language":1110,"meta":1111,"style":1111},"language-bash shiki shiki-themes github-light-high-contrast github-dark-high-contrast","# $TOKEN: a short-lived token you minted with your API key and secret\ncurl -sS 'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002F\u003CorganizationId>\u002Fstudent\u002F\u003CstudentId>' \\\n  -H \"Authorization: Bearer $TOKEN\"\n","curl","bash","",[973,1113,1114,1122,1139],{"__ignoreMap":1111},[1115,1116,1118],"span",{"class":1117,"line":367},"line",[1115,1119,1121],{"class":1120},"sLBg1","# $TOKEN: a short-lived token you minted with your API key and secret\n",[1115,1123,1124,1127,1131,1135],{"class":1117,"line":377},[1115,1125,1109],{"class":1126},"soyes",[1115,1128,1130],{"class":1129},"s-5SL"," -sS",[1115,1132,1134],{"class":1133},"sT6z2"," 'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002F\u003CorganizationId>\u002Fstudent\u002F\u003CstudentId>'",[1115,1136,1138],{"class":1137},"sHUrx"," \\\n",[1115,1140,1141,1144,1147,1151],{"class":1117,"line":382},[1115,1142,1143],{"class":1129},"  -H",[1115,1145,1146],{"class":1133}," \"Authorization: Bearer ",[1115,1148,1150],{"class":1149},"suds8","$TOKEN",[1115,1152,1153],{"class":1133},"\"\n",[1105,1155,1159],{"className":1156,"code":1157,"filename":308,"language":1158,"meta":1111,"style":1111},"language-js shiki shiki-themes github-light-high-contrast github-dark-high-contrast","const token = process.env.TOKEN; \u002F\u002F a short-lived token you minted with your API key and secret\n\nconst res = await fetch('https:\u002F\u002Fapi.main-team.org\u002Fv1\u002F\u003CorganizationId>\u002Fstudent\u002F\u003CstudentId>', {\n  headers: {\n    Authorization: `Bearer ${token}`,\n  },\n});\nconst body = await res.json();\nif (!res.ok) throw new Error(`${res.status} ${body.error.code}: ${body.error.message}`);\nconsole.log(body.data);\n","js",[973,1160,1161,1184,1189,1214,1219,1236,1241,1246,1266,1335],{"__ignoreMap":1111},[1115,1162,1163,1166,1169,1172,1175,1178,1181],{"class":1117,"line":367},[1115,1164,1165],{"class":1137},"const",[1115,1167,1168],{"class":1129}," token",[1115,1170,1171],{"class":1137}," =",[1115,1173,1174],{"class":1149}," process.env.",[1115,1176,1177],{"class":1129},"TOKEN",[1115,1179,1180],{"class":1149},"; ",[1115,1182,1183],{"class":1120},"\u002F\u002F a short-lived token you minted with your API key and secret\n",[1115,1185,1186],{"class":1117,"line":377},[1115,1187,1188],{"emptyLinePlaceholder":364},"\n",[1115,1190,1191,1193,1196,1198,1201,1205,1208,1211],{"class":1117,"line":382},[1115,1192,1165],{"class":1137},[1115,1194,1195],{"class":1129}," res",[1115,1197,1171],{"class":1137},[1115,1199,1200],{"class":1137}," await",[1115,1202,1204],{"class":1203},"sKwhi"," fetch",[1115,1206,1207],{"class":1149},"(",[1115,1209,1210],{"class":1133},"'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002F\u003CorganizationId>\u002Fstudent\u002F\u003CstudentId>'",[1115,1212,1213],{"class":1149},", {\n",[1115,1215,1216],{"class":1117,"line":391},[1115,1217,1218],{"class":1149},"  headers: {\n",[1115,1220,1221,1224,1227,1230,1233],{"class":1117,"line":396},[1115,1222,1223],{"class":1149},"    Authorization: ",[1115,1225,1226],{"class":1133},"`Bearer ${",[1115,1228,1229],{"class":1149},"token",[1115,1231,1232],{"class":1133},"}`",[1115,1234,1235],{"class":1149},",\n",[1115,1237,1238],{"class":1117,"line":402},[1115,1239,1240],{"class":1149},"  },\n",[1115,1242,1243],{"class":1117,"line":407},[1115,1244,1245],{"class":1149},"});\n",[1115,1247,1248,1250,1253,1255,1257,1260,1263],{"class":1117,"line":413},[1115,1249,1165],{"class":1137},[1115,1251,1252],{"class":1129}," body",[1115,1254,1171],{"class":1137},[1115,1256,1200],{"class":1137},[1115,1258,1259],{"class":1149}," res.",[1115,1261,1262],{"class":1203},"json",[1115,1264,1265],{"class":1149},"();\n",[1115,1267,1268,1271,1274,1277,1280,1283,1286,1289,1291,1294,1297,1300,1303,1306,1309,1311,1313,1315,1317,1320,1322,1324,1326,1328,1330,1332],{"class":1117,"line":418},[1115,1269,1270],{"class":1137},"if",[1115,1272,1273],{"class":1149}," (",[1115,1275,1276],{"class":1137},"!",[1115,1278,1279],{"class":1149},"res.ok) ",[1115,1281,1282],{"class":1137},"throw",[1115,1284,1285],{"class":1137}," new",[1115,1287,1288],{"class":1203}," Error",[1115,1290,1207],{"class":1149},[1115,1292,1293],{"class":1133},"`${",[1115,1295,1296],{"class":1149},"res",[1115,1298,1299],{"class":1133},".",[1115,1301,1302],{"class":1149},"status",[1115,1304,1305],{"class":1133},"} ${",[1115,1307,1308],{"class":1149},"body",[1115,1310,1299],{"class":1133},[1115,1312,977],{"class":1149},[1115,1314,1299],{"class":1133},[1115,1316,973],{"class":1149},[1115,1318,1319],{"class":1133},"}: ${",[1115,1321,1308],{"class":1149},[1115,1323,1299],{"class":1133},[1115,1325,977],{"class":1149},[1115,1327,1299],{"class":1133},[1115,1329,727],{"class":1149},[1115,1331,1232],{"class":1133},[1115,1333,1334],{"class":1149},");\n",[1115,1336,1337,1340,1343],{"class":1117,"line":427},[1115,1338,1339],{"class":1149},"console.",[1115,1341,1342],{"class":1203},"log",[1115,1344,1345],{"class":1149},"(body.data);\n",[1105,1347,1351],{"className":1348,"code":1349,"filename":311,"language":1350,"meta":1111,"style":1111},"language-php shiki shiki-themes github-light-high-contrast github-dark-high-contrast","\u003C?php\n$token = getenv('TOKEN'); \u002F\u002F a short-lived token you minted with your API key and secret\n\n$ch = curl_init('https:\u002F\u002Fapi.main-team.org\u002Fv1\u002F\u003CorganizationId>\u002Fstudent\u002F\u003CstudentId>');\ncurl_setopt_array($ch, [\n    CURLOPT_HTTPHEADER => [\n        'Authorization: Bearer ' . $token,\n    ],\n    CURLOPT_RETURNTRANSFER => true,\n]);\n$response = curl_exec($ch);\nif ($response === false) {\n    throw new RuntimeException(curl_error($ch));\n}\n$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\n$body = json_decode($response, true);\nif ($status >= 400) {\n    $error = $body['error'];\n    throw new RuntimeException(\"$status {$error['code']}: {$error['message']}\");\n}\nprint_r($body['data']);\n","php",[973,1352,1353,1361,1382,1386,1402,1410,1421,1432,1437,1449,1454,1467,1483,1501,1506,1524,1542,1557,1573,1605,1609],{"__ignoreMap":1111},[1115,1354,1355,1358],{"class":1117,"line":367},[1115,1356,1357],{"class":1137},"\u003C?",[1115,1359,1360],{"class":1129},"php\n",[1115,1362,1363,1366,1369,1372,1374,1377,1380],{"class":1117,"line":377},[1115,1364,1365],{"class":1149},"$token ",[1115,1367,1368],{"class":1137},"=",[1115,1370,1371],{"class":1129}," getenv",[1115,1373,1207],{"class":1149},[1115,1375,1376],{"class":1133},"'TOKEN'",[1115,1378,1379],{"class":1149},"); ",[1115,1381,1183],{"class":1120},[1115,1383,1384],{"class":1117,"line":382},[1115,1385,1188],{"emptyLinePlaceholder":364},[1115,1387,1388,1391,1393,1396,1398,1400],{"class":1117,"line":391},[1115,1389,1390],{"class":1149},"$ch ",[1115,1392,1368],{"class":1137},[1115,1394,1395],{"class":1129}," curl_init",[1115,1397,1207],{"class":1149},[1115,1399,1210],{"class":1133},[1115,1401,1334],{"class":1149},[1115,1403,1404,1407],{"class":1117,"line":396},[1115,1405,1406],{"class":1129},"curl_setopt_array",[1115,1408,1409],{"class":1149},"($ch, [\n",[1115,1411,1412,1415,1418],{"class":1117,"line":402},[1115,1413,1414],{"class":1129},"    CURLOPT_HTTPHEADER",[1115,1416,1417],{"class":1137}," =>",[1115,1419,1420],{"class":1149}," [\n",[1115,1422,1423,1426,1429],{"class":1117,"line":407},[1115,1424,1425],{"class":1133},"        'Authorization: Bearer '",[1115,1427,1428],{"class":1137}," .",[1115,1430,1431],{"class":1149}," $token,\n",[1115,1433,1434],{"class":1117,"line":413},[1115,1435,1436],{"class":1149},"    ],\n",[1115,1438,1439,1442,1444,1447],{"class":1117,"line":418},[1115,1440,1441],{"class":1129},"    CURLOPT_RETURNTRANSFER",[1115,1443,1417],{"class":1137},[1115,1445,1446],{"class":1129}," true",[1115,1448,1235],{"class":1149},[1115,1450,1451],{"class":1117,"line":427},[1115,1452,1453],{"class":1149},"]);\n",[1115,1455,1456,1459,1461,1464],{"class":1117,"line":432},[1115,1457,1458],{"class":1149},"$response ",[1115,1460,1368],{"class":1137},[1115,1462,1463],{"class":1129}," curl_exec",[1115,1465,1466],{"class":1149},"($ch);\n",[1115,1468,1469,1471,1474,1477,1480],{"class":1117,"line":437},[1115,1470,1270],{"class":1137},[1115,1472,1473],{"class":1149}," ($response ",[1115,1475,1476],{"class":1137},"===",[1115,1478,1479],{"class":1129}," false",[1115,1481,1482],{"class":1149},") {\n",[1115,1484,1485,1488,1490,1493,1495,1498],{"class":1117,"line":442},[1115,1486,1487],{"class":1137},"    throw",[1115,1489,1285],{"class":1137},[1115,1491,1492],{"class":1129}," RuntimeException",[1115,1494,1207],{"class":1149},[1115,1496,1497],{"class":1129},"curl_error",[1115,1499,1500],{"class":1149},"($ch));\n",[1115,1502,1503],{"class":1117,"line":447},[1115,1504,1505],{"class":1149},"}\n",[1115,1507,1508,1511,1513,1516,1519,1522],{"class":1117,"line":452},[1115,1509,1510],{"class":1149},"$status ",[1115,1512,1368],{"class":1137},[1115,1514,1515],{"class":1129}," curl_getinfo",[1115,1517,1518],{"class":1149},"($ch, ",[1115,1520,1521],{"class":1129},"CURLINFO_RESPONSE_CODE",[1115,1523,1334],{"class":1149},[1115,1525,1526,1529,1531,1534,1537,1540],{"class":1117,"line":457},[1115,1527,1528],{"class":1149},"$body ",[1115,1530,1368],{"class":1137},[1115,1532,1533],{"class":1129}," json_decode",[1115,1535,1536],{"class":1149},"($response, ",[1115,1538,1539],{"class":1129},"true",[1115,1541,1334],{"class":1149},[1115,1543,1544,1546,1549,1552,1555],{"class":1117,"line":463},[1115,1545,1270],{"class":1137},[1115,1547,1548],{"class":1149}," ($status ",[1115,1550,1551],{"class":1137},">=",[1115,1553,1554],{"class":1129}," 400",[1115,1556,1482],{"class":1149},[1115,1558,1559,1562,1564,1567,1570],{"class":1117,"line":469},[1115,1560,1561],{"class":1149},"    $error ",[1115,1563,1368],{"class":1137},[1115,1565,1566],{"class":1149}," $body[",[1115,1568,1569],{"class":1133},"'error'",[1115,1571,1572],{"class":1149},"];\n",[1115,1574,1575,1577,1579,1581,1583,1586,1589,1592,1595,1598,1600,1603],{"class":1117,"line":474},[1115,1576,1487],{"class":1137},[1115,1578,1285],{"class":1137},[1115,1580,1492],{"class":1129},[1115,1582,1207],{"class":1149},[1115,1584,1585],{"class":1133},"\"",[1115,1587,1588],{"class":1149},"$status",[1115,1590,1591],{"class":1133}," {",[1115,1593,1594],{"class":1149},"$error",[1115,1596,1597],{"class":1133},"['code']}: {",[1115,1599,1594],{"class":1149},[1115,1601,1602],{"class":1133},"['message']}\"",[1115,1604,1334],{"class":1149},[1115,1606,1607],{"class":1117,"line":478},[1115,1608,1505],{"class":1149},[1115,1610,1611,1614,1617,1620],{"class":1117,"line":483},[1115,1612,1613],{"class":1129},"print_r",[1115,1615,1616],{"class":1149},"($body[",[1115,1618,1619],{"class":1133},"'data'",[1115,1621,1453],{"class":1149},[1623,1624,1625],"style",{},"html pre.shiki code .sLBg1, html code.shiki .sLBg1{--shiki-default:#66707B;--shiki-dark:#BDC4CC}html pre.shiki code .soyes, html code.shiki .soyes{--shiki-default:#702C00;--shiki-dark:#FFB757}html pre.shiki code .s-5SL, html code.shiki .s-5SL{--shiki-default:#023B95;--shiki-dark:#91CBFF}html pre.shiki code .sT6z2, html code.shiki .sT6z2{--shiki-default:#032563;--shiki-dark:#ADDCFF}html pre.shiki code .sHUrx, html code.shiki .sHUrx{--shiki-default:#A0111F;--shiki-dark:#FF9492}html pre.shiki code .suds8, html code.shiki .suds8{--shiki-default:#0E1116;--shiki-dark:#F0F3F6}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sKwhi, html code.shiki .sKwhi{--shiki-default:#622CBC;--shiki-dark:#DBB7FF}",{"title":1111,"searchDepth":377,"depth":382,"links":1627},[],"Returns one student your account registered, if they can use this organization (their activatedPlatformsThisSeason holds its slug or common), with the referenc…","md",{},"19",{"title":198,"description":1628},"api\u002Freference\u002Fget-org-student","7-QmqAzr3Pno8MlU2RfpMvkxM-kBRUp0s8IVhgcPkJQ",1791554613402]