Skip to main content
Version: 8.1.0

🏷️ Account types & object

typeCompteAccountHostPath segment
EStudentapieleves
1 2Family (guardian, spouse). Older docs say F; the app only knows 1 and 2apifamilles
AStaffapippersonnels
PTeacherapipenseignants
TCompany tutorapituteurs
WWorkspaceapiW
AccountprofileWhere the ids come from
Eclasse, school ids, photoaccount.id is the student id, profile.classe.id the class
1 2eleves[] (ProfileStudent, own modules)each child's id is the {idEleve}
Televes[], like a familyeach apprentice's id is the {idEleve}
Pmatieres[] (with code), isChefEtabclasses, 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",
"email": "[email protected]",
"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
"email": "[email protected]", // 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).