Using a StackHawk API Key, this endpoint returns an access token which can then be used in the authorization header of subsequent API requests.
The access token returned is an RFC-7519 compliant jwt access token.
Access tokens have an expiration of 30 minutes and are issued on behalf of the requesting user.
An access token can only be used to interact with StackHawk resources that belong to the user, or to organizations that user is a part of and permissioned for.
For best practices, use the /login route only when starting a new access session to the StackHawk API, and use the /refresh route to request a fresh token to extend an API session.
Click Try It! to start a request and see the response here!