API Tokens
Create a JSON Web Token.
Create a short lived JWT for authentication to specific GitGuardian services, including HasMySecretLeaked.
post/v1/auth/jwt
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/auth/jwt
- AuthHTTP bearer
Request body
Example request
{
"audience": "https://api.hasmysecretleaked.com",
"audience_type": "hmsl"
}Response
Created JWT
Example response
{
"token": "eyJhbGciOiJS[...]"
}Changes
No recorded changes to this operation across all 35 revisions of this API.