Api Authentication
Refresh existing authentication
Access Refresh
Once authenticated, an issued API Access Token will expire after 30 minutes.
This authenticated endpoint will "refresh" the access token by issuing a new jwt token with an extended expiration.
This endpoint refreshes only access tokens that were issued from a StackHawk API Key via the /login route. A browser session (APPLICATION) token obtained by signing in to the StackHawk web app cannot be refreshed here; presenting one returns 401 Unauthorized. Browser sessions are refreshed by the web app itself.
For best practices, use the /refresh-token route for refreshing authentication access to extend the API session.
get/api/v1/auth/refresh-token
Request
- Base URLhttps://api.stackhawk.com
- URLhttps://api.stackhawk.com/api/v1/auth/refresh-token
- AuthHTTP bearer
Changes
No recorded changes to this operation across all 8 revisions of this API.