I wanted to keep track of what needs to be done prior to actually being able to query API on vRA cloud. Ive been having a hard time finding the documentation i needed in the past

First step is to get an API token for the specific username. We can do this by going to My account under User Settings in vRA Cloud

In vRA Cloud, navigate to “My Account” under User Settings to get an API token.

Go to API Tokens and click on Generate a new api token

Account page showing API Tokens tab with no tokens, prompting to generate a new one.

Give it a name and select what it will have access to and click on Generate

API Token setup page with token name, TTL, scopes, and options to select roles and services.

Once we have the api token generated we can use it to generate an access token by running

curl --location --request POST 'https://console.cloud.vmware.com/csp/gateway/am/api/auth/api-tokens/authorize' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'refresh_token=api token generated earlier'

Now we can use the output from “access_token”. There`s a number of Cloud Assembly examples here

Full guide available here