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",
"groups": [
"string"
],
"last_active": "string"
}
}Empty
Empty