Trip Ninja Admin Panel API
The single documented Admin Panel operation, POST /adminpanel/refresh-token/, exchanges a refresh token for a new access token. Access tokens expire 90 days after issue; refresh tokens have an indefinite lifespan until regenerated, and using one issues a new refresh token as well. Response flags is_production_token and is_datastream_token distinguish sandbox from production and DataStream from SmartFlights credentials. Tokens are minted by a human in the Trip Ninja Admin Panel at app.tripninja.io, not by a self-serve signup.
Documentation
Documentation
https://devhub.tripninja.io/smartflights/authentication/
Documentation
https://devhub.tripninja.io/resources/admin-panel