Refresh Token
warning
This endpoint is only available to users with Sentry Interactive issued auth tokens.
This endpoint refreshes a users' authentication token using their refresh token. Refresh tokens cannot be used for standard requests and have a very long life compared with an authentication token.
HTTP Request
POST https://api.doordeck.com/auth/token/refresh
info
A refresh token should be used in place of an authentication token for this request.
info
The refreshToken field is optionally returned, if a new refresh token should be stored, otherwise it will not be present.
Example
- Request
- Response
CURL
curl -X POST "https://api.doordeck.com/auth/token/refresh" \
-H "Authorization: Bearer REFRESH_TOKEN"
Remember
Replace REFRESH_TOKEN with your refresh token.
JSON
{
"authToken":"JSON Web Token for authentication",
"refreshToken":"(Optional) JSON Web Token for refreshing authentication credentials"
}