Parent Ping

Gets basic information about the logged in parent and what access they have. This endpoint is also used for revalidating your session id (authentication token).

POST
/ping

Authorization

Authorization<token>

This is the session_id returned when logging in. It must be prefixed with Basic. e.g. Basic eW91IHNob3VsZCBzdGFyIHRoaXMgcmVwbyE=

In: header

Request Body

application/x-www-form-urlencodedOptional
include_datastring

Includes a new session id in the response meta

Default: "true"
curl -X POST "https://www.classcharts.com/apiv2student/ping" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d 'include_data=true'

Parent information & session_id (if requested)

{
  "meta": {
    "version": "string",
    "session_id": "string"
  },
  "data": {
    "user": {
      "id": 0,
      "name": "string",
      "email": "string",
      "language": "string",
      "isEmailVerified": true
    }
  }
}