[{"data":1,"prerenderedAt":1873},["ShallowReactive",2],{"api-nav":3,"api-spec:index":351,"api-spec:op:create-application":636,"api-permissions-guide":1152,"api-reference-doc:create-application":1153},[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":532,"slug":533,"method":141,"path":528,"tag":86,"summary":237,"deprecated":134,"public":134,"permission":534,"scope":468,"order":535,"description":637,"permissions":638,"errors":639,"guide":365,"parameters":704,"requestBody":713,"responses":730,"successStatus":1150,"kind":1151,"paginated":134,"baseUrl":355,"tagDescription":523,"sandbox":364},"Enters one of your students for one exam in this organization, and creates the payment record the application is paid through.\n\n**Before you call it:** register the student (`registerStudent`), have them sign in to this organization once through a sign-in link (`createSigninLink`), which creates the organization’s own record of them, and pick the exam from `listAvailableExams`: a leaf’s `matchedExam._id` is the `examId` to send. An exam that list leaves out for this student is refused here too.\n\n**Checks, in order.** The first that fails decides the answer.\n\n1. The student is yours (`404`). Your students are the ones your account registered; anyone else’s answers like an unknown id.\n2. The organization holds a record of the student (`409`).\n3. The exam exists in this organization (`404`).\n4. The exam is offered to this student: it is open, and it fits their grade (`400` for a student with no grade), their country and has a language (`409`, naming the rule).\n5. The student already has this exact exam: `200` \"Application already exists.\" with that application, and nothing is created.\n6. The student holds no other exam in the same category on the same sitting (`409`).\n\n**Side effects.** A payment record for the exam’s `price`: `paid` with `amount` 0 for a free exam, `pending` otherwise. This API never takes or refunds money. An application for a make-up sitting is removed automatically 6 hours after it is made (see `removeAfter`).\n\n**Safe to retry** for the same student and exam: a repeat answers `200` with the application already there. Only while the exam is still offered to the student, though, because check 4 runs first: once the sitting date has passed, a repeat answers `409` and leaves the existing application as it was.\n\n`data` is the application as stored. `exam`, `payment` and `user` are ids, and `user` is the organization’s own id for the student, not your `studentId`; `getApplication` resolves them.",[534],[640,644,647,651,656,661,664,667,671,674,676,678,681,684,686,691,696,700],{"code":641,"status":642,"when":643},"bad_request",400,"The body is not valid JSON, breaks a field’s rules, or has a field this operation does not accept (\"property \u003Cname> should not exist\").",{"code":641,"message":645,"status":642,"when":646},"Student has no grade set, and every exam is restricted to a set of grades. Set one with PUT \u002F:organizationId\u002Fstudent\u002F:studentId before applying.","The exam is open, but the student has no grade. Set one with `updateOrgStudent` or `updateStudent`, then try again.",{"code":648,"status":649,"when":650},"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":652,"message":653,"status":654,"when":655},"forbidden","Insufficient role permissions",403,"The token is valid, but no role on your account allows `application\u002Fcreate` on the organization in the path, or a role denies it.",{"code":657,"message":658,"status":659,"when":660},"not_found","Organization not found!",404,"`organizationId` is not the `_id` of an organization.",{"code":657,"message":662,"status":659,"when":663},"Student not found!","No student of yours has this id: it matches nobody, or another account registered the student.",{"code":657,"message":665,"status":659,"when":666},"Exam not found!","`examId` is not the `_id` of an exam in this organization.",{"code":668,"status":669,"when":670},"conflict",409,"The student has never signed in to this organization, so it holds no record of them yet. Send them a sign-in link (`createSigninLink`), and try again once they have used it.",{"code":668,"message":672,"status":669,"when":673},"Exam is not open for application. Only exams returned by GET \u002F:organizationId\u002Fexam can be applied to.","The exam is not open: applications to it are switched off, its sitting date has passed, or its category is inactive.",{"code":668,"status":669,"when":675},"The exam does not accept the student’s grade. The message names the grades it does accept, such as \"Exam is not available for grade 8. It accepts grade 9, 10.\"",{"code":668,"status":669,"when":677},"The exam is restricted to countries the student is not in. The message names the countries it is offered in.",{"code":668,"message":679,"status":669,"when":680},"Exam has no language set, so it is not offered to students and cannot be applied to.","The exam has no language set, so it is offered to no student.",{"code":668,"message":682,"status":669,"when":683},"Exam is not available to this student. Only exams returned by GET \u002F:organizationId\u002Fexam\u002Favailable\u002F:studentId can be applied to.","For any other reason, `listAvailableExams` leaves the exam out for this student.",{"code":668,"status":669,"when":685},"The student already holds another exam in the same category on the same sitting, and nobody can sit both. Move that application (`moveApplication`) instead.",{"code":687,"message":688,"status":689,"when":690},"payload_too_large","request entity too large",413,"The body is larger than 100 kB.",{"code":692,"message":693,"status":694,"when":695},"unsupported_media_type","unsupported charset \"ISO-8859-1\"",415,"The body declares a charset that is not a UTF one (send UTF-8), or a `Content-Encoding` other than gzip, deflate or br.",{"code":697,"status":698,"when":699},"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":701,"status":702,"when":703},"internal_error",500,"Something failed on our side. Retry later, and quote `request_id` if it goes on.",[705],{"description":706,"example":707,"in":708,"name":709,"required":364,"schema":710},"The organization’s `_id`: 24 hexadecimal digits, as `listOrganizations` (`GET \u002Fv1\u002Forganization`) lists it.","64b7f0c2a1d3e4f5a6b7c8d9","path","organizationId",{"pattern":711,"type":712},"^[0-9a-f]{24}$","string",{"content":714,"required":364},{"application\u002Fjson":715},{"schema":716},{"x-ref":717,"description":718,"properties":719,"required":726,"type":729},"#\u002Fcomponents\u002Fschemas\u002FCreateApplicationRequest","The body of `createApplication`: the exam, and the student to enter for it.",{"examId":720,"studentId":723},{"description":721,"example":722,"type":712},"The exam’s `_id` in this organization, 24 hexadecimal digits: a `listAvailableExams` leaf’s `matchedExam._id`, or an `_id` from `listExams`. It has to be an exam `listAvailableExams` offers this student.","6650a1b2c3d4e5f6a7b8c9e1",{"description":724,"example":725,"type":712},"The student’s `_id`, 24 hexadecimal digits: the id `registerStudent` returned. It has to be one of your students, the ones your account registered.","6650a1b2c3d4e5f6a7b8c9d0",[727,728],"examId","studentId","object",{"200":731,"201":859,"400":915,"401":960,"403":982,"404":1003,"409":1029,"413":1060,"415":1081,"429":1102,"500":1128},{"content":732,"description":847,"headers":848},{"application\u002Fjson":733},{"schema":734},{"allOf":735},[736,774],{"x-ref":737,"description":738,"properties":739,"required":771,"type":729},"#\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":740,"message":744,"pagination":747},{"description":741,"enum":742,"example":364,"type":743},"Always `true` on a success.",[364],"boolean",{"description":745,"example":746,"type":712},"A sentence saying what happened, written for a person. Branch on the status and on `data`, not on this.","Request completed successfully.",{"allOf":748,"description":770},[749],{"x-ref":750,"description":751,"properties":752,"required":765,"type":729},"#\u002Fcomponents\u002Fschemas\u002FPaginationMeta","Where one page sits in the whole list.",{"page":753,"limit":756,"total":759,"totalPages":763},{"description":754,"example":367,"minimum":367,"type":755},"The page returned, counting from 1.","number",{"description":757,"example":478,"maximum":758,"minimum":367,"type":755},"Items per page: the `limit` you sent, 20 if you sent none, and never more than 100.",100,{"description":760,"example":761,"minimum":762,"type":755},"Items across every page.",57,0,{"description":764,"example":382,"minimum":762,"type":755},"Pages at this `limit`: `total \u002F limit`, rounded up.",[766,767,768,769],"page","limit","total","totalPages","On list operations only.",[772,773],"success","message",{"properties":775,"required":845,"type":729},{"message":776,"data":778},{"example":777,"type":712},"Application already exists.",{"x-ref":779,"description":780,"properties":781,"required":834,"type":729},"#\u002Fcomponents\u002Fschemas\u002FApplicationRecordResponse","An application as stored, with `exam`, `user` and `payment` as ids. Read the application to have them resolved.",{"_id":782,"exam":785,"user":787,"payment":790,"partners":793,"participated":805,"examStart":807,"examSubmitted":811,"submitDate":813,"simulationStarted":816,"simulationStart":818,"simulationSubmitted":821,"removeAfter":823,"uuid":826,"createdAt":829,"updatedAt":832},{"description":783,"example":784,"type":712},"The application’s id: what `applicationId` takes.","6650a1b2c3d4e5f6a7b8c9e5",{"description":786,"example":722,"type":712},"The id of the exam applied for.",{"description":788,"example":789,"type":712},"The organization’s own id for the student, not the id you registered them with. The application reads resolve it into a record carrying both.","6650a1b2c3d4e5f6a7b8c9e9",{"description":791,"example":792,"type":712},"The id of the application’s payment.","6650a1b2c3d4e5f6a7b8c9e6",{"description":794,"items":795,"type":804},"On a team exam, the other members of the team. Empty for an exam sat alone.",{"x-ref":796,"description":797,"properties":798,"type":729},"#\u002Fcomponents\u002Fschemas\u002FApplicationPartnerResponse","Another member of a team application.",{"user":799,"accepted":802},{"description":800,"example":801,"type":712},"The team member’s id in this organization. Not one of your students’ ids, and not resolved.","6650a1b2c3d4e5f6a7b8c9d6",{"description":803,"example":364,"type":743},"Whether they have accepted the invitation to the team.","array",{"description":806,"example":134,"type":743},"Whether the student has started the exam. A started application cannot be moved to another exam.",{"description":808,"example":809,"format":810,"type":712},"When the student started the exam; absent until then.","2026-11-14T10:04:12.000Z","date-time",{"description":812,"example":134,"type":743},"Whether the student has handed the exam in. A handed-in application cannot be moved to another exam.",{"description":814,"example":815,"format":810,"type":712},"When the student handed the exam in; absent until then.","2026-11-14T11:12:40.000Z",{"description":817,"example":134,"type":743},"Whether the student has started the practice run.",{"description":819,"example":820,"format":810,"type":712},"When the student started the practice run; absent until then.","2026-11-07T10:00:00.000Z",{"description":822,"example":134,"type":743},"Whether the student has handed the practice run in.",{"description":824,"example":825,"format":810,"type":712},"Only on an application to an exam on a make-up sitting: when it will be removed, 6 hours after it was made.","2026-09-02T14:05:00.000Z",{"description":827,"example":828,"type":712},"A short reference code for the application.","a3f-09c-7e1",{"description":830,"example":831,"format":810,"type":712},"When the application was made.","2026-09-01T09:30:00.000Z",{"description":833,"example":825,"format":810,"type":712},"When the application last changed.",[835,836,837,838,839,840,841,842,843,844],"_id","exam","user","partners","participated","simulationStarted","simulationSubmitted","uuid","createdAt","updatedAt",[846],"data","Nothing new had to be created: `message` is \"Application already exists.\".",{"X-RateLimit-Limit":849,"X-RateLimit-Remaining":853,"X-RateLimit-Reset":856},{"description":850,"schema":851},"Requests your account may make to this operation per window (100).",{"type":852},"integer",{"description":854,"schema":855},"Requests left in the current window.",{"type":852},{"description":857,"schema":858},"Seconds until the current window ends.",{"type":852},{"content":860,"description":907,"headers":908},{"application\u002Fjson":861},{"schema":862},{"allOf":863},[864,879],{"x-ref":737,"description":738,"properties":865,"required":878,"type":729},{"success":866,"message":868,"pagination":869},{"description":741,"enum":867,"example":364,"type":743},[364],{"description":745,"example":746,"type":712},{"allOf":870,"description":770},[871],{"x-ref":750,"description":751,"properties":872,"required":877,"type":729},{"page":873,"limit":874,"total":875,"totalPages":876},{"description":754,"example":367,"minimum":367,"type":755},{"description":757,"example":478,"maximum":758,"minimum":367,"type":755},{"description":760,"example":761,"minimum":762,"type":755},{"description":764,"example":382,"minimum":762,"type":755},[766,767,768,769],[772,773],{"properties":880,"required":906,"type":729},{"message":881,"data":883},{"example":882,"type":712},"Application created successfully.",{"x-ref":779,"description":780,"properties":884,"required":905,"type":729},{"_id":885,"exam":886,"user":887,"payment":888,"partners":889,"participated":894,"examStart":895,"examSubmitted":896,"submitDate":897,"simulationStarted":898,"simulationStart":899,"simulationSubmitted":900,"removeAfter":901,"uuid":902,"createdAt":903,"updatedAt":904},{"description":783,"example":784,"type":712},{"description":786,"example":722,"type":712},{"description":788,"example":789,"type":712},{"description":791,"example":792,"type":712},{"description":794,"items":890,"type":804},{"x-ref":796,"description":797,"properties":891,"type":729},{"user":892,"accepted":893},{"description":800,"example":801,"type":712},{"description":803,"example":364,"type":743},{"description":806,"example":134,"type":743},{"description":808,"example":809,"format":810,"type":712},{"description":812,"example":134,"type":743},{"description":814,"example":815,"format":810,"type":712},{"description":817,"example":134,"type":743},{"description":819,"example":820,"format":810,"type":712},{"description":822,"example":134,"type":743},{"description":824,"example":825,"format":810,"type":712},{"description":827,"example":828,"type":712},{"description":830,"example":831,"format":810,"type":712},{"description":833,"example":825,"format":810,"type":712},[835,836,837,838,839,840,841,842,843,844],[846],"Created: `message` is \"Application created successfully.\".",{"X-RateLimit-Limit":909,"X-RateLimit-Remaining":911,"X-RateLimit-Reset":913},{"description":850,"schema":910},{"type":852},{"description":854,"schema":912},{"type":852},{"description":857,"schema":914},{"type":852},{"content":916,"description":959},{"application\u002Fjson":917},{"examples":918,"schema":928},{"bad_request":919,"bad_request_2":925},{"summary":643,"value":920},{"error":921},{"code":641,"documentation_url":922,"message":923,"request_id":924},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#bad_request","The request was malformed or contained invalid parameters.","0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8e",{"summary":646,"value":926},{"error":927},{"code":641,"documentation_url":922,"message":645,"request_id":924},{"x-ref":929,"description":930,"properties":931,"required":957,"type":729},"#\u002Fcomponents\u002Fschemas\u002FErrorEnvelope","How every error response is wrapped.",{"error":932},{"x-ref":933,"description":934,"properties":935,"required":953,"type":729},"#\u002Fcomponents\u002Fschemas\u002FErrorDetail","What went wrong.",{"code":936,"message":942,"documentation_url":945,"request_id":949,"details":951},{"description":937,"enum":938,"example":657,"type":712},"A stable machine code: branch on this. Each one is explained at `documentation_url`.",[939,641,648,652,657,668,687,692,940,697,701,941],"invalid_email","unprocessable_entity","service_unavailable",{"description":943,"example":944,"type":712},"Written for a person, and may change: never branch on it.","Not found!",{"description":946,"example":947,"format":948,"type":712},"Where this code is explained.","https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#not_found","uri",{"description":950,"example":924,"type":712},"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":952,"type":729},"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.",[954,773,955,956],"code","documentation_url","request_id",[958],"error","- `bad_request`: The body is not valid JSON, breaks a field’s rules, or has a field this operation does not accept (\"property \u003Cname> should not exist\").\n- `bad_request`: The exam is open, but the student has no grade. Set one with `updateOrgStudent` or `updateStudent`, then try again.",{"content":961,"description":981},{"application\u002Fjson":962},{"examples":963,"schema":969},{"unauthorized":964},{"summary":648,"value":965},{"error":966},{"code":648,"documentation_url":967,"message":968,"request_id":924},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#unauthorized","Authentication is required or the provided credentials are invalid.",{"x-ref":929,"description":930,"properties":970,"required":980,"type":729},{"error":971},{"x-ref":933,"description":934,"properties":972,"required":979,"type":729},{"code":973,"message":975,"documentation_url":976,"request_id":977,"details":978},{"description":937,"enum":974,"example":657,"type":712},[939,641,648,652,657,668,687,692,940,697,701,941],{"description":943,"example":944,"type":712},{"description":946,"example":947,"format":948,"type":712},{"description":950,"example":924,"type":712},{"additionalProperties":364,"description":952,"type":729},[954,773,955,956],[958],"`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":983,"description":1002},{"application\u002Fjson":984},{"examples":985,"schema":990},{"forbidden":986},{"summary":652,"value":987},{"error":988},{"code":652,"documentation_url":989,"message":653,"request_id":924},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#forbidden",{"x-ref":929,"description":930,"properties":991,"required":1001,"type":729},{"error":992},{"x-ref":933,"description":934,"properties":993,"required":1000,"type":729},{"code":994,"message":996,"documentation_url":997,"request_id":998,"details":999},{"description":937,"enum":995,"example":657,"type":712},[939,641,648,652,657,668,687,692,940,697,701,941],{"description":943,"example":944,"type":712},{"description":946,"example":947,"format":948,"type":712},{"description":950,"example":924,"type":712},{"additionalProperties":364,"description":952,"type":729},[954,773,955,956],[958],"`forbidden`: The token is valid, but no role on your account allows `application\u002Fcreate` on the organization in the path, or a role denies it.",{"content":1004,"description":1028},{"application\u002Fjson":1005},{"examples":1006,"schema":1016},{"not_found":1007,"not_found_2":1010,"not_found_3":1013},{"summary":660,"value":1008},{"error":1009},{"code":657,"documentation_url":947,"message":658,"request_id":924},{"summary":663,"value":1011},{"error":1012},{"code":657,"documentation_url":947,"message":662,"request_id":924},{"summary":666,"value":1014},{"error":1015},{"code":657,"documentation_url":947,"message":665,"request_id":924},{"x-ref":929,"description":930,"properties":1017,"required":1027,"type":729},{"error":1018},{"x-ref":933,"description":934,"properties":1019,"required":1026,"type":729},{"code":1020,"message":1022,"documentation_url":1023,"request_id":1024,"details":1025},{"description":937,"enum":1021,"example":657,"type":712},[939,641,648,652,657,668,687,692,940,697,701,941],{"description":943,"example":944,"type":712},{"description":946,"example":947,"format":948,"type":712},{"description":950,"example":924,"type":712},{"additionalProperties":364,"description":952,"type":729},[954,773,955,956],[958],"- `not_found`: `organizationId` is not the `_id` of an organization.\n- `not_found`: No student of yours has this id: it matches nobody, or another account registered the student.\n- `not_found`: `examId` is not the `_id` of an exam in this organization.",{"content":1030,"description":1059},{"application\u002Fjson":1031},{"examples":1032,"schema":1047},{"conflict":1033,"conflict_2":1038,"conflict_3":1041,"conflict_4":1044},{"summary":670,"value":1034},{"error":1035},{"code":668,"documentation_url":1036,"message":1037,"request_id":924},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#conflict","The request conflicts with the current state of the resource.",{"summary":673,"value":1039},{"error":1040},{"code":668,"documentation_url":1036,"message":672,"request_id":924},{"summary":680,"value":1042},{"error":1043},{"code":668,"documentation_url":1036,"message":679,"request_id":924},{"summary":683,"value":1045},{"error":1046},{"code":668,"documentation_url":1036,"message":682,"request_id":924},{"x-ref":929,"description":930,"properties":1048,"required":1058,"type":729},{"error":1049},{"x-ref":933,"description":934,"properties":1050,"required":1057,"type":729},{"code":1051,"message":1053,"documentation_url":1054,"request_id":1055,"details":1056},{"description":937,"enum":1052,"example":657,"type":712},[939,641,648,652,657,668,687,692,940,697,701,941],{"description":943,"example":944,"type":712},{"description":946,"example":947,"format":948,"type":712},{"description":950,"example":924,"type":712},{"additionalProperties":364,"description":952,"type":729},[954,773,955,956],[958],"- `conflict`: The student has never signed in to this organization, so it holds no record of them yet. Send them a sign-in link (`createSigninLink`), and try again once they have used it.\n- `conflict`: The exam is not open: applications to it are switched off, its sitting date has passed, or its category is inactive.\n- `conflict`: The exam does not accept the student’s grade. The message names the grades it does accept, such as \"Exam is not available for grade 8. It accepts grade 9, 10.\"\n- `conflict`: The exam is restricted to countries the student is not in. The message names the countries it is offered in.\n- `conflict`: The exam has no language set, so it is offered to no student.\n- `conflict`: For any other reason, `listAvailableExams` leaves the exam out for this student.\n- `conflict`: The student already holds another exam in the same category on the same sitting, and nobody can sit both. Move that application (`moveApplication`) instead.",{"content":1061,"description":1080},{"application\u002Fjson":1062},{"examples":1063,"schema":1068},{"payload_too_large":1064},{"summary":687,"value":1065},{"error":1066},{"code":687,"documentation_url":1067,"message":688,"request_id":924},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#payload_too_large",{"x-ref":929,"description":930,"properties":1069,"required":1079,"type":729},{"error":1070},{"x-ref":933,"description":934,"properties":1071,"required":1078,"type":729},{"code":1072,"message":1074,"documentation_url":1075,"request_id":1076,"details":1077},{"description":937,"enum":1073,"example":657,"type":712},[939,641,648,652,657,668,687,692,940,697,701,941],{"description":943,"example":944,"type":712},{"description":946,"example":947,"format":948,"type":712},{"description":950,"example":924,"type":712},{"additionalProperties":364,"description":952,"type":729},[954,773,955,956],[958],"`payload_too_large`: The body is larger than 100 kB.",{"content":1082,"description":1101},{"application\u002Fjson":1083},{"examples":1084,"schema":1089},{"unsupported_media_type":1085},{"summary":692,"value":1086},{"error":1087},{"code":692,"documentation_url":1088,"message":693,"request_id":924},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#unsupported_media_type",{"x-ref":929,"description":930,"properties":1090,"required":1100,"type":729},{"error":1091},{"x-ref":933,"description":934,"properties":1092,"required":1099,"type":729},{"code":1093,"message":1095,"documentation_url":1096,"request_id":1097,"details":1098},{"description":937,"enum":1094,"example":657,"type":712},[939,641,648,652,657,668,687,692,940,697,701,941],{"description":943,"example":944,"type":712},{"description":946,"example":947,"format":948,"type":712},{"description":950,"example":924,"type":712},{"additionalProperties":364,"description":952,"type":729},[954,773,955,956],[958],"`unsupported_media_type`: The body declares a charset that is not a UTF one (send UTF-8), or a `Content-Encoding` other than gzip, deflate or br.",{"content":1103,"description":1123,"headers":1124},{"application\u002Fjson":1104},{"examples":1105,"schema":1111},{"too_many_requests":1106},{"summary":697,"value":1107},{"error":1108},{"code":697,"documentation_url":1109,"message":1110,"request_id":924},"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":929,"description":930,"properties":1112,"required":1122,"type":729},{"error":1113},{"x-ref":933,"description":934,"properties":1114,"required":1121,"type":729},{"code":1115,"message":1117,"documentation_url":1118,"request_id":1119,"details":1120},{"description":937,"enum":1116,"example":657,"type":712},[939,641,648,652,657,668,687,692,940,697,701,941],{"description":943,"example":944,"type":712},{"description":946,"example":947,"format":948,"type":712},{"description":950,"example":924,"type":712},{"additionalProperties":364,"description":952,"type":729},[954,773,955,956],[958],"`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":1125},{"description":1126,"schema":1127},"Seconds to wait before sending again; a request sent sooner is refused too.",{"type":852},{"content":1129,"description":1149},{"application\u002Fjson":1130},{"examples":1131,"schema":1137},{"internal_error":1132},{"summary":701,"value":1133},{"error":1134},{"code":701,"documentation_url":1135,"message":1136,"request_id":924},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#internal_error","An unexpected error occurred.",{"x-ref":929,"description":930,"properties":1138,"required":1148,"type":729},{"error":1139},{"x-ref":933,"description":934,"properties":1140,"required":1147,"type":729},{"code":1141,"message":1143,"documentation_url":1144,"request_id":1145,"details":1146},{"description":937,"enum":1142,"example":657,"type":712},[939,641,648,652,657,668,687,692,940,697,701,941],{"description":943,"example":944,"type":712},{"description":946,"example":947,"format":948,"type":712},{"description":950,"example":924,"type":712},{"additionalProperties":364,"description":952,"type":729},[954,773,955,956],[958],"`internal_error`: Something failed on our side. Retry later, and quote `request_id` if it goes on.","200","envelope",{"path":26},{"id":1154,"title":237,"apiPath":528,"body":1155,"deprecated":134,"description":1866,"extension":1867,"meta":1868,"method":141,"navigation":364,"operationId":532,"order":1869,"path":238,"permission":534,"public":134,"seo":1870,"stem":1871,"summary":237,"tag":86,"__hash__":1872},"apiReference\u002Fapi\u002Freference\u002Fcreate-application.md",{"type":1156,"value":1157,"toc":1864},"minimark",[1158,1860],[1159,1160,1161,1267,1525],"api-code-group",{},[1162,1163,1169],"pre",{"className":1164,"code":1165,"filename":1166,"language":1167,"meta":1168,"style":1168},"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 -X POST 'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002F\u003CorganizationId>\u002Fapplication' \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -H 'Content-Type: application\u002Fjson' \\\n  --data-binary @- \u003C\u003C'JSON'\n{\n  \"examId\": \"6650a1b2c3d4e5f6a7b8c9e1\",\n  \"studentId\": \"6650a1b2c3d4e5f6a7b8c9d0\"\n}\nJSON\n","curl","bash","",[954,1170,1171,1179,1202,1219,1228,1242,1247,1252,1257,1262],{"__ignoreMap":1168},[1172,1173,1175],"span",{"class":1174,"line":367},"line",[1172,1176,1178],{"class":1177},"sLBg1","# $TOKEN: a short-lived token you minted with your API key and secret\n",[1172,1180,1181,1184,1188,1191,1195,1198],{"class":1174,"line":377},[1172,1182,1166],{"class":1183},"soyes",[1172,1185,1187],{"class":1186},"s-5SL"," -sS",[1172,1189,1190],{"class":1186}," -X",[1172,1192,1194],{"class":1193},"sT6z2"," POST",[1172,1196,1197],{"class":1193}," 'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002F\u003CorganizationId>\u002Fapplication'",[1172,1199,1201],{"class":1200},"sHUrx"," \\\n",[1172,1203,1204,1207,1210,1214,1217],{"class":1174,"line":382},[1172,1205,1206],{"class":1186},"  -H",[1172,1208,1209],{"class":1193}," \"Authorization: Bearer ",[1172,1211,1213],{"class":1212},"suds8","$TOKEN",[1172,1215,1216],{"class":1193},"\"",[1172,1218,1201],{"class":1200},[1172,1220,1221,1223,1226],{"class":1174,"line":391},[1172,1222,1206],{"class":1186},[1172,1224,1225],{"class":1193}," 'Content-Type: application\u002Fjson'",[1172,1227,1201],{"class":1200},[1172,1229,1230,1233,1236,1239],{"class":1174,"line":396},[1172,1231,1232],{"class":1186},"  --data-binary",[1172,1234,1235],{"class":1193}," @-",[1172,1237,1238],{"class":1200}," \u003C\u003C",[1172,1240,1241],{"class":1212},"'JSON'\n",[1172,1243,1244],{"class":1174,"line":402},[1172,1245,1246],{"class":1193},"{\n",[1172,1248,1249],{"class":1174,"line":407},[1172,1250,1251],{"class":1193},"  \"examId\": \"6650a1b2c3d4e5f6a7b8c9e1\",\n",[1172,1253,1254],{"class":1174,"line":413},[1172,1255,1256],{"class":1193},"  \"studentId\": \"6650a1b2c3d4e5f6a7b8c9d0\"\n",[1172,1258,1259],{"class":1174,"line":418},[1172,1260,1261],{"class":1193},"}\n",[1172,1263,1264],{"class":1174,"line":427},[1172,1265,1266],{"class":1212},"JSON\n",[1162,1268,1272],{"className":1269,"code":1270,"filename":308,"language":1271,"meta":1168,"style":1168},"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>\u002Fapplication', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${token}`,\n    'Content-Type': 'application\u002Fjson',\n  },\n  body: JSON.stringify({\n    \"examId\": \"6650a1b2c3d4e5f6a7b8c9e1\",\n    \"studentId\": \"6650a1b2c3d4e5f6a7b8c9d0\"\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",[954,1273,1274,1297,1302,1327,1338,1343,1359,1372,1377,1394,1406,1416,1421,1426,1446,1514],{"__ignoreMap":1168},[1172,1275,1276,1279,1282,1285,1288,1291,1294],{"class":1174,"line":367},[1172,1277,1278],{"class":1200},"const",[1172,1280,1281],{"class":1186}," token",[1172,1283,1284],{"class":1200}," =",[1172,1286,1287],{"class":1212}," process.env.",[1172,1289,1290],{"class":1186},"TOKEN",[1172,1292,1293],{"class":1212},"; ",[1172,1295,1296],{"class":1177},"\u002F\u002F a short-lived token you minted with your API key and secret\n",[1172,1298,1299],{"class":1174,"line":377},[1172,1300,1301],{"emptyLinePlaceholder":364},"\n",[1172,1303,1304,1306,1309,1311,1314,1318,1321,1324],{"class":1174,"line":382},[1172,1305,1278],{"class":1200},[1172,1307,1308],{"class":1186}," res",[1172,1310,1284],{"class":1200},[1172,1312,1313],{"class":1200}," await",[1172,1315,1317],{"class":1316},"sKwhi"," fetch",[1172,1319,1320],{"class":1212},"(",[1172,1322,1323],{"class":1193},"'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002F\u003CorganizationId>\u002Fapplication'",[1172,1325,1326],{"class":1212},", {\n",[1172,1328,1329,1332,1335],{"class":1174,"line":391},[1172,1330,1331],{"class":1212},"  method: ",[1172,1333,1334],{"class":1193},"'POST'",[1172,1336,1337],{"class":1212},",\n",[1172,1339,1340],{"class":1174,"line":396},[1172,1341,1342],{"class":1212},"  headers: {\n",[1172,1344,1345,1348,1351,1354,1357],{"class":1174,"line":402},[1172,1346,1347],{"class":1212},"    Authorization: ",[1172,1349,1350],{"class":1193},"`Bearer ${",[1172,1352,1353],{"class":1212},"token",[1172,1355,1356],{"class":1193},"}`",[1172,1358,1337],{"class":1212},[1172,1360,1361,1364,1367,1370],{"class":1174,"line":407},[1172,1362,1363],{"class":1193},"    'Content-Type'",[1172,1365,1366],{"class":1212},": ",[1172,1368,1369],{"class":1193},"'application\u002Fjson'",[1172,1371,1337],{"class":1212},[1172,1373,1374],{"class":1174,"line":413},[1172,1375,1376],{"class":1212},"  },\n",[1172,1378,1379,1382,1385,1388,1391],{"class":1174,"line":418},[1172,1380,1381],{"class":1212},"  body: ",[1172,1383,1384],{"class":1186},"JSON",[1172,1386,1387],{"class":1212},".",[1172,1389,1390],{"class":1316},"stringify",[1172,1392,1393],{"class":1212},"({\n",[1172,1395,1396,1399,1401,1404],{"class":1174,"line":427},[1172,1397,1398],{"class":1193},"    \"examId\"",[1172,1400,1366],{"class":1212},[1172,1402,1403],{"class":1193},"\"6650a1b2c3d4e5f6a7b8c9e1\"",[1172,1405,1337],{"class":1212},[1172,1407,1408,1411,1413],{"class":1174,"line":432},[1172,1409,1410],{"class":1193},"    \"studentId\"",[1172,1412,1366],{"class":1212},[1172,1414,1415],{"class":1193},"\"6650a1b2c3d4e5f6a7b8c9d0\"\n",[1172,1417,1418],{"class":1174,"line":437},[1172,1419,1420],{"class":1212},"  }),\n",[1172,1422,1423],{"class":1174,"line":442},[1172,1424,1425],{"class":1212},"});\n",[1172,1427,1428,1430,1433,1435,1437,1440,1443],{"class":1174,"line":447},[1172,1429,1278],{"class":1200},[1172,1431,1432],{"class":1186}," body",[1172,1434,1284],{"class":1200},[1172,1436,1313],{"class":1200},[1172,1438,1439],{"class":1212}," res.",[1172,1441,1442],{"class":1316},"json",[1172,1444,1445],{"class":1212},"();\n",[1172,1447,1448,1451,1454,1457,1460,1463,1466,1469,1471,1474,1477,1479,1482,1485,1488,1490,1492,1494,1496,1499,1501,1503,1505,1507,1509,1511],{"class":1174,"line":452},[1172,1449,1450],{"class":1200},"if",[1172,1452,1453],{"class":1212}," (",[1172,1455,1456],{"class":1200},"!",[1172,1458,1459],{"class":1212},"res.ok) ",[1172,1461,1462],{"class":1200},"throw",[1172,1464,1465],{"class":1200}," new",[1172,1467,1468],{"class":1316}," Error",[1172,1470,1320],{"class":1212},[1172,1472,1473],{"class":1193},"`${",[1172,1475,1476],{"class":1212},"res",[1172,1478,1387],{"class":1193},[1172,1480,1481],{"class":1212},"status",[1172,1483,1484],{"class":1193},"} ${",[1172,1486,1487],{"class":1212},"body",[1172,1489,1387],{"class":1193},[1172,1491,958],{"class":1212},[1172,1493,1387],{"class":1193},[1172,1495,954],{"class":1212},[1172,1497,1498],{"class":1193},"}: ${",[1172,1500,1487],{"class":1212},[1172,1502,1387],{"class":1193},[1172,1504,958],{"class":1212},[1172,1506,1387],{"class":1193},[1172,1508,773],{"class":1212},[1172,1510,1356],{"class":1193},[1172,1512,1513],{"class":1212},");\n",[1172,1515,1516,1519,1522],{"class":1174,"line":457},[1172,1517,1518],{"class":1212},"console.",[1172,1520,1521],{"class":1316},"log",[1172,1523,1524],{"class":1212},"(body.data);\n",[1162,1526,1530],{"className":1527,"code":1528,"filename":311,"language":1529,"meta":1168,"style":1168},"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>\u002Fapplication');\ncurl_setopt_array($ch, [\n    CURLOPT_CUSTOMREQUEST => 'POST',\n    CURLOPT_HTTPHEADER => [\n        'Authorization: Bearer ' . $token,\n        'Content-Type: application\u002Fjson',\n    ],\n    CURLOPT_POSTFIELDS => json_encode([\n        'examId' => '6650a1b2c3d4e5f6a7b8c9e1',\n        'studentId' => '6650a1b2c3d4e5f6a7b8c9d0',\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",[954,1531,1532,1540,1561,1565,1581,1589,1602,1612,1623,1630,1635,1648,1660,1672,1677,1689,1694,1707,1723,1741,1745,1763,1781,1796,1812,1843,1847],{"__ignoreMap":1168},[1172,1533,1534,1537],{"class":1174,"line":367},[1172,1535,1536],{"class":1200},"\u003C?",[1172,1538,1539],{"class":1186},"php\n",[1172,1541,1542,1545,1548,1551,1553,1556,1559],{"class":1174,"line":377},[1172,1543,1544],{"class":1212},"$token ",[1172,1546,1547],{"class":1200},"=",[1172,1549,1550],{"class":1186}," getenv",[1172,1552,1320],{"class":1212},[1172,1554,1555],{"class":1193},"'TOKEN'",[1172,1557,1558],{"class":1212},"); ",[1172,1560,1296],{"class":1177},[1172,1562,1563],{"class":1174,"line":382},[1172,1564,1301],{"emptyLinePlaceholder":364},[1172,1566,1567,1570,1572,1575,1577,1579],{"class":1174,"line":391},[1172,1568,1569],{"class":1212},"$ch ",[1172,1571,1547],{"class":1200},[1172,1573,1574],{"class":1186}," curl_init",[1172,1576,1320],{"class":1212},[1172,1578,1323],{"class":1193},[1172,1580,1513],{"class":1212},[1172,1582,1583,1586],{"class":1174,"line":396},[1172,1584,1585],{"class":1186},"curl_setopt_array",[1172,1587,1588],{"class":1212},"($ch, [\n",[1172,1590,1591,1594,1597,1600],{"class":1174,"line":402},[1172,1592,1593],{"class":1186},"    CURLOPT_CUSTOMREQUEST",[1172,1595,1596],{"class":1200}," =>",[1172,1598,1599],{"class":1193}," 'POST'",[1172,1601,1337],{"class":1212},[1172,1603,1604,1607,1609],{"class":1174,"line":407},[1172,1605,1606],{"class":1186},"    CURLOPT_HTTPHEADER",[1172,1608,1596],{"class":1200},[1172,1610,1611],{"class":1212}," [\n",[1172,1613,1614,1617,1620],{"class":1174,"line":413},[1172,1615,1616],{"class":1193},"        'Authorization: Bearer '",[1172,1618,1619],{"class":1200}," .",[1172,1621,1622],{"class":1212}," $token,\n",[1172,1624,1625,1628],{"class":1174,"line":418},[1172,1626,1627],{"class":1193},"        'Content-Type: application\u002Fjson'",[1172,1629,1337],{"class":1212},[1172,1631,1632],{"class":1174,"line":427},[1172,1633,1634],{"class":1212},"    ],\n",[1172,1636,1637,1640,1642,1645],{"class":1174,"line":432},[1172,1638,1639],{"class":1186},"    CURLOPT_POSTFIELDS",[1172,1641,1596],{"class":1200},[1172,1643,1644],{"class":1186}," json_encode",[1172,1646,1647],{"class":1212},"([\n",[1172,1649,1650,1653,1655,1658],{"class":1174,"line":437},[1172,1651,1652],{"class":1193},"        'examId'",[1172,1654,1596],{"class":1200},[1172,1656,1657],{"class":1193}," '6650a1b2c3d4e5f6a7b8c9e1'",[1172,1659,1337],{"class":1212},[1172,1661,1662,1665,1667,1670],{"class":1174,"line":442},[1172,1663,1664],{"class":1193},"        'studentId'",[1172,1666,1596],{"class":1200},[1172,1668,1669],{"class":1193}," '6650a1b2c3d4e5f6a7b8c9d0'",[1172,1671,1337],{"class":1212},[1172,1673,1674],{"class":1174,"line":447},[1172,1675,1676],{"class":1212},"    ]),\n",[1172,1678,1679,1682,1684,1687],{"class":1174,"line":452},[1172,1680,1681],{"class":1186},"    CURLOPT_RETURNTRANSFER",[1172,1683,1596],{"class":1200},[1172,1685,1686],{"class":1186}," true",[1172,1688,1337],{"class":1212},[1172,1690,1691],{"class":1174,"line":457},[1172,1692,1693],{"class":1212},"]);\n",[1172,1695,1696,1699,1701,1704],{"class":1174,"line":463},[1172,1697,1698],{"class":1212},"$response ",[1172,1700,1547],{"class":1200},[1172,1702,1703],{"class":1186}," curl_exec",[1172,1705,1706],{"class":1212},"($ch);\n",[1172,1708,1709,1711,1714,1717,1720],{"class":1174,"line":469},[1172,1710,1450],{"class":1200},[1172,1712,1713],{"class":1212}," ($response ",[1172,1715,1716],{"class":1200},"===",[1172,1718,1719],{"class":1186}," false",[1172,1721,1722],{"class":1212},") {\n",[1172,1724,1725,1728,1730,1733,1735,1738],{"class":1174,"line":474},[1172,1726,1727],{"class":1200},"    throw",[1172,1729,1465],{"class":1200},[1172,1731,1732],{"class":1186}," RuntimeException",[1172,1734,1320],{"class":1212},[1172,1736,1737],{"class":1186},"curl_error",[1172,1739,1740],{"class":1212},"($ch));\n",[1172,1742,1743],{"class":1174,"line":478},[1172,1744,1261],{"class":1212},[1172,1746,1747,1750,1752,1755,1758,1761],{"class":1174,"line":483},[1172,1748,1749],{"class":1212},"$status ",[1172,1751,1547],{"class":1200},[1172,1753,1754],{"class":1186}," curl_getinfo",[1172,1756,1757],{"class":1212},"($ch, ",[1172,1759,1760],{"class":1186},"CURLINFO_RESPONSE_CODE",[1172,1762,1513],{"class":1212},[1172,1764,1765,1768,1770,1773,1776,1779],{"class":1174,"line":491},[1172,1766,1767],{"class":1212},"$body ",[1172,1769,1547],{"class":1200},[1172,1771,1772],{"class":1186}," json_decode",[1172,1774,1775],{"class":1212},"($response, ",[1172,1777,1778],{"class":1186},"true",[1172,1780,1513],{"class":1212},[1172,1782,1783,1785,1788,1791,1794],{"class":1174,"line":500},[1172,1784,1450],{"class":1200},[1172,1786,1787],{"class":1212}," ($status ",[1172,1789,1790],{"class":1200},">=",[1172,1792,1793],{"class":1186}," 400",[1172,1795,1722],{"class":1212},[1172,1797,1798,1801,1803,1806,1809],{"class":1174,"line":506},[1172,1799,1800],{"class":1212},"    $error ",[1172,1802,1547],{"class":1200},[1172,1804,1805],{"class":1212}," $body[",[1172,1807,1808],{"class":1193},"'error'",[1172,1810,1811],{"class":1212},"];\n",[1172,1813,1814,1816,1818,1820,1822,1824,1827,1830,1833,1836,1838,1841],{"class":1174,"line":511},[1172,1815,1727],{"class":1200},[1172,1817,1465],{"class":1200},[1172,1819,1732],{"class":1186},[1172,1821,1320],{"class":1212},[1172,1823,1216],{"class":1193},[1172,1825,1826],{"class":1212},"$status",[1172,1828,1829],{"class":1193}," {",[1172,1831,1832],{"class":1212},"$error",[1172,1834,1835],{"class":1193},"['code']}: {",[1172,1837,1832],{"class":1212},[1172,1839,1840],{"class":1193},"['message']}\"",[1172,1842,1513],{"class":1212},[1172,1844,1845],{"class":1174,"line":516},[1172,1846,1261],{"class":1212},[1172,1848,1849,1852,1855,1858],{"class":1174,"line":521},[1172,1850,1851],{"class":1186},"print_r",[1172,1853,1854],{"class":1212},"($body[",[1172,1856,1857],{"class":1193},"'data'",[1172,1859,1693],{"class":1212},[1861,1862,1863],"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":1168,"searchDepth":377,"depth":382,"links":1865},[],"Enters one of your students for one exam in this organization, and creates the payment record the application is paid through.","md",{},"29",{"title":237,"description":1866},"api\u002Freference\u002Fcreate-application","gox9Jajj_pHtVkCzcxkaWMfSIIGdNG94J589c_9weSU",1791554613403]