You can use InnoID API to get some information about students or employees of Innopolis University.
<aside> ❗
There is a mistake on Postman screenshots. API URL have moved from api.innoid.ru
to api-innoid.dropteam.ru
.
</aside>
<aside>
💡 If you want to get only is_authorized
field, you can skip this part.
</aside>
First you should create an app by using command /newapp
in Telegram Bot @InnoIDBot.
After that, you will see a token to access the API.
Base API URL is https://api-innoid.dropteam.ru/v1
Each request must contain header (if you created an application): Authorization: Bearer <TOKEN>
Example in Postman
URL: https://api-innoid.dropteam.ru/v1/users/<TelegramUserID>
Method: GET
Responses:
User found
Status code: 200
Note: it is possible to get email
field together with is_authorized
field, contact @KeepError, if you need it.
User not found
Status code: 404