Get customer monitored assets
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://connect.safeweb.co/api/integrations/customer/497f6eca-6276-4993-bfeb-53cbbbba6f08/assets" \ -H "SW-PARTNER-ID: string" \ -H "SW-API-KEY: string"{
"success": true,
"domains": [
"example.com",
"sub.example.com"
],
"emails": [
"user@example.com",
"admin@example.com"
]
}{
"success": false,
"error": "Customer ID is required"
}{
"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 customer assets"
}Offboard a customer POST
Deactivates an existing customer in the SafeWeb platform. The customer must belong to the authenticated partner organization. Requires valid partner authentication via SW-PARTNER-ID and SW-API-KEY headers.
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.