Tokens
Refresh an access token
The client has the option to pass the refresh token in the body of the
request or in a refresh_token cookie. The access token must be passed in
the body of the request.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://api.piktid.com/api/tokens" \ -H "Content-Type: application/json" \ -d '{}'{
"access_token": "string",
"refresh_token": "string",
"access_expiration": "2019-08-24T14:15:22Z",
"refresh_expiration": "2019-08-24T14:15:22Z"
}Empty