In certain scenarios it might be required to create an authentication token that has a longer expiration date than the traditional login method shown above. For this reason one can utilize the CreateAPIToken method.
This method works similar to the Login section above but can be performed once and you obtain a token based on the number of days you wish.
https://api.netumo.app/Help/Api/POST-api-Account-CreateAPIToken_username_password_validFor
You can get this token via a tool such as Postman for example and you only need to do it once. The obtained token will be valid based on the number of validFor days specified.
URL: https://api.netumo.app/api/Account/CreateAPIToken
Type (verb): POST
Content Type: application/json
Body: {
username: <USERNAME>,
password: <PASSWORD>,
validFor: <Number of Days eg 365>
}