post https://api.revenuehq.dev/user/api-tokens
User API tokens are created on request. Simply supply a human-readable name to associate with the token (so you know where it is being used), and a new token will be generated.
You will use the id of this token in the authentication header. You will also use this id to modify the token itself (enable it, disable it, delete it).
This action triggers an email notification.
Security protection
For security reasons, you cannot use an API token to authenticate this endpoint. A user session token must be used in the authentication header.