Skip to main content
POST
/
authentication
/
login
Login
curl --request POST \
  --url https://api.jtl-cloud.com/erp/authentication/login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-challengecode: <x-challengecode>' \
  --header 'x-tenant-id: <x-tenant-id>' \
  --data '
{
  "UserName": "<string>",
  "Password": "<string>"
}
'
{
  "SessionId": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

api-version
string

Specify the desired API version, e.g. '1.0'. If not provided, the last available version is set.

x-challengecode
string
required

You can enter any custom value here. The X-ChallengeCode is used during app registration and must be the same for all registration requests. The maximum length is 30 characters.

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Body

application/json

Contains the login information

Model Class: CreateLogin

UserName
string
required

Username of the WAWI user

Password
string
required

Password of the WAWI user

Response

login success

Model Class: Login

SessionId
string
required

Unique identifier of the current session