Skip to content

Getting started with the API#

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

Login to the API#

All the QCentroid’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.qcentroid.xyz/login
-H 'Content-Type: application/json'
-d '{"username": "string", "password": "string"}'
response = requests.post(
                url="https://api.qcentroid.xyz/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"
}

Download the Postman collection#

Available soon

What’s next#

Run a job through the API

Set up the SDK

Visit the API documentation site