Retrieve Auth token and accountID

You must connect to the Vade Cloud™ API to retrieve your authorization token and account ID.

Request
curl -X POST -i \
    'https://cloud.vadesecure.com/rest/v3.0/login/login' \
    -H 'Content-type: application/json' \
    -H 'Accept: application/json' \
    --data '{
          "login": "YOUR_CLOUD_LOGIN",
          "password": "YOUR_CLOUD_PASSWORD"
     }'; echo
Content-Type
application/json
Accept
application/json
login - Required
string
The login you use to connect to the admin interface of Vade Cloud™.
password - Required
string
The password you use to connect to the admin interface of Vade Cloud™.
Response
200 OK application/json
  • The response headers contain the x-vrc-authorization header whose value must be used as the authorization token for subsequent requests.
  • The response body contains a JSON blob which can be parsed to retrieve the account ID.
400 Error application/json
In case an error occurred, a 400 error is returned along with a JSON object containing a description of the error, typically:
{"error": "error description"}
401 Unauthorized application/json
There was a problem authenticating your request.
x-vrc-authorization
string
The HTTP response contains a x-vrc-authorization header which value contains the authorization token to be used in all subsequent requests to the Vade Cloud™ API.
Content-Type
application/json
userAccount
object
The userAccount JSON property contains information about your Cloud account.
id
string
The userAccount.id property contains the User ID which you need to retrieve to perform subsequent requests to the Vade Cloud™ API.