You can always verify if your current token is valid by using the following end point
Python Example
REST API Invoices and Credit Notes
REST API Get a user attributes
Introduction
Environments
GitHub Integration
Authentication
API
Creating Getting your API Keys
REST API Clients and Leads
REST API Expenses
REST API Create Clients and Leads contacts and users