[{"data":1,"prerenderedAt":571},["ShallowReactive",2],{"api-nav":3,"api-changelog:1-4-0":362},[4,28,57,104,124,328,342],{"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":103},"resources","Guides",[61,64,67,70,73,76,79,82,85,88,91,94,97,100],{"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},"Settling payments","\u002Fapi\u002Fguides\u002Fsettling-payments",{"title":92,"to":93,"status":14},"Wallet","\u002Fapi\u002Fguides\u002Fwallet",{"title":95,"to":96,"status":14},"Group challenges","\u002Fapi\u002Fguides\u002Fgroup-challenges",{"title":98,"to":99,"status":14},"Certificates and reports","\u002Fapi\u002Fguides\u002Fcertificates-and-reports",{"title":101,"to":102,"status":14},"Build your own client","\u002Fapi\u002Fclients\u002Fbuild-your-own",[],{"id":105,"title":106,"links":107,"groups":123},"tutorials","Tutorials",[108,111,114,117,120],{"title":109,"to":110,"status":14},"Register and apply","\u002Fapi\u002Ftutorials\u002Fregister-and-apply",{"title":112,"to":113,"status":14},"Send a student to the olympiad's site","\u002Fapi\u002Ftutorials\u002Fsend-student-to-panel",{"title":115,"to":116,"status":14},"Change an application","\u002Fapi\u002Ftutorials\u002Fchange-an-application",{"title":118,"to":119,"status":14},"Collect results","\u002Fapi\u002Ftutorials\u002Fcollect-results",{"title":121,"to":122,"status":14},"Token handling","\u002Fapi\u002Ftutorials\u002Ftoken-handling",[],{"id":125,"title":126,"links":127,"groups":134},"reference","Reference",[128,131],{"title":129,"to":130},"All endpoints","\u002Fapi\u002Freference",{"title":132,"to":133},"Sandbox console","\u002Fapi\u002Fconsole",[135,144,154,163,187,227,233,251,282,298],{"tag":136,"slug":137,"links":138},"Health","health",[139],{"title":140,"to":141,"method":142,"deprecated":143},"Check that the API is up","\u002Fapi\u002Freference\u002Fget-health","GET",false,{"tag":77,"slug":145,"links":146},"api-account",[147,151],{"title":148,"to":149,"method":150,"deprecated":143},"Revoke the token you send, before it expires","\u002Fapi\u002Freference\u002Frevoke-token","POST",{"title":152,"to":153,"method":142,"deprecated":143},"Fetch the API account your token belongs to","\u002Fapi\u002Freference\u002Fget-current-api-account",{"tag":92,"slug":155,"links":156},"wallet",[157,160],{"title":158,"to":159,"method":142,"deprecated":143},"Read your wallet: credits granted, spent and remaining","\u002Fapi\u002Freference\u002Fget-wallet",{"title":161,"to":162,"method":142,"deprecated":143},"List your wallet history","\u002Fapi\u002Freference\u002Flist-wallet-entries",{"tag":74,"slug":164,"links":165},"reference-data",[166,169,172,175,178,181,184],{"title":167,"to":168,"method":142,"deprecated":143},"List the countries a student can be registered in","\u002Fapi\u002Freference\u002Flist-countries",{"title":170,"to":171,"method":142,"deprecated":143},"Fetch one country by its id","\u002Fapi\u002Freference\u002Fget-country",{"title":173,"to":174,"method":142,"deprecated":143},"List the subdivisions (states) of a country","\u002Fapi\u002Freference\u002Flist-country-subdivisions",{"title":176,"to":177,"method":142,"deprecated":143},"List the grades a student can be registered with","\u002Fapi\u002Freference\u002Flist-grades",{"title":179,"to":180,"method":142,"deprecated":143},"Fetch one grade by its id","\u002Fapi\u002Freference\u002Fget-grade",{"title":182,"to":183,"method":142,"deprecated":143},"List the organizations and their ids","\u002Fapi\u002Freference\u002Flist-organizations",{"title":185,"to":186,"method":142,"deprecated":143},"Fetch one organization by its id","\u002Fapi\u002Freference\u002Fget-organization",{"tag":62,"slug":188,"links":189},"students",[190,193,196,199,202,205,208,212,215,218,221,224],{"title":191,"to":192,"method":142,"deprecated":143},"List your students","\u002Fapi\u002Freference\u002Flist-students",{"title":194,"to":195,"method":150,"deprecated":143},"Register a student","\u002Fapi\u002Freference\u002Fregister-student",{"title":197,"to":198,"method":150,"deprecated":143},"Check a registration without registering the student","\u002Fapi\u002Freference\u002Fcheck-student-registration",{"title":200,"to":201,"method":150,"deprecated":143},"Register many students at once","\u002Fapi\u002Freference\u002Fcreate-student-import",{"title":203,"to":204,"method":142,"deprecated":143},"Follow a batch of students you sent","\u002Fapi\u002Freference\u002Fget-student-import",{"title":206,"to":207,"method":142,"deprecated":143},"Fetch one of your students","\u002Fapi\u002Freference\u002Fget-student",{"title":209,"to":210,"method":211,"deprecated":143},"Update one of your students","\u002Fapi\u002Freference\u002Fupdate-student","PUT",{"title":213,"to":214,"method":211,"deprecated":143},"Set the sign-in password of one of your students","\u002Fapi\u002Freference\u002Fset-student-password",{"title":216,"to":217,"method":142,"deprecated":143},"List your students who can use this organization","\u002Fapi\u002Freference\u002Flist-org-students",{"title":219,"to":220,"method":142,"deprecated":143},"Fetch one of your students, if they can use this organization","\u002Fapi\u002Freference\u002Fget-org-student",{"title":222,"to":223,"method":211,"deprecated":143},"Update one of your students and give them access to this organization","\u002Fapi\u002Freference\u002Fupdate-org-student",{"title":225,"to":226,"method":211,"deprecated":143},"Link one of your students to a supervisor on this organization","\u002Fapi\u002Freference\u002Flink-student-supervisor",{"tag":80,"slug":228,"links":229},"sign-in-links",[230],{"title":231,"to":232,"method":150,"deprecated":143},"Create a single-use sign-in link for one of your students","\u002Fapi\u002Freference\u002Fcreate-signin-link",{"tag":83,"slug":234,"links":235},"exams",[236,239,242,245,248],{"title":237,"to":238,"method":142,"deprecated":143},"List the exams open for applications","\u002Fapi\u002Freference\u002Flist-exams",{"title":240,"to":241,"method":142,"deprecated":143},"List an organization’s exam categories","\u002Fapi\u002Freference\u002Flist-exam-categories",{"title":243,"to":244,"method":142,"deprecated":143},"Fetch one exam category","\u002Fapi\u002Freference\u002Fget-exam-category",{"title":246,"to":247,"method":142,"deprecated":143},"List the exams one of your students can apply to","\u002Fapi\u002Freference\u002Flist-available-exams",{"title":249,"to":250,"method":142,"deprecated":143},"Fetch one exam that is open for applications","\u002Fapi\u002Freference\u002Fget-exam",{"tag":86,"slug":252,"links":253},"applications",[254,257,260,263,266,269,272,275,279],{"title":255,"to":256,"method":142,"deprecated":143},"List your students’ applications in this organization","\u002Fapi\u002Freference\u002Flist-applications",{"title":258,"to":259,"method":150,"deprecated":143},"Enter one of your students for an exam","\u002Fapi\u002Freference\u002Fcreate-application",{"title":261,"to":262,"method":142,"deprecated":143},"List your students’ applications for one exam","\u002Fapi\u002Freference\u002Flist-exam-applications",{"title":264,"to":265,"method":142,"deprecated":143},"List one of your students’ applications in this organization","\u002Fapi\u002Freference\u002Flist-student-applications",{"title":267,"to":268,"method":150,"deprecated":143},"Pay several applications from your wallet","\u002Fapi\u002Freference\u002Fpay-applications-from-wallet",{"title":270,"to":271,"method":142,"deprecated":143},"Fetch one of your students’ applications","\u002Fapi\u002Freference\u002Fget-application",{"title":273,"to":274,"method":211,"deprecated":143},"Move one of your students’ applications to another exam","\u002Fapi\u002Freference\u002Fmove-application",{"title":276,"to":277,"method":278,"deprecated":143},"Withdraw one of your students from an exam","\u002Fapi\u002Freference\u002Fdelete-application","DELETE",{"title":280,"to":281,"method":150,"deprecated":143},"Pay one application from your wallet","\u002Fapi\u002Freference\u002Fpay-application-from-wallet",{"tag":283,"slug":284,"links":285},"Documents","documents",[286,289,292,295],{"title":287,"to":288,"method":142,"deprecated":143},"Download a certificate file","\u002Fapi\u002Freference\u002Fdownload-certificate",{"title":290,"to":291,"method":142,"deprecated":143},"List one of your students’ released certificates","\u002Fapi\u002Freference\u002Flist-student-certificates",{"title":293,"to":294,"method":142,"deprecated":143},"Download a result report file","\u002Fapi\u002Freference\u002Fdownload-report",{"title":296,"to":297,"method":142,"deprecated":143},"List one of your students’ released result reports","\u002Fapi\u002Freference\u002Flist-student-reports",{"tag":95,"slug":299,"links":300},"group-challenges",[301,304,307,310,313,316,319,322,325],{"title":302,"to":303,"method":142,"deprecated":143},"List the group challenges an organization runs","\u002Fapi\u002Freference\u002Flist-group-challenges",{"title":305,"to":306,"method":142,"deprecated":143},"Fetch one group challenge","\u002Fapi\u002Freference\u002Fget-group-challenge",{"title":308,"to":309,"method":142,"deprecated":143},"List the groups your students are in for a group challenge","\u002Fapi\u002Freference\u002Flist-group-challenge-groups",{"title":311,"to":312,"method":142,"deprecated":143},"Fetch one group, with its steps and files","\u002Fapi\u002Freference\u002Fget-group-challenge-group",{"title":314,"to":315,"method":142,"deprecated":143},"List what has happened in one group","\u002Fapi\u002Freference\u002Flist-group-challenge-activity",{"title":317,"to":318,"method":150,"deprecated":143},"Send a group’s finished work for one of your students","\u002Fapi\u002Freference\u002Fsubmit-group-challenge-work",{"title":320,"to":321,"method":150,"deprecated":143},"Submit one step of a group for one of your students","\u002Fapi\u002Freference\u002Fsubmit-group-challenge-step",{"title":323,"to":324,"method":142,"deprecated":143},"List your students’ eligibility and groups for a group challenge","\u002Fapi\u002Freference\u002Flist-group-challenge-students",{"title":326,"to":327,"method":142,"deprecated":143},"Fetch one of your students’ eligibility and group for a group challenge","\u002Fapi\u002Freference\u002Fget-group-challenge-student",{"id":329,"title":330,"links":331,"groups":341},"agents","AI agents",[332,335,338],{"title":333,"to":334},"AI connections","\u002Fapi\u002Fmcp",{"title":336,"to":337},"What it can do","\u002Fapi\u002Fmcp\u002Ftools",{"title":339,"to":340},"Agent skills","\u002Fapi\u002Fskills",[],{"id":343,"title":344,"links":345,"groups":361},"help","Help",[346,349,352,355,358],{"title":347,"to":348,"status":14},"Glossary","\u002Fapi\u002Fglossary",{"title":350,"to":351,"status":14},"FAQ","\u002Fapi\u002Ffaq",{"title":353,"to":354,"status":14},"Troubleshooting","\u002Fapi\u002Ftroubleshooting",{"title":356,"to":357,"status":14},"Support","\u002Fapi\u002Fsupport",{"title":359,"to":360},"Changelog","\u002Fapi\u002Fchangelog",[],{"entry":363,"body":409,"newer":565,"older":568},{"path":364,"version":365,"date":366,"breaking":143,"summary":367,"description":368,"changes":369,"longForm":408,"preview":143},"\u002Fapi\u002Fchangelog\u002F1-4-0","1.4.0","2026-10-23","For partners who collect exam fees themselves. An application can carry your own externalRef, the application lists can be filtered by it and by payment status, and a settled payment shows the reference Main Team confirms it with. Nothing is removed; code written against 1.3.0 keeps working.","Your own reference on an application, list filters by reference and payment status, and the payment reference Main Team confirms a transfer with.",[370,381,384,387,390,394,398,404],{"type":371,"breaking":143,"text":372,"operations":373},"added","`createApplication` takes an optional `externalRef`, your own reference for the application (trimmed, 1 to 64 characters, no control characters or line breaks; `null` is refused). It is stored on the application and returned by `createApplication`, `getApplication`, `listApplications`, `listExamApplications`, `listStudentApplications`, `moveApplication` and `deleteApplication`. A repeat of the create for an application that has no `externalRef` sets it; a repeat with the same one, or none, answers `200` as before; a repeat with a different one answers `409 conflict` (\"Application already exists with a different externalRef, …\") and changes nothing. A server that cannot store it yet answers `503 service_unavailable` and writes nothing.",[374,375,376,377,378,379,380],"createApplication","getApplication","listApplications","listExamApplications","listStudentApplications","moveApplication","deleteApplication",{"type":371,"breaking":143,"text":382,"operations":383},"`listApplications`, `listExamApplications` and `listStudentApplications` take two optional filters: `externalRef` (exact match) and `paymentStatus` (`pending`, `paid` or `canceled`). They only narrow the list, combine, and are counted in `pagination.total`. A filter that cannot be read answers `400 bad_request`.",[376,377,378],{"type":371,"breaking":143,"text":385,"operations":386},"On `getApplication`, `listApplications`, `listExamApplications` and `listStudentApplications`, a `paid` payment settled through a transaction carries `reference`, the code Main Team quotes when it confirms a payment (for example `stx-6718a2f4c1d3e`). It is absent otherwise.",[375,376,377,378],{"type":371,"breaking":143,"text":388,"operations":389},"A guide for partners who collect exam fees themselves: Settling payments.",[],{"type":391,"breaking":143,"text":392,"operations":393},"changed","How you receive your credentials: Main Team emails a one-time link, never the secret. The link shows `apiKey` and `apiSecret` once you click \"Show credentials\", expires 24 hours after it is created, is replaced by any newer link, and should be destroyed once you have saved the values. Documentation only; no operation changed.",[],{"type":391,"breaking":143,"text":395,"operations":396},"On `hilingua`, the rule that stops a student holding two exams on one sitting is keyed by language instead of by category. A student can now hold several languages in one Language Competition sitting; the same language twice on one sitting is refused with `409 conflict`, `Student already has an application for \u003Clanguage> on this sitting. The same language cannot be sat twice on one date.` A sitting held in the student's local time (Essay Writing) takes one exam in all and keeps the category message. `listAvailableExams`, `createApplication` and `updateApplication` follow the same rule. Every other organization is unchanged.",[397,374],"listAvailableExams",{"type":399,"breaking":143,"text":400,"operations":401},"fixed","The documentation of `price` (`listExams`, `getExam`, `listAvailableExams`) and of `payment.amount` (`createApplication`, `getApplication`, `listApplications`, `listExamApplications`, `listStudentApplications`, `moveApplication`, `deleteApplication`) now says what the API has always returned: whole numbers in the smallest unit of the currency, cents for euro, so `2500` is 25.00. The examples used to show `25`. No value changed.",[402,403,397,374,375,376,377,378,379,380],"listExams","getExam",{"type":405,"breaking":143,"text":406,"operations":407},"removed","The Client libraries pages of the partner documentation (the overview, Node.js and PHP): the libraries were never published. [Build your own client](https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Fclients\u002Fbuild-your-own) stays, now among the guides. `GET \u002Fv1\u002Fdocs\u002Fclients` answers `301` to it. No operation changed.",[],true,{"type":410,"value":411,"toc":554},"minimark",[412,416,421,447,451,483,487,501,505,514,518,536,540],[413,414,415],"p",{},"Version 1.4.0 adds one optional request field, two optional list filters and two response fields,\nand removes nothing. Code written against 1.3.0 keeps working without a change.",[417,418,420],"h2",{"id":419},"your-own-reference-on-an-application","Your own reference on an application",[413,422,423,429,430,433,434,437,438,441,442,446],{},[424,425,426],"a",{"href":259},[427,428,374],"code",{}," takes an optional ",[427,431,432],{},"externalRef",", your own\nreference for the entry, such as the order number your site charged the student under. It is kept\non the application and returned by every application operation. Once set it does not change: a\nrepeat of the create with the same reference, or none, answers ",[427,435,436],{},"200"," as before, and a repeat with a\ndifferent one answers ",[427,439,440],{},"409 conflict",". A repeat for an application created earlier without a\nreference sets it. See ",[424,443,445],{"href":444},"\u002Fapi\u002Fguides\u002Fapplications#your-own-reference-externalref","Your own reference",".",[417,448,450],{"id":449},"filtering-the-application-lists","Filtering the application lists",[413,452,453,457,458,462,463,467,468,462,471,474,475,478,479,446],{},[424,454,455],{"href":256},[427,456,376],{},",\n",[424,459,460],{"href":262},[427,461,377],{}," and\n",[424,464,465],{"href":265},[427,466,378],{}," take ",[427,469,470],{},"?externalRef=",[427,472,473],{},"?paymentStatus=pending|paid|canceled",". ",[427,476,477],{},"paymentStatus=pending"," lists what is still to be paid. See\n",[424,480,482],{"href":481},"\u002Fapi\u002Fguides\u002Fapplications#filter-the-lists","Filter the lists",[417,484,486],{"id":485},"the-payment-reference","The payment reference",[413,488,489,490,493,494,496,497,500],{},"On the application reads, a ",[427,491,492],{},"paid"," payment settled through a transaction carries ",[427,495,125],{},", for\nexample ",[427,498,499],{},"stx-6718a2f4c1d3e",": the code Main Team quotes when it confirms a payment. Payments settled\ntogether share one.",[417,502,504],{"id":503},"settling-payments-yourself","Settling payments yourself",[413,506,507,508,510,511,513],{},"A new guide, ",[424,509,89],{"href":90},", describes the whole flow for\npartners who collect exam fees on their own site and pay Main Team by bank transfer: create the\napplication, send Main Team a settlement list with the transfer, read the payments back as ",[427,512,492],{},", and\nonly then let the student sign in.",[417,515,517],{"id":516},"amounts-are-in-cents","Amounts are in cents",[413,519,520,523,524,527,528,531,532,535],{},[427,521,522],{},"price"," and ",[427,525,526],{},"payment.amount"," have always been whole numbers in the smallest unit of the currency:\n",[427,529,530],{},"2500"," is 25.00. The documentation's examples showed ",[427,533,534],{},"25","; they now show what the API returns.",[417,537,539],{"id":538},"receiving-your-credentials","Receiving your credentials",[413,541,542,543,523,546,549,550,446],{},"Main Team now emails you a one-time link to your ",[427,544,545],{},"apiKey",[427,547,548],{},"apiSecret",", never the secret\nitself. The link expires 24 hours after it is created; destroy it once you have saved the values.\nSee ",[424,551,553],{"href":552},"\u002Fapi\u002Fauthentication#how-you-receive-them","How you receive them",{"title":555,"searchDepth":556,"depth":557,"links":558},"",2,3,[559,560,561,562,563,564],{"id":419,"depth":556,"text":420},{"id":449,"depth":556,"text":450},{"id":485,"depth":556,"text":486},{"id":503,"depth":556,"text":504},{"id":516,"depth":556,"text":517},{"id":538,"depth":556,"text":539},{"path":566,"version":567},"\u002Fapi\u002Fchangelog\u002F1-5-0","1.5.0",{"path":569,"version":570},"\u002Fapi\u002Fchangelog\u002F1-3-0","1.3.0",1795776469377]