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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/x-protobuf