Authentication
Login
Login endpoint using Basic Auth. Creates access token and refresh token.
Examples
curl -X POST "https://v2.api.piktid.com/auth/login"{
"token": "string",
"expiration_date": "string",
"refresh_token": "string",
"refresh_expiration": "string",
"user": {
"username": "string",
"email": "string",
"name": "string",
"surname": "string",
"verified": true,
"credits": 0,
"contract": "string",
"affiliation": "string",
"address": null,
"country": null,
"vat_num": null,
"groups": [
"string"
],
"last_active": "string"
}
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty