Can you point us to the documentation on how to generate an API key with the later (v3) version of the API?
Here is the doc on how to create a api token
Accessing the API Documentation
You will need to use the API password which is different than the ASM login password.