Partner API
List partner customers
Query Parameters
page?integer
Page number (1-based)
Default
1Range
1 <= valuepageSize?integer
Number of customers per page (max 100)
Default
20Range
1 <= value <= 100status?string
Filter customers by status
Value in
"active" | "inactive" | "dormant" | "prospect"Header 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
curl -X GET "https://example.com/api/v1/integrations/partner/customers" \ -H "SW-PARTNER-ID: string" \ -H "SW-API-KEY: string"{
"success": true,
"customers": [
{
"customerId": "550e8400-e29b-41d4-a716-446655440000",
"status": "active"
},
{
"customerId": "660e8400-e29b-41d4-a716-446655440001",
"status": "inactive"
}
],
"pagination": {
"totalCount": 42,
"page": 1,
"pageSize": 20,
"hasNextPage": true
}
}{
"success": false,
"error": "Failed to verify org API key"
}{
"success": false,
"error": "Partner ID and API key are required in headers"
}{
"success": false,
"error": "Failed to list partner customers"
}Get partner analytics GET
Retrieve high-level analytics about your partner account including total customers, active monitors, and breach statistics. Requires authentication via SW-PARTNER-ID and SW-API-KEY headers. Accepts a partner or distributor API key.
Custom plans
How custom plans work for distributors and partners