Retrieve Auth token and accountID
You must connect to the Vade Cloud™ API to retrieve your authorization token and account ID.
Requestcurl -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™.
-
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
- Content-Type
application/json
- userAccount
- object