For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get admin token

Management This method allows to login and get a JWT token for the admin

post
Body
usernamestringOptionalExample: admin
passwordstringOptionalExample: password
Responses
200Success
application/json
tokenstringOptionalExample: eyJhbGciOiJSUzI1NiIsInR5cCI6...
refresh_tokenstringOptionalExample: 0558f8bb29948c4e54c443f...
post/api/admin/login_check
POST /api/admin/login_check HTTP/1.1
Host: openloyalty.localhost
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "username": "admin",
  "password": "password"
}
{
  "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6...",
  "refresh_token": "0558f8bb29948c4e54c443f..."
}

Last updated

Was this helpful?