Managed customers endpoints
Per-customer scoping for teams that manage several client estates. Business plan.
Endpoints
Paths are under https://threatcluster.io/api/public/v1. Cost is credits per call.
| Method | Path | Cost | Scope |
|---|---|---|---|
| POST | /mssp/customers | 1 | mssp:write |
| GET | /mssp/customers | 1 | mssp:read |
| PATCH | /mssp/customers/{customer_id} | 1 | mssp:write |
| POST | /mssp/customers/{customer_id}/feed | 1 | mssp:write |
| PATCH | /mssp/customers/{customer_id}/feed/{feed_uuid} | 1 | mssp:write |
| GET | /mssp/customers/{customer_id}/feed/{feed_uuid}/keywords | 1 | mssp:read |
| PUT | /mssp/customers/{customer_id}/feed/{feed_uuid}/keywords | 1 | mssp:write |
POST /mssp/customers
Create a managed customer (programmatic onboarding)
1 credit per call · scope mssp:write
Create a managed customer under your account (Business plan). Managed customers are enabled per account: the number of active customers you may hold is set for your account after a short call, and a 403 with error: managed_customers_not_enabled or managed_customer_limit_reached (plus limit and contact_url) tells you when to talk to us. The returned id is the mssp_customer_id you pass to the feeds / alerts / assets / alerts-fired endpoints. This is the write path that lets a platform sync its client roster without manual UI setup.
Request body · MsspCustomerCreate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string | yes | Customer display name (required). |
| domain | string or null | no | Primary domain, e.g. acme.com. Used for matching/branding. |
| contact_email | string or null | no | Contact address for this customer (optional). |
| sector | string or null | no | Client industry/sector. When set, the dark-web trends widgets auto-scope to it for this client (use values from /darkweb/ransomware/victims/facets). |
| country | string or null | no | Client country/region (ISO-2 or name). |
| notes | string or null | no | Free-text notes (optional). |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
-H "Content-Type: application/json" -d '{"contact_email":"[email protected]","country":"GB","domain":"acme.com","name":"Acme Ltd","notes":"Onboarded via platform sync","sector":"Financial Services"}' \
"https://threatcluster.io/api/public/v1/mssp/customers" Response fields
Returns 200. 403 with error managed_customers_not_enabled or managed_customer_limit_reached when the account cannot add one; 409 if it could not be created.
| Field | Type | Meaning |
|---|---|---|
| id | integer | The value to pass as mssp_customer_id |
| uuid | string | Customer UUID |
| name | string | Customer name |
| domain | string or null | Customer domain |
| sector | string or null | Customer sector |
| country | string or null | Customer country |
| is_active | boolean | Whether the customer is active |
| created_at | string or null | ISO-8601, when the customer was created |
GET /mssp/customers
List your managed customers (to discover mssp_customer_id)
1 credit per call · scope mssp:read
List the managed customers under your account (Business plan). The id field is the value to pass as mssp_customer_id on the feeds, alerts, assets and alerts-fired endpoints.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| search | query | string or null | no | Only customers whose name matches this text. | |
| limit | query | integer | no | 50 | Rows per page, up to 100. |
| offset | query | integer | no | 0 | Rows to skip, for paging. |
Request
curl -H "X-API-Key: $TC_KEY" \ "https://threatcluster.io/api/public/v1/mssp/customers"
Response fields
An account with no managed-customer organisation gets an empty list rather than a 404.
| Field | Type | Meaning |
|---|---|---|
| customers | array | Your managed customers |
| customers[].id | integer | The value to pass as mssp_customer_id |
| customers[].uuid | string | Customer UUID |
| customers[].name | string | Customer name |
| customers[].domain | string or null | Customer domain |
| customers[].sector | string or null | Customer sector |
| customers[].country | string or null | Customer country |
| customers[].is_active | boolean | False once deactivated |
| customers[].created_at | string or null | ISO-8601, when the customer was created |
| total | integer | All customers in the organisation |
| limit | integer | Page size applied (100 at most) |
| offset | integer | Rows skipped |
PATCH /mssp/customers/{customer_id}
Update or deactivate a managed customer
1 credit per call · scope mssp:write
Update a managed customer (name / domain / contact_email / notes) or deactivate it ("is_active": false) for offboarding. customer_id is the integer id from the customers list. Ownership is validated against your account. Send only the fields you want to change.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| customer_id | path | integer | yes | Managed customer id, from GET /mssp/customers. |
Request body · MsspCustomerUpdate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string or null | no | New display name. |
| domain | string or null | no | New primary domain. |
| contact_email | string or null | no | New contact address. |
| sector | string or null | no | New sector/industry (auto-scopes trends widgets). |
| country | string or null | no | New country/region. |
| notes | string or null | no | New notes. |
| is_active | boolean or null | no | Set false to deactivate/offboard the customer (soft-delete; cascades to its scoped feeds, alert rules, webhooks and digests: deactivated, not purged). Reactivation is not available via the API. |
Request
curl -H "X-API-Key: $TC_KEY" -X PATCH \
-H "Content-Type: application/json" -d '{"is_active":false,"name":"Acme Ltd (renamed)"}' \
"https://threatcluster.io/api/public/v1/mssp/customers/{customer_id}" Response fields
Sending "is_active": false deactivates the customer and returns its record with is_active false. Reactivation is not possible through the API.
| Field | Type | Meaning |
|---|---|---|
| id | integer | The value to pass as mssp_customer_id |
| uuid | string | Customer UUID |
| name | string | Customer name |
| domain | string or null | Customer domain |
| sector | string or null | Customer sector |
| country | string or null | Customer country |
| is_active | boolean | Whether the customer is active |
| created_at | string or null | ISO-8601, when the customer was created |
POST /mssp/customers/{customer_id}/feed
Create a monitoring feed for a customer (with keywords)
1 credit per call · scope mssp:write
Create a monitoring feed scoped to one managed customer, seeded with keywords in a single call. Keywords cover the client's world for NEWS/CLUSTER matching: company names, brands, domains, supplier names, sector terms.
(A customer's products and software go in through PUT /api/public/v1/assets with the same mssp_customer_id; the import builds that customer's asset alert rules.)
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| customer_id | path | integer | yes | Managed customer id, from GET /mssp/customers. |
Request body · MsspCustomerFeedCreate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string | yes | Feed name (required). |
| keywords | array or null | no | Keywords to seed the feed with: company names, brands, domains, supplier names, sector terms. Matched against news clusters. |
| description | string or null | no | Optional feed description. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
-H "Content-Type: application/json" -d '{"description":"News/cluster monitoring for Acme + suppliers","keywords":["Acme","acme.com","Acme Payroll"],"name":"Acme monitoring"}' \
"https://threatcluster.io/api/public/v1/mssp/customers/{customer_id}/feed" Response fields
Returns 200. 409 if the feed could not be created (the name may already exist for that customer).
| Field | Type | Meaning |
|---|---|---|
| feed_id | string | UUID of the new feed |
| name | string | Feed name as stored |
| mssp_customer_id | integer | The customer the feed belongs to |
| keywords_added | integer | Keywords added |
PATCH /mssp/customers/{customer_id}/feed/{feed_uuid}
Rename / update a customer's monitoring feed
1 credit per call · scope mssp:write
Update a customer feed's name / description. Manage its keywords via the /keywords sub-resource. feed_uuid is the feed_id returned on create.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| customer_id | path | integer | yes | Managed customer id, from GET /mssp/customers. | |
| feed_uuid | path | string | yes | The customer's feed UUID, returned when the feed was created. |
Request body · MsspFeedUpdate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string or null | no | New feed name. |
| description | string or null | no | New description. |
Request
curl -H "X-API-Key: $TC_KEY" -X PATCH \
-H "Content-Type: application/json" -d '{"name":"Acme monitoring (updated)"}' \
"https://threatcluster.io/api/public/v1/mssp/customers/{customer_id}/feed/{feed_uuid}" Response fields
| Field | Type | Meaning |
|---|---|---|
| feed_id | string | Feed UUID |
| mssp_customer_id | integer | The customer the feed belongs to |
| updated | boolean | Always true |
GET /mssp/customers/{customer_id}/feed/{feed_uuid}/keywords
List a customer feed's keywords
1 credit per call · scope mssp:read
List the keywords currently on a customer feed.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| customer_id | path | integer | yes | Managed customer id, from GET /mssp/customers. | |
| feed_uuid | path | string | yes | The customer's feed UUID, returned when the feed was created. |
Request
curl -H "X-API-Key: $TC_KEY" \
"https://threatcluster.io/api/public/v1/mssp/customers/{customer_id}/feed/{feed_uuid}/keywords" Response fields
| Field | Type | Meaning |
|---|---|---|
| feed_id | string | Feed UUID |
| mssp_customer_id | integer | The customer the feed belongs to |
| keywords | array | Keywords on the feed (strings, stored lower-cased) |
| count | integer | Entries on the feed |
PUT /mssp/customers/{customer_id}/feed/{feed_uuid}/keywords
Set a customer feed's keywords (declarative sync)
1 credit per call · scope mssp:write
Declaratively set a feed's keywords to EXACTLY the provided set: adds new ones, removes any not listed. This is the "re-sync when the client's world changes" endpoint (new supplier added, product retired). Send the full desired list each time; the diff is computed server-side.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| customer_id | path | integer | yes | Managed customer id, from GET /mssp/customers. | |
| feed_uuid | path | string | yes | The customer's feed UUID, returned when the feed was created. |
Request body · MsspFeedKeywords
| Field | Type | Required | Meaning |
|---|---|---|---|
| keywords | array | yes | The complete desired keyword set for this feed. Missing keywords are removed; new ones are added. |
Request
curl -H "X-API-Key: $TC_KEY" -X PUT \
-H "Content-Type: application/json" -d '{"keywords":["Acme","acme.com","Acme Payroll","NewSupplier Ltd"]}' \
"https://threatcluster.io/api/public/v1/mssp/customers/{customer_id}/feed/{feed_uuid}/keywords" Response fields
Sets the feed to exactly the list sent: adds the new keywords and removes any not listed.
| Field | Type | Meaning |
|---|---|---|
| feed_id | string | Feed UUID |
| mssp_customer_id | integer | The customer the feed belongs to |
| keywords_added | integer | Keywords added |
| keywords_removed | integer | Keywords removed |
| total | integer | Distinct keywords in the list sent |
Errors
Errors are JSON with an error code and a message. A call refused for its key, scope or rate is not charged.
| Status | When |
|---|---|
| 400 | A parameter has the wrong form, for example invalid_since for a timestamp that is not ISO-8601. |
| 401 | The key is missing, wrong or revoked. |
| 403 insufficient_scope | The key lacks the scope this endpoint needs. The body names required_scope and the scopes the key has. |
| 403 lookback_exceeded | A free key asked for a record older than its 7-day window. |
| 404 | Nothing with that id. The credits are refunded and X-Request-Cost is 0. |
| 422 | The request body or a typed parameter failed validation; the body lists each field. |
| 429 | Too many calls a minute, or daily_budget_exceeded. Wait for the Retry-After seconds; the daily allowance refills at 00:00 UTC. |
Limits by plan
| Plan | Credits a day | Calls a minute | History | Rows a list |
|---|---|---|---|---|
| Free | 100 | 30 | Last 7 days | 10 |
| Starter | 1,000 | 120 | 90 days | 50 |
| Growth | 5,000 | 240 | Full archive | 100 |
| Business | 10,000, plus 10,000 per managed customer, pooled | 600 | Full archive | No cap |
Headers and credits are covered in conventions.
Standards and sources
FAQ
Which plan do I need?
Business. The mssp:read and mssp:write scopes are only on Business.
How do I act for one customer?
Pass mssp_customer_id (the id from GET /mssp/customers) on the feeds, alerts, assets and alerts-fired endpoints. Leave it out to act for your own workspace.
How are credits counted?
Business is a pooled budget: 10,000 credits a day for your own organisation plus 10,000 per managed customer.