π·οΈ Account types & object
| typeCompte | Account | Host | Path segment |
|---|---|---|---|
E | Student | api | eleves |
1 2 | Family (guardian, spouse). Older docs say F; the app only knows 1 and 2 | api | familles |
A | Staff | apip | personnels |
P | Teacher | apip | enseignants |
T | Company tutor | api | tuteurs |
W | Workspace | api | W |
| Account | profile | Where the ids come from |
|---|---|---|
E | classe, school ids, photo | account.id is the student id, profile.classe.id the class |
1 2 | eleves[] (ProfileStudent, own modules) | each child's id is the {idEleve} |
T | eleves[], like a family | each apprentice's id is the {idEleve} |
P | matieres[] (with code), isChefEtab | classes, groups, periods and subjects: niveauxListe |
A | β | classes and groups: niveauxListe, students: search |
W | β |
profile of a family account
"profile": { "eleves": [ { "id": 1234, "prenom": "Jean", "nom": "DUPONT", "sexe": "M", "nomEtablissement": "Collège Exemple",
"modules": [ { "code": "NOTES", "enable": true } ], "classe": { "id": 17, "code": "4A", "libelle": "4EME A" } } ] }
profile of a teacher account
"profile": { "matieres": [ { "id": 3, "code": "MATHS", "libelle": "MATHEMATIQUES" } ], "isChefEtab": false }
π¦ Account objectβ
data.accounts[n]
{
"idLogin": 1234567, // Login id: logins/{idLogin}, account switch
"id": 1234, // User id, the {id} of URLs
"uid": "aa324ec860b84970b4f8c44b7769c2cd",
"identifiant": "jdupont",
"typeCompte": "E", // E 1 2 A P T W
"codeOgec": "0123456A", // School code
"main": true,
"lastConnexion": "2026-03-24 18:22", // optional. YYYY-MM-DD HH:mm
"civilite": "", // optional
"prenom": "Jean",
"particule": "", // optional
"nom": "DUPONT",
"isPrimaire": false,
"nomEtablissement": "Collège Exemple",
"logoEtablissement": "", // optional
"couleurAgendaEtablissement": "#80cc33", // Hex colour
"dicoEnLigneLeRobert": true,
"socketToken": "",
"accessToken": "xxxxxxxx", // optional. Renewal token, needs sesouvenirdemoi: true
"modules": [
{
"code": "NOTES",
"enable": true,
"ordre": 30,
"badge": 0, // Notification counter
"params": {} // Module settings, string values
}
],
"parametresIndividuels": {β¦}, // β IndividualSettings
"profile": { // Depends on the account type
"sexe": "M", // optional
"infoEDT": "", // optional
"nomEtablissement": "Collège Exemple", // optional
"idEtablissement": "2", // optional
"rneEtablissement": "0123456A", // optional
"idReelEtab": "2", // optional
"telPortable": "", // optional
"telPortableConjoint": "", // optional
"telFixe": "", // optional
"photo": "//doc1.ecoledirecte.com/PhotoEleves/LIEN/PHOTO.jpg", // optional. //doc1.ecoledirecte.com/PhotoEleves/β¦: prefix https:
"estApprenant": false, // optional. Shown as βapprenantβ
"classe": { // optional
"id": 1234,
"code": "4A",
"libelle": "4eA",
"estNote": 1, // optional
"idGroupe": 0, // optional
"isPP": false, // optional
"matiere": "", // optional
"isFutur": false, // optional
"optionType": "", // optional
"uniqueID": "" // optional
},
"eleves": [ // optional. Family and tutor: the children / apprentices
{
"id": 1234, // The {idEleve}
"prenom": "Jean",
"nom": "DUPONT",
"sexe": "M",
"nomEtablissement": "Collège Exemple",
"idEtablissement": "2",
"idReelEtab": "2",
"isPrimaire": false,
"modules": [ {β¦} ], // β Module
"classe": {β¦}, // β Class
"photo": "//doc1.ecoledirecte.com/PhotoEleves/LIEN/PHOTO.jpg", // optional
"infoEDT": "", // optional
"classeEstNote": false, // optional
"classeId": 0, // optional
"classeLibelle": "4eA" // optional
}
],
"classes": [ // optional
{
"id": 1234,
"code": "4A",
"libelle": "4eA",
"estNote": 1, // optional
"idGroupe": 0, // optional
"isPP": false, // optional
"matiere": "", // optional
"isFutur": false, // optional
"optionType": "", // optional
"uniqueID": "" // optional
}
],
"groupes": [ // optional
{
"id": 1234,
"code": "LV2",
"libelle": "Groupe LV2",
"classes": [ {β¦} ] // optional β Class
}
],
"matieres": [ // optional
{
"id": 1234,
"code": "MATHS",
"libelle": "MATHEMATIQUES"
}
],
"isChefEtab": false // optional
},
"isProfEtPersonnel": false, // optional. Teacher and staff at once: can switch profile
"ephemere": false, // optional. Like supervision mode: message actions are disabled
"isELE": false, // optional. On a 1 family account: shown as βresponsableβ, cannot be unlinked
"current": false, // optional
"oAuthParams": { // optional. SSO logins
"urlLogout": "https://sso.example.com/logout", // The app opens it after logout
"urlEditProfil": "https://sso.example.com/profile",
"libelle": "β¦"
},
"cnil": false // optional. Not used by the app
}
Objects: IndividualSettings, Module, Class.
info
The school year is computed by the app, not sent: it switches on 14 July (Paris time), "2025-2026" after 14 July 2025. A feature is available when its module is enabled (for a family, the child's modules).