Issue an integration token (e.g. the mobile app QR code token) for the user, without the user password. It replaces the previous token of the same audience.
When the user has no session yet (e.g. never logged in), it is created with an internal login on the NethCTI server, authorized by the super admin token that the NethCTI server reads from the module environment. It is independent from SSO. The token is issued without OTP verification, so it is refused for users with 2FA enabled.
POST
/admin/tokens/persistent/{username}/{audience}
curl \
--request POST 'https://middleware.example.com/api/admin/tokens/persistent/{username}/{audience}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"token": "string"
}