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 body
Example request
{
"audience": "https://api.hasmysecretleaked.com",
"audience_type": "hmsl"
}Response
Created JWT
Example response
{
"token": "eyJhbGciOiJS[...]"
}