Overview
Read-only JSON endpoint that returns the students in your school with their classes, custom fields and related contacts — the same records as the student list in the app.
Authentication
Authenticate with the school's API key. Pass it either way:
Header: X-API-KEY: <school_api_key>
Query: ?apikey=<school_api_key>
The key identifies the school. Responses are automatically scoped to that school; there is no school_id parameter. We recommend the header form: keys passed in a URL can end up in server or proxy logs.
See Getting and using your API key if you don't have a key yet.
Endpoint
POST /api/v1/student
The older path /globalApis/student_list still works and returns the same response.
Parameters go in the request body, not the query string. Only the API key can be passed as a query parameter.
Parameters
Param | Type | Notes |
| integer | One student id. Omit → all students. |
| integer |
|
| string | Matches name, identification number, gender, email, phone, country or payment method. |
| string | Date or date and time. Only students changed at or after that moment, newest id first. Invalid → |
| integer | Records per page. Default 20. |
| integer | Page number. Default 1. |
Archived students are never returned.
Example
curl -H "X-API-KEY: YOUR_KEY" -d "per_page=25&active=1" "https://app.teachngo.com/api/v1/student"
Response
{
"status": "success",
"totalRecords": 245,
"limit": 25,
"page": 1,
"totalPages": 10,
"next": 2,
"previous": null,
"data": [
{
"id": 12345,
"identification_number": "S-0042",
"fname": "Jane",
"lname": "Doe",
"email_address": "jane@example.com",
"street_name_and_number": "1 Example Street",
"area": "Example Area",
"city": "Example City",
"postcode": "A00 B1C2",
"country_code": "IE",
"whole_address": "1 Example Street, Example Area, Example City, A00 B1C2, Ireland",
"custom_fields": {"Year group": "Senior"},
"classes": [],
"related_contacts": [
{
"id": 67890,
"fname": "Mary",
"lname": "Doe",
"relationship": "guardian",
"email_address": "mary@example.com",
"mobile_phonecode": "353",
"mobile_phone": "871234567",
"subscribed_to_notifications": true
}
]
}
]
}
Field reference
The address is returned as separate components as well as one combined string, so you can report on any part of it.
Field | Meaning |
| The student's Teach 'n Go id |
| Your own student reference, if your school uses them |
| Address lines |
| Area or district — this is where a county is usually recorded |
| Town or city |
| Postcode or Eircode |
| Two-letter country code, for example |
| All of the above joined into one string |
| Your school's custom fields, keyed by field name |
| The classes the student is enrolled in, with enrolment and unenrolment dates |
| The contacts linked to this student — see below |
| How many classes are in |
Related contacts
Each student carries a related_contacts list. A student can have several, so this is always an array — empty if the student has none.
Field | Meaning |
| The related contact's Teach 'n Go id — stable, use it to match across calls |
| How they relate to the student, for example |
| The contact's name |
| Your own contact reference, if used |
| Contact details, with |
| Company name, if recorded |
| The contact's address as one string |
| Free-text notes on the contact |
|
|
Tracking equipment or assets? Some schools create a student record per item, set a custom field such as Profile Type to Asset, and use the related contact to record who currently holds it. The related_contacts list is what tells you that.
Getting only students that changed
Send updated_since to get only the students changed at or after that moment, newest id first, with the usual paging fields.
POST /api/v1/student
{ "updated_since": "2026-11-25T10:00:00Z", "per_page": 100, "page": 1 }
Accepted values: 2026-11-25 (midnight UTC), 2026-11-25T10:00:00Z, 2026-11-25T10:00:00+01:00, or a date and time with no offset, which is read as UTC. In a URL, write + as %2B.
To keep a sync up to date, store the time you made each request and send it, minus a few minutes of overlap, as the next updated_since.
What counts as a change — the student's last-modified time. Changes Teach 'n Go makes by itself, such as enrolment counts or overdue payment flags, also count, so compare what you store rather than assuming every returned student has new details
Archived students — never returned, so an archived student does not appear here either
Paging —
pageandper_pagego in the request body, like the other parameters
To change a student's details, see Student Update API.
Pagination and errors
The response wraps the records in totalRecords, limit, page, totalPages, next and previous. See API error codes and pagination.