Skip to main content
POST
/
login
Retrieve API Token
curl --request POST \
  --url https://api.nuwebgroup.com/v1/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "master@example.com",
  "password": "password",
  "device_name": "api_test"
}
'
{
  "token": "PERSONALACCESSTOKEN123"
}

Documentation Index

Fetch the complete documentation index at: https://docs.nuwebgroup.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

X-NU-COMPANY-ID
integer

The ID of the company this operation should be performed against.

Accept-Language
string

Sets the preferred language for localised response content (e.g. en, fr, de). If the requested language is not supported by the company, the company fallback language will be assumed.

Body

application/json

Login params

email
string

Your admin user email

password
string

Your admin user password

device_name
string

An arbitrary identifier for the device making the API request

Response

After a successful login request, an access token is generated for subsequent API calls.

token
string