For 2 years, I have been using Ninja Invoicing for my company and our sailing club sites (both under White Label), and it works perfect. However, I have never been able to figure out how to activate the API. As a result, I have to re-enter all registrations from new members and sailing camps created on my Drupal site by hand, see www.hofstadezeilclub.be. This is really a missing link in my administration. Anyone with more experience, who could provide perhaps a hint?
There should be an ‘API Tokens’ option in the settings menu, are you using the latest version of the app?
I can see the API Tokens, but I don’t have /api/v1
Sorry, I don’t understand what you mean by not having /api/v1
When I understood https://invoice-ninja.readthedocs.io/en/latest/api.html correctly, I should access REST API like https://www.mywebsite.be/api/v1/clients and then provide a token for access. However, I get a “page not found”.
Maybe you need to add ‘/public’ in the URL
I tried to add /public/ before and after /api/v1 but it does not seem to work. Also, I would expect a /api/v1 folder for the REST service and /client.php or /invoice/php files, but I can’t find any of them. Bit puzzling.
These are virtual routes, you won’t find matching files/folders