Skip to main content
API Endpoints

Gather your schools data using the Teach 'n Go API

Abdullah Al-Hussein avatar
Written by Abdullah Al-Hussein
Updated over a month ago

In this article, you can view a list of endpoints to gather data from Teach 'n Go using your school's API key.

How to Create Your API Key

  1. Go to the School Settings Page.

  2. Click on the Developers tab.

  3. Create an API Key.

Using The API Key

There are two ways to use the API Key: pass it in the header or use it as a query parameter.

  • Header with X-API-KEY: key value

    • e.g. X-API-KEY:XXXXX

      or

Method: POST

Body: JSON

You can restrict the number of records per page using the following parameter. The default is 20 records per page.

{
"per_page: 200
}

Request URLs

Below is the list of Endpoints you can retrieve data from:

Student List

Returns all your school's students and all relevant information.

https://app.teachngo.com/globalApis/student_list

Prospect List

Returns all your school's students and all relevant information.

https://app.teachngo.com/globalApis/prospect_list

Course List

Returns all your school's courses and all relevant information.

https://app.teachngo.com/globalApis/course_list

Lesson List

Returns a course's lessons and all relevant information. Use the course_id, which you can obtain by gathering the course list.

https://app.teachngo.com/globalApis/lesson_list/[course_id]

Student Attendance

Returns all information regarding student attendance.

https://app.teachngo.com/globalApis/students_attendance

Student Behaviours

Returns all information regarding student behaviour.

https://app.teachngo.com/globalApis/student_behaviours

Receipts

Returns information regarding receipts

https://app.teachngo.com/api/v1/receipts

Find receipts between start and end date

{
"from_date: YYYY-MM-DD",
"to_date: YYYY-MM-DD"
}

Payments

Returns information regarding payments and current status.

https://app.teachngo.com/api/v1/payments

Did this answer your question?