Student Note API

How to use the API to create student notes

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

Required Authentication

An API key is required for authentication. Here's how to find yours:

  1. Go to the School Settings Page.

  2. Click on the Developers tab.

  3. Create an API Key.

You can use the API key either in the header (X-API-KEY: key value) or as a query parameter (apikey=keyvalue).

API Request

2. Method: POST

3. Body: JSON

Example:

{

"student_id": 141711,

"visibility": "public", /* public / private */

"note": "Test API Note"

}

API Responses

Success

{

"status": "success",

"message": "student note has been added successfully!"

}

Validation Error

{

"status": "fail",

"message": "validation Error.",

"errors": {

"student_id": "student_id field is missing",

"visibility": "visibility field is missing"

}

}

Method Not Allowed

{

"status": "fail",

"message": "method not allowed"

}

401 Unauthorized

{

"status": "fail",

"message": "unauthorized user"

Did this answer your question?