HTTP REST API - I can’t get the value from a PIN

please help me instead of using blynk app i want to run my own application but dont have idea how to generate tokens and also how to execute local servers via android application.iam trying to run commands