Authentication
Refresh access token
A unexpired refresh token must be used. Returns a new access token and refresh token.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
refresh_token*Refresh Token
A valid refresh token.
Response Body
application/json
application/json
curl -X POST "https://v2.api.piktid.com/auth/refresh" \ -H "Content-Type: application/json" \ -d '{ "refresh_token": "string" }'{
"token": "string",
"expiration_date": "string",
"refresh_token": "string",
"refresh_expiration": "string"
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty