API to verify JWT token sent by the client.