Account resources. The profile on an account and its scan history are in Members.
| Resource | Path | Purpose |
|---|---|---|
| Accounts (collection) | /api/v1/partner/accounts/ |
GET paginated accounts; count is all accounts (ACTIVE, INVITED, and TERMINATED); POST create account with its member (Create account) |
| Account | /api/v1/partner/accounts/{account_id}/ |
Retrieve or delete one account (delete cascades to the member) |
| Account onboarding invite | /api/v1/partner/accounts/{account_id}/send_onboarding_invite/ |
POST send onboarding invite email |
| Members | /api/v1/partner/members/ |
Profiles and scan history (Members) |
POST /api/v1/partner/accounts/
Creates an account with one member on one product. Profile field shapes are in Profile fields. This happens at create time for both ACTIVE and INVITED accounts. Sending an onboarding invite does not add a product.
product_id with available > 0 on GET /api/v1/partner/seats/. email, birth_year, names, and addresses are required.product_id is required. email is optional; without it, the account gets a Kanary placeholder login and primary_email shows that placeholder. No scan runs until POST .../scan_requests/.Product ids are in the Product API.
| Field | Required | Description |
|---|---|---|
product_id |
Yes | One product id. A subscription id needs an available seat. An on-demand id needs a credit in your partner’s pool |
email |
Subscription: yes. On-demand: no | Login email for the new account. Also added to the member’s emails |
status |
No | "ACTIVE" (default) or "INVITED". ACTIVE provisions a ready-to-use account with no onboarding email. INVITED creates the account without email; call POST .../send_onboarding_invite/ to send it |
birth_year |
Subscription: yes. On-demand: no | Current year − 150 … current year |
birth_month, birth_day |
No | 1–12 / 1–31 |
names |
Subscription: yes. On-demand: no | At least one name for a subscription. Same shape as Profile fields |
addresses |
Subscription: yes. On-demand: no | At least one address for a subscription. Same shape as Profile fields |
emails |
No | Same shape as Profile fields |
phone_numbers |
No | Same shape as Profile fields |
usernames, employers |
No | Same shapes as Profile fields |
A Trial Scan searches by phone number and by name plus location. Send a phone number, or a name and an address, or the scan request returns 400 (error: trial_identifier_required).
product_id 101 is Core. That consumes one seat.
POST /api/v1/partner/accounts/
{
"email": "newuser@example.com",
"product_id": 101,
"status": "INVITED",
"birth_year": 1990,
"names": [{ "first_name": "Jane", "last_name": "Smith", "no_middle_name": true }],
"addresses": [{ "city": "New York", "state": "NY", "country": "US" }]
}
product_id 301 is Trial Scan. The member is assigned one credit from the pool.
POST /api/v1/partner/accounts/
{
"product_id": 301,
"status": "ACTIVE",
"birth_year": 1990,
"names": [{ "first_name": "Jane", "last_name": "Smith", "no_middle_name": true }],
"addresses": [{ "city": "New York", "state": "NY", "country": "US" }]
}
201 Created)Returns the account object (same shape as list/retrieve), including account_id and members.
| Event | Effect |
|---|---|
POST /api/v1/partner/accounts/ succeeds |
Subscription: one seat moves to occupied. On-demand: one credit moves from the pool to the member |
Credit spent by POST .../scan_requests/ |
The member’s credit is used. Spent credits stay spent |
| Account deleted with unspent on-demand credits | Those credits are released from the member |
| Account deleted while it holds a subscription product | The seat returns to available |
POST .../send_onboarding_invite/ |
No credit and no seat change |
| Status | Condition |
|---|---|
400 |
Validation error, including a missing email, birth_year, names, or addresses on a subscription product; email already in use (detail: The email address is already in use.); your partner has no seat plan for this product_id (error: product_not_configured; includes purchase_seats_url) |
402 |
No available seat (error: insufficient_seats; includes product, product_id, available, and purchase_seats_url). Or your partner’s credit pool is empty for an on-demand product (error: insufficient_credits; includes product, product_id, and available) |
403 |
Missing or invalid API key, or partner inactive |
{
"error": "product_not_configured",
"detail": "No seat plan is configured for this product_id. Call GET /api/v1/partner/seats/ for valid seat types, or purchase seats in the admin dashboard.",
"purchase_seats_url": "https://my.kanary.com/dashboard/settings/admin"
}
GET /api/v1/partner/accounts/
Returns a paginated page of accounts for the authenticated partner. count includes all accounts: ACTIVE, INVITED, and TERMINATED. Load partner metadata from GET /api/v1/partner/ separately. See Pagination.
| Param | Default | Max | Description |
|---|---|---|---|
limit |
100 |
250 |
Accounts per page (Pagination) |
offset |
0 |
— | Starting index into the account list |
GET /api/v1/partner/accounts/?limit=50&offset=50
| Top-level key | Description |
|---|---|
count |
All accounts: ACTIVE, INVITED, and TERMINATED |
next |
URL for the next page, or null |
previous |
URL for the previous page, or null |
results |
Current page of accounts, including terminated rows |
Results include terminated accounts. Non-terminated rows include a members array (active profiles only). Terminated rows are redacted (PII removed on termination). Follow next until it is null to enumerate the full directory.
Each entry in results uses this shape (terminated rows redact PII as noted).
| Field | Type | Description |
|---|---|---|
account_id |
integer | Account primary key |
status |
string | "ACTIVE", "INVITED", or "TERMINATED" |
is_admin |
boolean | true when the account is an admin of your partner organization. false for accounts created through the API |
primary_email |
string | null | Login email; "redacted" when terminated. A scan-only account created without email shows a Kanary placeholder address |
created_at |
string | When the account was created (UTC, ISO 8601; see Partner timestamps) |
terminated_at |
string | null | When the account was terminated; null unless status is "TERMINATED" |
members |
array | Active members. See Member summary. [] when terminated |
removed |
integer | null | Account removal total using the dashboard’s counting rules; 0 when none qualify, null when terminated |
removed counts results currently marked removed across all members of the
account, including terminated members. It has no date filter. Listing pages,
linked aggregator results (such as a Google copy of a source result), and results
still exposed on Google are excluded. The active-only members array is not the
scope of this count; use the same account and member scope when comparing it with
the dashboard.
A page that disappears without a submitted removal request can count. This is a count of recorded removal status, not proof that Kanary caused the removal. It is not a cumulative count of removal events: a result that becomes active again no longer counts. Date-filtered dashboard totals can differ from this account total.
An account with no active subscription and no credits stays "ACTIVE" and has no actions available. A scan request then returns 402 (error: no_actions) until your partner’s credit pool has a credit for that product.
{
"results": [
{
"account_id": 12345,
"status": "ACTIVE",
"is_admin": false,
"primary_email": "enduser@company.com",
"created_at": "2026-01-15T10:00:00.456789+00:00",
"terminated_at": null,
"removed": 12,
"members": [
{
"member_id": 67890,
"primary_name": "Bob Example",
"primary_email": "bob@example.com",
"status": "Complete",
"is_primary": true
}
]
},
{
"account_id": 11000,
"status": "TERMINATED",
"is_admin": false,
"primary_email": "redacted",
"created_at": "2025-11-01T09:00:00.000000+00:00",
"terminated_at": "2026-04-10T16:30:00.000000+00:00",
"removed": null,
"members": []
}
],
"count": 2,
"next": null,
"previous": null
}
| Status | Condition |
|---|---|
400 |
Invalid limit or offset |
403 |
Missing or invalid API key, or partner inactive |
GET /api/v1/partner/accounts/{account_id}/
Returns one account object. Terminated accounts are returned redacted.
| Status | Condition |
|---|---|
403 |
Missing or invalid API key, or partner inactive |
404 |
Account not found |
POST /api/v1/partner/accounts/{account_id}/send_onboarding_invite/
Sends the partner onboarding invite email to the account’s login address (primary_email). The partner admin linked to the API key is CC’d. Safe to call again to resend.
Account must have status "INVITED". Create invited accounts with POST /api/v1/partner/accounts/ and "status": "INVITED" (no email is sent on create).
No request body.
POST /api/v1/partner/accounts/12345/send_onboarding_invite/
200 OK){
"sent": true
}
| Status | Condition |
|---|---|
400 |
Account is not INVITED, is terminated, email send failed, or authenticated user has no linked account |
403 |
Missing or invalid API key, or partner inactive |
404 |
Account not found |
DELETE /api/v1/partner/accounts/{account_id}/
Permanently terminates the account and every member on it. All PII on the account and across all profiles is cleared. Deleted PII cannot be recovered.
DELETE /api/v1/partner/accounts/12345/?confirm=true
Omit confirm or any value other than true returns 400 Bad Request with a message explaining that deletion is irreversible and requires confirmation.
GET /api/v1/partner/accounts/ as a redacted terminated row.| Scope | Preserved metadata |
|---|---|
| Account | created_at, terminated_at |
| Members | Per-member created_at, terminated_at (one entry per deleted profile) |
| Exposures | Count of exposures found, aggregated across all members on the account |
| Sites | Domains / sites where information was found (no PII content) |
| Attributes | Count of profile attributes that were on the account (totals across members), not the attribute values |
200 OK){
"message": "Account deleted. All personally identifiable information for this account and every profile on it has been permanently cleared and cannot be recovered.",
"account_id": 12345,
"terminated_at": "2026-05-19T14:30:00Z",
"members_deleted_count": 1,
"metadata": {
"account": {
"created_at": "2026-01-15T10:00:00Z",
"terminated_at": "2026-05-19T14:30:00Z"
},
"members": [
{
"member_id": 67890,
"created_at": "2026-01-20T09:00:00Z",
"terminated_at": "2026-05-19T14:30:00Z"
}
],
"results_found_count": 120,
"profile_attributes_count": 12
}
}
Display message to the end user as the final confirmation after delete completes.
| Status | Condition |
|---|---|
400 |
confirm query parameter missing or not true |
404 |
Account not found |