cURL
curl --request POST \ --url https://api.nuwebgroup.com/v1/login \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "password": "password", "device_name": "api_test" } '
{ "token": "PERSONALACCESSTOKEN123" }
Retrieve a re-usable API token using your admin user credentials. The token will remain in sync with the admin user meaning calls will be made on behalf of the currently selected company and permissions will based on the users current roles.
Login params
Your admin user email
Your admin user password
An arbitrary identifier for the device making the API request
After a successful login request, an access token is generated for subsequent API calls.