List the exams open for applications
- Bearer token
- Permission
exam/read - Per organization
Lists the organization’s exams that are open for applications, the soonest sitting first.
An exam is open for applications while all three hold: it is not closed to applications (preventApplication is not true), its sitting (session.date) is still to come, and its category is active. It stops being open at the moment its sitting starts. An exam that is not open is not listed, and getExam and createApplication refuse it too.
session, category, language, grades and countries come back as records rather than ids. An exam with no language is listed, but no student can apply to it.
This list is the same for every student: it does not look at grades, countries or what a student already applied for. To see what one of your students can actually apply to, call listAvailableExams.
A page holds 20 exams unless you ask for up to 100 with limit. A read only: nothing changes, and it is safe to repeat.
Parameters
Path parameters
| Name | Type | Description |
|---|---|---|
organizationIdrequired | stringpattern ^[0-9a-f]{24}$ | The organization’s Example |
Query parameters
| Name | Type | Description |
|---|---|---|
pageoptional | number | Page number. Defaults to 1. Example |
limitoptional | number | Items per page. Defaults to 20, max 100. Example |
Responses
200 OK
Success: message is "Exams fetched successfully.".
Body
successbooleanrequiredAlways
trueon a success.one of
truemessagestringrequiredexample
Exams fetched successfully.paginationobject · PaginationMetarequiredWhere one page sits in the whole list.
4 fields of pagination
pagenumberrequiredThe page returned, counting from 1.
min
1example1limitnumberrequiredItems per page: the
limityou sent, 20 if you sent none, and never more than 100.min
1max100example20totalnumberrequiredItems across every page.
min
0example57totalPagesnumberrequiredPages at this
limit:total / limit, rounded up.min
0example3
dataarray of ExamResponserequired14 fields of each item
_idstringrequiredThe exam’s id: the
examIdthatcreateApplicationandmoveApplicationtake.example
6650a1b2c3d4e5f6a7b8c9e1sessionobject · ExamSessionResponserequiredThe sitting the exam is on.
13 fields of session
_idstringrequiredThe sitting’s id.
example
6650a1b2c3d4e5f6a7b8c9e2sessionNamestringThe sitting’s name.
example
November 2026datestringWhen the sitting takes place. Its exams are open for applications until this moment, and not after.
format
date-timeexample2026-11-14T10:00:00.000ZstartTimestringThe start time as the organization wrote it. For the moment itself, read
date.example
10:00tzstringglobal: the sitting starts at one moment everywhere.local: it starts at the same clock time in each student’s own time zone, their country’stz.one of
globallocalexample
globalsessionAliasstringA second name for the sitting, shown to students.
example
Autumn roundsessionNotestringA note about the sitting, shown to students.
example
Please join ten minutes early.enableSimulationbooleanWhether students get a practice run before the sitting.
example
truesimulationDatestringWhen the practice run opens.
format
date-timeexample2026-11-07T10:00:00.000ZsimulationEndDatestringWhen the practice run closes.
format
date-timeexample2026-11-08T10:00:00.000ZrelatedSessionstringSet on a make-up sitting: the id of the sitting it belongs to. An application to an exam on a make-up sitting is removed 6 hours after it is made.
example
6650a1b2c3d4e5f6a7b8c9e2createdAtstringWhen the record was created.
format
date-timeexample2026-09-01T09:30:00.000ZupdatedAtstringWhen the record last changed.
format
date-timeexample2026-09-02T14:05:00.000Z
categoryobject · ExamCategoryResponserequiredThe exam’s category.
9 fields of category
_idstringrequiredThe category’s id.
example
6650a1b2c3d4e5f6a7b8c9e3namestringThe category’s name, as students see it.
example
MathematicsaltNamestringA second name for the category, where one is set.
example
MathsordernumberWhere the category sorts among the others, lowest first. The available-exams tree is in this order.
example
1isActivebooleanWhether the category is live. No exam in an inactive category is open for applications.
example
truenonAcceptedReplacementsarray of stringIds of the categories an application in this one may not be moved to:
moveApplicationrefuses such a move.example
["6650a1b2c3d4e5f6a7b8c9ea"]studyMaterialLinksarray of stringLinks to study material for the category.
example
["https://example.org/study/mathematics"]createdAtstringWhen the record was created.
format
date-timeexample2026-09-01T09:30:00.000ZupdatedAtstringWhen the record last changed.
format
date-timeexample2026-09-02T14:05:00.000Z
languageobject · LanguageResponsenullableThe language the exam is sat in. Absent or
nullwhen it has none: such an exam is listed, but not offered to students, and cannot be applied to.6 fields of language
_idstringrequiredThe language’s id.
example
6650a1b2c3d4e5f6a7b8c9e4namestringThe language’s name.
example
EnglishcodestringA short language code.
example
enordernumberWhere the language sorts among the others, lowest first. The available-exams tree is in this order.
example
1createdAtstringWhen the record was created.
format
date-timeexample2026-09-01T09:30:00.000ZupdatedAtstringWhen the record last changed.
format
date-timeexample2026-09-02T14:05:00.000Z
gradesarray of GradeResponserequiredThe grades that may sit the exam. A student in any other grade is not offered it and cannot apply to it.
4 fields of each item
_idstringrequiredThe grade’s id: what
gradetakes when you register or update a student. A grade has the same id in every organization.example
6650a1b2c3d4e5f6a7b8c9d4namestringThe grade, as a number in a string,
1to12.gradeaccepts this name as well as the id.example
10createdAtstringWhen the record was created. The grade list is in this order.
format
date-timeexample2026-09-01T09:30:00.000ZupdatedAtstringWhen the record last changed.
format
date-timeexample2026-09-02T14:05:00.000Z
countriesarray of CountryResponserequiredThe countries the exam is restricted to; empty or absent, it is open to every country. These are the organization’s own country records, whose ids need not match the ones
listCountriesgives: compare them with a student’s country byiso2.9 fields of each item
_idstringrequiredThe country’s id: what
countrytakes when you register or update a student.example
6650a1b2c3d4e5f6a7b8c9d1namestringThe country’s name, in capitals.
example
UNITED STATESiso3stringThe ISO 3166-1 alpha-3 code, in capitals.
example
USAiso2stringThe ISO 3166-1 alpha-2 code, in capitals. A student’s
usernamestarts with it.example
UStzstringThe IANA time zone a sitting on local time is read in for students in this country (see
tzon a sitting).example
America/New_YorkdialCodestringThe international dialling code, with its
+.example
+1flagstringThe country’s flag, as an emoji.
example
🇺🇸createdAtstringWhen the record was created.
format
date-timeexample2026-09-01T09:30:00.000ZupdatedAtstringWhen the record last changed.
format
date-timeexample2026-09-02T14:05:00.000Z
examTypestringstandardoressay.one of
standardessayexample
standardexamTimenumberThe time limit, in minutes, from when the student starts.
example
75durationnumberHow many hours the exam can be started in, counted from the start of the sitting.
example
15questionCountnumberHow many questions the exam has.
example
30pricenumberWhat an application costs, as a number; no currency is given. Absent when the exam has no price: an application to it is charged 0.
example
25preventApplicationbooleanWhether the exam is closed to new applications. A closed exam is never listed, so on the exam reads this is
falseor absent.example
falsecreatedAtstringWhen the record was created.
format
date-timeexample2026-09-01T09:30:00.000ZupdatedAtstringWhen the record last changed.
format
date-timeexample2026-09-02T14:05:00.000Z
Headers
X-RateLimit-LimitintegerRequests your account may make to this operation per window (100).
X-RateLimit-RemainingintegerRequests left in the current window.
X-RateLimit-ResetintegerSeconds until the current window ends.
Example
{
"success": true,
"message": "Exams fetched successfully.",
"pagination": {
"page": 1,
"limit": 20,
"total": 57,
"totalPages": 3
},
"data": [
{
"_id": "6650a1b2c3d4e5f6a7b8c9e1",
"session": {
"_id": "6650a1b2c3d4e5f6a7b8c9e2",
"sessionName": "November 2026",
"date": "2026-11-14T10:00:00.000Z",
"startTime": "10:00",
"tz": "global",
"sessionAlias": "Autumn round",
"sessionNote": "Please join ten minutes early.",
"enableSimulation": true,
"simulationDate": "2026-11-07T10:00:00.000Z",
"simulationEndDate": "2026-11-08T10:00:00.000Z",
"relatedSession": "6650a1b2c3d4e5f6a7b8c9e2",
"createdAt": "2026-09-01T09:30:00.000Z",
"updatedAt": "2026-09-02T14:05:00.000Z"
},
"category": {
"_id": "6650a1b2c3d4e5f6a7b8c9e3",
"name": "Mathematics",
"altName": "Maths",
"order": 1,
"isActive": true,
"nonAcceptedReplacements": [
"6650a1b2c3d4e5f6a7b8c9ea"
],
"studyMaterialLinks": [
"https://example.org/study/mathematics"
],
"createdAt": "2026-09-01T09:30:00.000Z",
"updatedAt": "2026-09-02T14:05:00.000Z"
},
"language": {
"_id": "6650a1b2c3d4e5f6a7b8c9e4",
"name": "English",
"code": "en",
"order": 1,
"createdAt": "2026-09-01T09:30:00.000Z",
"updatedAt": "2026-09-02T14:05:00.000Z"
},
"grades": [
{
"_id": "6650a1b2c3d4e5f6a7b8c9d4",
"name": "10",
"createdAt": "2026-09-01T09:30:00.000Z",
"updatedAt": "2026-09-02T14:05:00.000Z"
}
],
"countries": [
{
"_id": "6650a1b2c3d4e5f6a7b8c9d1",
"name": "UNITED STATES",
"iso3": "USA",
"iso2": "US",
"tz": "America/New_York",
"dialCode": "+1",
"flag": "🇺🇸",
"createdAt": "2026-09-01T09:30:00.000Z",
"updatedAt": "2026-09-02T14:05:00.000Z"
}
],
"examType": "standard",
"examTime": 75,
"duration": 15,
"questionCount": 30,
"price": 25,
"preventApplication": false,
"createdAt": "2026-09-01T09:30:00.000Z",
"updatedAt": "2026-09-02T14:05:00.000Z"
}
]
}401 Unauthorized
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.
When
unauthorizedThe token is missing or malformed, is not signed with your account’s
apiSecret, breaks theiatandexprules, has expired or been revoked, or its account is not active. All of these answer the same.
Example
{
"error": {
"code": "unauthorized",
"documentation_url": "https://hub.main-team.org/api/errors#unauthorized",
"message": "Authentication is required or the provided credentials are invalid.",
"request_id": "0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8e"
}
}Fields of the error body
errorobject · ErrorDetailrequiredWhat went wrong.
5 fields of error
codestringrequiredA stable machine code: branch on this. Each one is explained at
documentation_url.one of
invalid_emailbad_requestunauthorizedforbiddennot_foundconflictpayload_too_largeunsupported_media_typeunprocessable_entitytoo_many_requestsinternal_errorservice_unavailableexample
not_foundmessagestringrequiredWritten for a person, and may change: never branch on it.
example
Not found!documentation_urlstringrequiredWhere this code is explained.
format
uriexamplehttps://hub.main-team.org/api/errors#not_foundrequest_idstringrequiredThis request’s id, also sent as the
X-Request-Idresponse header: the one you sent, when it was acceptable, or else one the API made. Quote it when you report a problem.example
0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8edetailsobjectPresent 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
detailsyou do not recognise.
403 Forbidden
forbidden: The token is valid, but no role on your account allows exam/read on the organization in the path, or a role denies it.
When
forbiddenThe token is valid, but no role on your account allows
exam/readon the organization in the path, or a role denies it.
Example
{
"error": {
"code": "forbidden",
"documentation_url": "https://hub.main-team.org/api/errors#forbidden",
"message": "Insufficient role permissions",
"request_id": "0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8e"
}
}Fields of the error body
errorobject · ErrorDetailrequiredWhat went wrong.
5 fields of error
codestringrequiredA stable machine code: branch on this. Each one is explained at
documentation_url.one of
invalid_emailbad_requestunauthorizedforbiddennot_foundconflictpayload_too_largeunsupported_media_typeunprocessable_entitytoo_many_requestsinternal_errorservice_unavailableexample
not_foundmessagestringrequiredWritten for a person, and may change: never branch on it.
example
Not found!documentation_urlstringrequiredWhere this code is explained.
format
uriexamplehttps://hub.main-team.org/api/errors#not_foundrequest_idstringrequiredThis request’s id, also sent as the
X-Request-Idresponse header: the one you sent, when it was acceptable, or else one the API made. Quote it when you report a problem.example
0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8edetailsobjectPresent 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
detailsyou do not recognise.
404 Not found
not_found: organizationId is not the _id of an organization.
When
not_foundorganizationIdis not the_idof an organization.
Example
{
"error": {
"code": "not_found",
"documentation_url": "https://hub.main-team.org/api/errors#not_found",
"message": "Organization not found!",
"request_id": "0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8e"
}
}Fields of the error body
errorobject · ErrorDetailrequiredWhat went wrong.
5 fields of error
codestringrequiredA stable machine code: branch on this. Each one is explained at
documentation_url.one of
invalid_emailbad_requestunauthorizedforbiddennot_foundconflictpayload_too_largeunsupported_media_typeunprocessable_entitytoo_many_requestsinternal_errorservice_unavailableexample
not_foundmessagestringrequiredWritten for a person, and may change: never branch on it.
example
Not found!documentation_urlstringrequiredWhere this code is explained.
format
uriexamplehttps://hub.main-team.org/api/errors#not_foundrequest_idstringrequiredThis request’s id, also sent as the
X-Request-Idresponse header: the one you sent, when it was acceptable, or else one the API made. Quote it when you report a problem.example
0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8edetailsobjectPresent 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
detailsyou do not recognise.
429 Too many requests
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.
When
too_many_requestsYour account has made more than 100 requests to this operation in the current 60-second window. Wait the seconds in
Retry-Afterbefore sending again.
Headers
Retry-AfterintegerSeconds to wait before sending again; a request sent sooner is refused too.
Example
{
"error": {
"code": "too_many_requests",
"documentation_url": "https://hub.main-team.org/api/errors#too_many_requests",
"message": "Too many requests to this operation. Wait the number of seconds in Retry-After, then try again.",
"request_id": "0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8e"
}
}Fields of the error body
errorobject · ErrorDetailrequiredWhat went wrong.
5 fields of error
codestringrequiredA stable machine code: branch on this. Each one is explained at
documentation_url.one of
invalid_emailbad_requestunauthorizedforbiddennot_foundconflictpayload_too_largeunsupported_media_typeunprocessable_entitytoo_many_requestsinternal_errorservice_unavailableexample
not_foundmessagestringrequiredWritten for a person, and may change: never branch on it.
example
Not found!documentation_urlstringrequiredWhere this code is explained.
format
uriexamplehttps://hub.main-team.org/api/errors#not_foundrequest_idstringrequiredThis request’s id, also sent as the
X-Request-Idresponse header: the one you sent, when it was acceptable, or else one the API made. Quote it when you report a problem.example
0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8edetailsobjectPresent 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
detailsyou do not recognise.
500 Internal error
internal_error: Something failed on our side. Retry later, and quote request_id if it goes on.
When
internal_errorSomething failed on our side. Retry later, and quote
request_idif it goes on.
Example
{
"error": {
"code": "internal_error",
"documentation_url": "https://hub.main-team.org/api/errors#internal_error",
"message": "An unexpected error occurred.",
"request_id": "0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8e"
}
}Fields of the error body
errorobject · ErrorDetailrequiredWhat went wrong.
5 fields of error
codestringrequiredA stable machine code: branch on this. Each one is explained at
documentation_url.one of
invalid_emailbad_requestunauthorizedforbiddennot_foundconflictpayload_too_largeunsupported_media_typeunprocessable_entitytoo_many_requestsinternal_errorservice_unavailableexample
not_foundmessagestringrequiredWritten for a person, and may change: never branch on it.
example
Not found!documentation_urlstringrequiredWhere this code is explained.
format
uriexamplehttps://hub.main-team.org/api/errors#not_foundrequest_idstringrequiredThis request’s id, also sent as the
X-Request-Idresponse header: the one you sent, when it was acceptable, or else one the API made. Quote it when you report a problem.example
0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8edetailsobjectPresent 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
detailsyou do not recognise.