The primary member is created with the account (Create account). Add more members, such as family members, to an existing account with POST /api/v1/partner/members/. When the account is full, that call takes a family add-on seat from your seat inventory.
| Resource | Path | Purpose |
|---|---|---|
| Members (collection) | /api/v1/partner/members/ |
GET paginated profile summaries, optionally for one account (List members); POST add a member to an existing account (Add a family member) |
| Member | /api/v1/partner/members/{member_id}/ |
GET full profile (Retrieve one member); PATCH birth fields (Update one member); DELETE one profile (Delete a member) |
| Profile attributes | /api/v1/partner/members/{member_id}/names/ and the other nested routes |
Add or remove names, addresses, emails, phone numbers, usernames, and employers (Add or remove profile attributes) |
| Member scans | /api/v1/partner/members/{member_id}/scans/ |
GET scan schedule, in-progress jobs, and completed scan history (Scans) |
| Member scan requests | /api/v1/partner/members/{member_id}/scan_requests/ |
POST spend one on-demand credit and queue a scan; GET the member’s scan requests (Scan API) |
| Member exposures | /api/v1/partner/members/{member_id}/exposures/ |
GET paginated exposures for one profile (Exposure API) |
Each object in an account’s members and each row in GET /api/v1/partner/members/ → results uses this summary.
| Field | Type | Description |
|---|---|---|
member_id |
integer | Profile (member) id |
primary_name |
string | Display name |
primary_email |
string | null | Primary email when set |
status |
string | Profile completeness, e.g. "Complete" |
is_primary |
boolean | true for the primary member on the account. The member created with the account is true. Members added with POST /api/v1/partner/members/ are false unless the request sets it |
profile_threat_score |
number | Beta only. Member-level threat score (Threat score API). Returned only to partners in the threat score beta; omitted otherwise |
account_id |
integer | Present on GET /api/v1/partner/members/ only — the account this profile belongs to |
These fields are sent on POST /api/v1/partner/accounts/ beside email and product_id. email on that call is the account login. The fields below are the member profile. For a subscription product, birth_year, names, and addresses are required. For an on-demand product they are optional, but a Trial Scan needs a phone number, or a name and an address, to search on.
Nested attribute POST bodies and POST /api/v1/partner/members/ use the same shapes. The member is returned on account create (201).
{
"birth_year": 1980,
"names": [
{ "first_name": "Bob", "last_name": "Example", "no_middle_name": true }
],
"addresses": [
{ "city": "New York City", "state": "NY", "country": "US" }
],
"emails": [
{ "email": "bob@example.com" }
]
}
By sending an email or phone number, you agree you have verified that the end user owns it. In v1, Kanary does not provide phone or email verification endpoints.
Submit addresses that are already valid and acceptable for scanning.
emails — each item is { "email": "<address>" }:
| Rule | Detail |
|---|---|
| Validator | Must be a valid email address |
| Format | Must be a valid email address shape (e.g. user@example.com); not a display name, not a bare domain |
| Normalization | Stored lowercase in Kanary (local@Example.com → local@example.com) |
| Duplicates | Rejected if the same address already exists on that member |
phone_numbers — each item is { "phone_number": "<e164>" }:
| Rule | Detail |
|---|---|
| Validator | Must be a valid international phone number |
| Format | International / E.164: leading +, country code, then national number (e.g. +17015551234, +14155552671) |
| Validity | Must be a valid number for its region; national-only strings without country code (e.g. 7015551234) typically fail |
| Duplicates | Rejected if the same number already exists on that member |
"emails": [{ "email": "bob@example.com" }],
"phone_numbers": [{ "phone_number": "+17015551234" }]
{
"birth_year": 1980,
"birth_month": 6,
"birth_day": 15,
"names": [
{
"first_name": "Bob",
"last_name": "Example",
"middle_name": "Q",
"suffix": "Jr",
"no_middle_name": false,
"is_primary": true
}
],
"addresses": [
{
"street_address": "123 Main St",
"unit": "4B",
"city": "New York City",
"state": "NY",
"postal_code": "82230",
"country": "US",
"is_primary": true
}
],
"phone_numbers": [{ "phone_number": "+17015551234" }],
"emails": [{ "email": "bob@example.com" }],
"usernames": [{ "username": "bob_example" }],
"employers": [{ "employer": "Acme Corp", "industry": "Tech and Engineering" }]
}
400 Bad Request with field errors, for example:
| Input | Typical error |
|---|---|
| Invalid ISO country on address | country: must be valid ISO3166 alpha-2 |
US/GB address without state |
state: required for US/GB |
| Invalid US/GB state code | state: must be valid state/region code |
| Name < 2 characters | first_name / last_name validation |
Middle name missing when no_middle_name is false |
middle_name: required |
Both middle_name and no_middle_name: true |
conflicting middle name flags |
| Invalid email format | emails / email: Enter a valid email address |
| Duplicate email on member | Email already exists for member |
| Invalid or non-international phone | phone_numbers / phone_number: phonenumber validation error |
GET /api/v1/partner/members/
Returns a paginated list of active member summaries. Pass account_id to list the members on one account. See Pagination.
| Param | Default | Max | Description |
|---|---|---|---|
account_id |
— | — | Only members on this account. An account outside your partner returns an empty list |
limit |
100 |
250 |
Members per page (Pagination) |
offset |
0 |
— | Starting index into the member list |
GET /api/v1/partner/members/?account_id=22392&limit=100&offset=0
200 OK){
"count": 1,
"next": null,
"previous": null,
"results": [
{
"account_id": 22392,
"member_id": 67890,
"primary_name": "Bob Example",
"primary_email": "bob@example.com",
"status": "Complete",
"is_primary": true
}
]
}
| Status | Condition |
|---|---|
400 |
Invalid limit or offset |
403 |
Missing or invalid API key, or partner inactive |
POST /api/v1/partner/members/
Adds a member to an existing account, for example a family member of the account holder. The body is account_id plus the profile fields.
Each account has a member limit. If the account has room, the member is added without taking a seat. If the account is full, Kanary takes one family add-on seat from your inventory and raises the account’s limit by one. The add-on product matches the account’s subscription. The add-on seat appears as occupied in GET /api/v1/partner/seats/. This call does not charge. If no add-on seat is available, the call returns 402 and nothing is created.
| Field | Required | Type | Description |
|---|---|---|---|
account_id |
Yes | integer | Account to add the member to. Must belong to your partner and must not be terminated |
birth_year |
Yes | integer | Same rules as Profile fields |
birth_month |
No | integer | null | 1–12 |
birth_day |
No | integer | null | 1–31 |
names |
Yes | array | At least one name |
addresses |
Yes | array | At least one address |
emails |
Yes | array | At least one email. See Emails and phone numbers |
phone_numbers, usernames, employers |
No | array | Same shapes as Full profile |
is_primary |
No | boolean | Default false. Leave unset for family members |
POST /api/v1/partner/members/
Content-Type: application/json
Authorization: Bearer <api_key>
{
"account_id": 12345,
"birth_year": 1990,
"names": [
{ "first_name": "Jane", "last_name": "Example", "no_middle_name": true }
],
"addresses": [
{ "city": "New York City", "state": "NY", "country": "US" }
],
"emails": [
{ "email": "jane@example.com" }
]
}
201 Created)Returns the full member, the same shape as GET /api/v1/partner/members/{member_id}/. Add more profile data afterward with the nested attribute routes.
{
"member_id": 67891,
"account_id": 12345,
"is_primary": false,
"primary_name": "Jane Example",
"status": "Complete",
"birth_year": 1990,
"birth_month": null,
"birth_day": null,
"names": [
{ "id": 112, "suffix": null, "first_name": "Jane", "middle_name": null, "last_name": "Example", "no_middle_name": true, "is_preferred": true }
],
"addresses": [
{ "id": 334, "street_address": null, "unit": null, "city": "New York City", "state": "NY", "postal_code": null, "country": "US", "is_primary": true }
],
"phone_numbers": [],
"emails": [
{ "id": 223, "email": "jane@example.com", "is_primary": true }
],
"usernames": [],
"employers": []
}
| Status | Condition |
|---|---|
400 |
account_id missing, or the account does not belong to your partner; account is terminated (account_id: Cannot add a member to a terminated account.); birth_year missing or invalid; names, addresses, or emails missing or empty; profile field validation errors. Also 400 with a detail message when the account is full and has no subscription, its subscription has no family add-on product, or your contract has no plan for that add-on |
402 |
The account is full and no family add-on seat is available (error: insufficient_seats). Buy add-on seats in the admin dashboard at purchase_seats_url and retry |
403 |
Missing or invalid API key, or partner inactive |
{
"error": "insufficient_seats",
"detail": "No available seats for this product. Purchase seats in the admin dashboard before creating accounts. Pay-as-you-go via the API is coming soon.",
"product": "Advanced Additional Member",
"product_id": 412,
"available": 0,
"purchase_seats_url": "https://my.kanary.com/dashboard/settings/admin"
}
GET /api/v1/partner/members/{member_id}/
Resolve {member_id} from List members, results[].members[].member_id on GET /api/v1/partner/accounts/, or the account-create response.
| Status | Condition |
|---|---|
403 |
Missing or invalid API key, or partner inactive |
404 |
Member not found |
Returned on GET /api/v1/partner/members/{member_id}/, and PATCH /api/v1/partner/members/{member_id}/ (200). Read-only; not accepted on create or update requests.
| Field | Description |
|---|---|
is_primary |
true for the primary member on the account. The member created with the account is true. Members added with POST /api/v1/partner/members/ are false unless the request sets it |
profile_threat_score |
Beta only. Normalized threat score for this profile (numeric). Returned only to partners in the threat score beta; omitted otherwise |
PATCH /api/v1/partner/members/{member_id}/
Accepts only scalar birth fields (birth_year, birth_month, birth_day). Sending any other field (e.g. names, addresses) returns 400 Bad Request. Use the nested attribute endpoints to update other profile data.
Success: 200 OK with the updated member body (same shape as retrieve).
| Status | Condition |
|---|---|
400 |
Invalid birth fields, or unrecognised fields sent in the request body |
403 |
Missing or invalid API key, or partner inactive |
404 |
Member not found |
DELETE /api/v1/partner/members/{member_id}/
Requires ?confirm=true. Clears all PII immediately (not recoverable), returns a confirmation message, and preserves metadata only. Does not delete sibling profiles on the account. Deleting the whole account clears PII across every profile (Delete an account). You must have at least one primary member associated with an account for it to be active, you will not be able to delete the primary member and instead should delete the account object.
DELETE /api/v1/partner/members/67890/?confirm=true
Send confirm=true only after the end user has explicitly agreed in your UI — never hard-code it.
200 OK){
"message": "Member deleted. All personally identifiable information has been permanently cleared and cannot be recovered.",
"member_id": 67890,
"terminated_at": "2026-05-19T14:30:00Z",
"metadata": {
"account": {
"account_id": 12345,
"created_at": "2026-01-15T10:00:00Z",
"terminated_at": null
},
"member": {
"created_at": "2026-01-20T09:00:00Z",
"terminated_at": "2026-05-19T14:30:00Z"
},
"results_found_count": 42,
"profile_attributes_count": 5
}
}
| Status | Condition |
|---|---|
400 |
confirm query parameter missing or not true |
404 |
Member not found |
Nested routes (under /api/v1/partner/members/{member_id}/):
| Resource | List | Add | Update | Remove |
|---|---|---|---|---|
| Names | GET .../names/ |
POST .../names/ |
(none) | DELETE .../names/{name_id}/ |
| Emails | GET .../emails/ |
POST .../emails/ |
(none) | DELETE .../emails/{email_id}/ |
| Addresses | GET .../addresses/ |
POST .../addresses/ |
(none) | DELETE .../addresses/{address_id}/ |
| Phone numbers | GET .../phone_numbers/ |
POST .../phone_numbers/ |
(none) | DELETE .../phone_numbers/{id}/ |
| Usernames | GET .../usernames/ |
POST .../usernames/ |
(none) | DELETE .../usernames/{id}/ |
| Employers | GET .../employers/ |
POST .../employers/ |
(none) | DELETE .../employers/{id}/ |
| Scans | GET .../scans/ |
(none) | (none) | (none) |
| Exposures | GET .../exposures/ |
(none) | (none) | (none) |
POST bodies use the same field shapes as in Profile fields (e.g. first_name / last_name for names). See Scans for GET .../scans/ and Exposure API for GET .../exposures/.
Success: 201 Created on POST. Attribute DELETE behavior is described below.
DELETE on nested routes (.../names/{id}/, .../addresses/{id}/, emails, phone numbers, usernames, employers) is not a silent field removal. In-progress exposures depend on the PII they were found with.
When an attribute is deleted, any in-progress exposure tied to that profile and the old information is deleted. Kanary does not keep that PII, so those exposures are no longer worked.
Members cannot have an account without the minimum data required. If you try to delete PII that would leave an account in an empty state, you will see an error.
DELETE /api/v1/partner/members/67890/names/111/?confirm=true
Omit confirm or any value other than true returns 400 Bad Request with an explanation of the delete behavior and required acknowledgements.
200 OK){
"message": "Attribute removed. Active exposures tied to the previous information have been deleted. Add updated PII and run a new scan to find and mitigate exposures under the new profile data.",
"attribute_type": "name",
"attribute_id": 111,
"exposures_deleted_count": 3
}
Only 1 attribute can be primary in each category; setting a new attribute to is_primary: true flips the old one to false.
Set is_primary on POST when adding a record, or call the set_primary action on an existing one:
POST /api/v1/partner/members/67890/addresses/
{
"street_address": "123 Main St",
"city": "New York City",
"state": "NY",
"country": "US",
"is_primary": true
}
POST /api/v1/partner/members/67890/names/111/set_primary/
POST /api/v1/partner/members/67890/addresses/333/set_primary/
POST /api/v1/partner/members/67890/emails/222/set_primary/
Setting is_primary: true on one name, email, or address makes that record the profile’s preferred name, primary email, or most recent/active address.
DELETE is rejected with 400 if it would leave the profile without at least one of each required attribute. The email minimum applies only to primary members (accounts require a primary member to have a contact email; secondary profiles may delete their last email).
GET /api/v1/partner/members/{member_id}/scans/
A paginated list of scans, one row per site scan. Retries of the same scan collapse into one row. Rows can be scheduled, in_progress, success, or failure. See Pagination.
Subscription products scan on a built-in cadence (Product API). Queue an on-demand scan with the Scan API.
| Param | Default | Max | Description |
|---|---|---|---|
limit |
100 |
250 |
Scan jobs per page (Pagination) |
offset |
0 |
— | Starting index into the scan history |
GET /api/v1/partner/members/67890/scans/?limit=50&offset=0
200 OK){
"member_id": 67890,
"next_scan_date": "2026-05-22T08:00:00Z",
"count": 3,
"next": null,
"previous": null,
"results": [
{
"id": "job-uuid-3",
"site_id": 12,
"site_domain": "site.domain",
"status": "in_progress",
"created_at": "2026-05-21T09:00:00Z",
"completed_at": null
},
{
"id": "job-uuid-1",
"site_id": 12,
"site_domain": "site.domain",
"status": "success",
"created_at": "2026-05-18T10:00:00Z",
"completed_at": "2026-05-18T10:42:00Z"
},
{
"id": "job-uuid-2",
"site_id": 45,
"site_domain": "site.domain",
"status": "failure",
"created_at": "2026-05-15T14:00:00Z",
"completed_at": "2026-05-15T14:05:00Z"
}
]
}
| Field | Type | Description |
|---|---|---|
member_id |
integer | Profile queried |
next_scan_date |
string (ISO 8601, UTC) | null | The earliest date the member is eligible for another scan, across the sites they have been scanned on, based on each site’s scan frequency. null when no site has a scan frequency set, including before the member’s first scan |
count |
integer | Total scans for this member |
next |
string | null | URL for the next page, or null |
previous |
string | null | URL for the previous page, or null |
results |
array | Current page of scans |
Each entry in results:
| Field | Type | Description |
|---|---|---|
id |
string (UUID) | Scan id. Stays the same across retries |
site_id |
integer | Site the job ran against (Site API) |
site_domain |
string | Domain of the site (e.g. site.domain) |
status |
string | scheduled (waiting to run), in_progress (queued or running), success, or failure |
created_at |
string (ISO 8601, UTC) | When the scan job was created |
completed_at |
string (ISO 8601, UTC) | null | When the scan finished; null while status is scheduled or in_progress |
results is ordered newest created_at first. Follow next until it is null to retrieve full history.
| Status | Condition |
|---|---|
400 |
Invalid limit or offset |
403 |
Missing or invalid API key, or partner inactive |
404 |
Member not found |