Partner API
Get customer threat score
Path Parameters
customerId*string
Customer UUID
Format
uuidHeader Parameters
SW-PARTNER-ID*string
Partner organization identifier
SW-API-KEY*string
API authentication key
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/integrations/customer/497f6eca-6276-4993-bfeb-53cbbbba6f08/threat-score" \ -H "SW-PARTNER-ID: string" \ -H "SW-API-KEY: string"{
"success": true,
"threatScore": 42
}{
"success": false,
"error": "Invalid route parameters: Customer ID must be a valid UUID"
}{
"success": false,
"error": "Failed to verify org API key"
}{
"success": false,
"error": "Customer not found or does not belong to partner"
}{
"success": false,
"error": "Partner ID and API key are required in headers"
}{
"success": false,
"error": "Failed to retrieve threat score"
}Get customer breaches GET
Returns breach status (boolean), count, and the list of breaches for the given customer. The customer must belong to the authenticated partner.
Check if an email has been breached POST
Returns whether the given email address has appeared in any known data breach. Requires valid partner authentication via SW-PARTNER-ID and SW-API-KEY headers. Optionally include `resolved` in the JSON body to filter by whether matching breaches are marked resolved.