[SOLVED] v5 API Token Question

How do I find the API token needed to get data from the system using curl?

Our accounting system makes great use of this feature in v4 but every token I try from the company_tokens table returns an invalid token error. I’ve tried creating a specific token from the API screen but that also fails.

What am I doing wrong?

Hi,

You can manage tokens on Settings > Account Management.

The problem may be that the token header has changed in v5 to X-API-Token

https://invoiceninja.github.io/docs/developer-guide/#migrating-from-v4

1 Like

Sometimes one just can’t see for looking. Migration page now bookmarked

Many thanks