Getting started with the API#
These pages will guide you through the main features and tasks you can do through the QCentroid Platform’s API.
Login to the API#
All the QCentroid Platform’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