Production base URL: https://my.kanary.com/api/v1/partner/
Partner records are provisioned when you set up your organization via the admin dashboard.
| Method | Path | Purpose |
|---|---|---|
GET |
/api/v1/partner/ |
Retrieve the authenticated partner |
GET |
/api/v1/partner/summary/ |
Account, member, and exposure counts (Summary) |
GET |
/api/v1/partner/seats/ |
Seat inventory per subscription (Seat inventory) |
POST |
/api/v1/partner/seats/ |
Purchase subscription seats (Purchase seats) |
GET |
/api/v1/partner/credits/ |
Unassigned on-demand credits (Credit pool) |
POST |
/api/v1/partner/credits/ |
Buy unassigned on-demand credits (Purchase credits) |
On-demand scans spend a credit on the member: POST /api/v1/partner/members/{member_id}/scan_requests/. See Scan credits.
Auth: Bearer token required. See Authentication. Account directory and members: Account API.
Returned only by GET /api/v1/partner/.
| Field | Type | Description |
|---|---|---|
id |
integer | Partner primary key |
name |
string | Display / organization name |
created_at |
string | When the partner record was created (timestamps) |
domain_name |
string | null | Primary email domain for enrollment matching |
active |
boolean | Whether the partner organization is fully activated for API use |
created_at and other datetimes are UTC, ISO 8601: YYYY-MM-DDTHH:MM:SS[.ffffff]+00:00.
"created_at": "2025-06-01T08:00:00.123456+00:00"
GET /api/v1/partner/
Returns the partner linked to your API key.
Auth: Partner API key. See Authentication.
200 OK)Returns the partner object at the top level.
{
"id": 42,
"name": "Waystar Roy Security & Company",
"created_at": "2025-06-01T08:00:00.123456+00:00",
"domain_name": "acme.com",
"active": true
}
| Status | Condition |
|---|---|
403 |
Missing or invalid API key, or the authenticated user is not linked to a partner, or partner is not active |
GET /api/v1/partner/summary/
Aggregate counts for your partner.
200 OK)| Field | Type | Description |
|---|---|---|
accounts_count |
integer | Accounts with status ACTIVE. INVITED, paused, and terminated accounts are not counted |
members_count |
integer | Non-terminated members on those active accounts |
exposures_count |
integer | Exposures on those active accounts, excluding invalidated exposures |
{
"accounts_count": 482,
"members_count": 517,
"exposures_count": 9210
}
| Status | Condition |
|---|---|
403 |
Missing or invalid API key, or partner inactive |
GET /api/v1/partner/seats/
Subscription seats per plan on your contract. Credit products such as Trial Scan are not listed, so a partner with only credit plans gets "seats": []. Product details are on the Product API.
Pass a subscription product_id with available > 0 on POST /api/v1/partner/accounts/. Family add-on products are listed here too. POST /api/v1/partner/members/ occupies one when it adds a member to a full account.
200 OK)| Field | Type | Description |
|---|---|---|
seats |
array | One row per subscription plan |
purchase_seats_url |
string | Admin dashboard page for buying seats |
Each object in seats:
| Field | Type | Description |
|---|---|---|
product_id |
integer | Pass as product_id on account create. Same as id on the Product API |
product_name |
string | Display name |
product_description |
string | null | What the product includes |
product_description_short |
string | null | Short description |
product_tier |
string | null | "advanced" for Advanced. null for other products |
billing_frequency |
string | null | "monthly" or "annually"; null for other terms |
total |
integer | Contractual seat cap (-1 = unlimited) |
occupied |
integer | Seats assigned |
available |
integer | Seats not yet assigned; -1 when total is unlimited |
min_seats |
integer | Contractual minimum seats |
price_per_seat |
integer | Contract price per seat in cents |
{
"seats": [
{
"product_id": 101,
"product_name": "Core",
"product_description": "Scan and removal subscription on the Core catalog.",
"product_description_short": "Core scan and removal",
"product_tier": null,
"billing_frequency": "monthly",
"total": 50,
"occupied": 12,
"available": 38,
"min_seats": 0,
"price_per_seat": 999
},
{
"product_id": 103,
"product_name": "Advanced",
"product_description": "Scan and removal subscription on the Advanced catalog.",
"product_description_short": "Advanced scan and removal",
"product_tier": "advanced",
"billing_frequency": "monthly",
"total": 10,
"occupied": 2,
"available": 8,
"min_seats": 0,
"price_per_seat": 1999
}
],
"purchase_seats_url": "https://my.kanary.com/dashboard/settings/admin"
}
| Status | Condition |
|---|---|
403 |
Missing or invalid API key, or partner inactive |
GET /api/v1/partner/credits/
Unassigned on-demand credits for the partner. Assigning a credit to a member draws from available here. Buy more with POST /api/v1/partner/credits/.
200 OK)| Field | Type | Description |
|---|---|---|
credits |
array | One row per on-demand product |
Each object in credits uses the same catalog fields as GET /api/products/, plus:
| Field | Type | Description |
|---|---|---|
total |
integer | Credits purchased |
occupied |
integer | Credits assigned to members, including credits already spent |
available |
integer | Unassigned credits. Member assignment fails when this is 0 |
{
"credits": [
{
"product_id": 201,
"product_name": "Core Scan",
"description": "On-demand scan of the Core catalog.",
"charge_type": "on_demand",
"billing_frequency": "one_time",
"price_per_seat": 299,
"total": 100,
"occupied": 40,
"available": 60
}
]
}
| Status | Condition |
|---|---|
403 |
Missing or invalid API key, or partner inactive |