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.
access_token?string
refresh_token?string
access_expiration?string
Format
date-timerefresh_expiration?string
Format
date-timeResponse Body
Examples
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