Distributor API
Overview of Distributor API
Distributor API
Use this section to access distributor-scoped endpoints.
Getting Started
Use the Distributor API when managing partner organizations, billing codes, distributor-level analytics, and event delivery (callback URLs and signing secrets). For HTTPS callback behaviour, see the Outbound webhooks reference.
Authentication
All /api/v1/distributors/... endpoints require:
| Header | Description |
|---|---|
SW-DISTRIBUTOR-ID | Your unique distributor UUID |
SW-API-KEY | Your secret API key |
Your distributor SW-API-KEY can also authenticate Partner API requests when used with a partner's SW-PARTNER-ID.
curl -X GET https://connect.safestate.com/api/v1/distributors/analytics \
-H "SW-DISTRIBUTOR-ID: your-distributor-uuid" \
-H "SW-API-KEY: your-api-key"Insights
Partner Management
Partners
List and create partner organizations under your distributor.
Partner Details
Retrieve, update, or offboard a specific partner.