AP Automation-Basware API-How to Disable Account Activation Notification Emails in Basware


Summary

When a new user is imported into Basware via the API, they may receive an account activation notification email. This typically occurs when the user is expected to use Basware's internal login system (username and password) rather than an external authentication method.

To prevent this email from being triggered—particularly in environments using Single Sign-On (SSO)—specific fields must be configured correctly in the API request payload.


When is the Email Triggered?

The activation email is automatically sent when:

 

How to Prevent the Notification Email

To disable the activation email during user import, include the following fields in the JSON payload:

 

Example Payload

Below is a sample JSON payload that can be used when importing a user via the API, with the necessary fields included:

[{

  "externalCode": "35557",

  "firstName": "Abhishek",

  "surName": "Goswami",

  "countryCode": "CR",

  "loginAccount": "abhishek.goswami@basware.com",

  "middleInitial": "E",

  "email": "abhishek.goswami@basware.com",

  "loginType": "2",

  "sendAccountCreationEmail": "notSend",

  "validFrom": "2025-07-21T00:00:00",

  "validUntil": "4712-12-31T00:00:00",

  "title": "Marketing Program Manager",

  "supervisorLoginAccount": "xyz@akamai.com",

  "companyCode": "170",

  "loginAllowed": "true",

  "groups": [{

    "externalGroupCode": 0,

    "active": "true"

  }]

}]

 

Conclusion

By correctly setting the loginType and sendAccountCreationEmail fields in the API request, you can suppress the account activation notification email during user creation. This helps streamline onboarding in environments where external authentication is already managing user access.