Skip to content

Getting started with the API#

These pages will guide you through the main features and tasks you can do through the QFStudio’s API.

Login to the API#

All the QFStudio’s API endpoint need an authentication token to access them. You can get this token by making a first POST request to the /login endpoint with your username and password.

curl -X POST https://api.quantum.moodysanalytics.com//login
-H 'Content-Type: application/json'
-d '{"username": "string", "password": "string"}'
response = requests.post(
                url=https://api.quantum.moodysanalytics.com//login,
                json={"username": "string", "password": "string"})

The /login endpoint returns the access token to be used in the following API requests:

Login response
{
    "access_token": "eyJhbGciOiJIU ... 6lPl5ZcRSQw"
}

What’s next#

Run a job through the API

Visit the API documentation site