All API requests are using the Bearer Token Authorization. A Bearer Token will last up to an hour from the time it is generated, allowing multiple API calls to be made securely without authorizing each time.
To be able to get your token access, open the Settings page in the Portal, then navigate to the section Webhook & API settings. You will need the username and password.
|Username||string||Your API username|
|Password||string||Your API password|
|Role||The role this login belongs to|
|Token||The authorization token that needs to be used in any other API request|
|CustomerId||The customer id this login belongs to|
|CompanyName||The company name this login belongs to|
|CustomerType||Type for the customer account|
|Username||Username for the login|
|IsTwoFactorAuthenticationEnabled||If it has two factor authentication enabled|
|LoginType||LoginType for the session|
You have to inform the Token field received in this endpoint in any other request you want to execute. Once the token expires, you have to authenticate again to be able to retrieve a new token.