[Deprecated] API Authentication (access_token)
Please invoke the auth API to get access_token via your VORTEX portal username and password.
sh
curl --request POST \
--url https://api.dev.vortexcloud.com/v1/auth \ # Switch to stage/production API server url per your environment
--header 'Content-Type: application/json' \
--data '{
"username": "YOUR_USERNAME", # Please fill in your username here
"password": "YOUR_PASSWORD" # Please fill in your password here
}'You will receive the access_token in the response, formatted as follows:
json
{
"access_token": "ACCESS_TOKEN",
"type": "Bearer"
}With this access_token, you can access other APIs listed in the API documentation.
For example, after you get the access token, you could access the organization info as this:
sh
curl --request GET \
--url https://api.dev.vortexcloud.com/v1/organizations \ # Switch to stage/production API server url per your environment
--header 'Authorization: Bearer ACCESS_TOKEN'