Example: Authenticate with Swimlane using username and password to obtain a JWT token
SOARSecurity OrchestrationAutomationIncident ResponsePlaybooksCase ManagementSecurity OperationsAgentic AI
Swimlane Authenticate Example is an example object payload from Swimlane, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"description": "Example: Authenticate with Swimlane using username and password to obtain a JWT token",
"request": {
"method": "POST",
"path": "/api/user/login",
"headers": {
"Content-Type": "application/json"
},
"body": {
"userName": "admin@example.com",
"password": "s3cr3tP@ssw0rd"
}
},
"response": {
"status": 200,
"body": {
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"user": {
"id": "uSeRiD12345",
"displayName": "Admin User",
"email": "admin@example.com",
"userName": "admin@example.com",
"roles": ["role-admin-id"],
"groups": ["group-security-id"],
"isAdmin": true,
"active": true,
"disabled": false
}
}
},
"notes": "The returned token should be included as 'Authorization: Bearer {token}' in subsequent requests. Tokens expire and will be auto-refreshed by the SDK 5 minutes before expiration. Alternatively, use a Personal Access Token (PAT) in the 'Private-Token' header."
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.