Introduction

SmartClass API Documentation for integration purposes

All requests should be sent to the school instance url which might be something like below.

https://schoolid.smartclass.school/public/v1/

All requests should include API version number like v1 in the url.

All requests should include Authorization Token and schoolId of the token in the Header part.

In order to get Authorization Token, you should contact to the school that you are serving.

Error Messages

Requests without Authorization Token or schoolId will get an error message.

get
Token Not Sent

https://schoolid.smartclass.school/public/v1/tickets
If there is no token that has been sent with the request.
Request
Response
401: Unauthorized
Token Not Sent

get
School Id Not Sent

https://schoolid.smartclass.school/public/v1/tickets
If there is no schoolId that has been sent with the request.
Request
Response
401: Unauthorized
School Id Not Sent

get
Token Not Found

https://schoolid.smartclass.school/public/v1/tickets
If the token that has been sent does not match the one in the system.
Request
Response
401: Unauthorized
Token Not Found

get
Invalid Token

https://schoolid.smartclass.school/public/v1/tickets
If the token that has been sent is not valid.
Request
Response
401: Unauthorized
Invalid Token