Skip to content

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.

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

FieldTypeRequiredMeaning
namestringyesCustomer display name (required).
domainstring or nullnoPrimary domain, e.g. acme.com. Used for matching/branding.
contact_emailstring or nullnoContact address for this customer (optional).
sectorstring or nullnoClient industry/sector. When set, the dark-web trends widgets auto-scope to it for this client (use values from /darkweb/ransomware/victims/facets).
countrystring or nullnoClient country/region (ISO-2 or name).
notesstring or nullnoFree-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.

FieldTypeMeaning
idintegerThe value to pass as mssp_customer_id
uuidstringCustomer UUID
namestringCustomer name
domainstring or nullCustomer domain
sectorstring or nullCustomer sector
countrystring or nullCustomer country
is_activebooleanWhether the customer is active
created_atstring or nullISO-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

NameInTypeRequiredDefaultMeaning
searchquerystring or nullnoOnly customers whose name matches this text.
limitqueryintegerno50Rows per page, up to 100.
offsetqueryintegerno0Rows 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.

FieldTypeMeaning
customersarrayYour managed customers
customers[].idintegerThe value to pass as mssp_customer_id
customers[].uuidstringCustomer UUID
customers[].namestringCustomer name
customers[].domainstring or nullCustomer domain
customers[].sectorstring or nullCustomer sector
customers[].countrystring or nullCustomer country
customers[].is_activebooleanFalse once deactivated
customers[].created_atstring or nullISO-8601, when the customer was created
totalintegerAll customers in the organisation
limitintegerPage size applied (100 at most)
offsetintegerRows 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

NameInTypeRequiredDefaultMeaning
customer_idpathintegeryesManaged customer id, from GET /mssp/customers.

Request body · MsspCustomerUpdate

FieldTypeRequiredMeaning
namestring or nullnoNew display name.
domainstring or nullnoNew primary domain.
contact_emailstring or nullnoNew contact address.
sectorstring or nullnoNew sector/industry (auto-scopes trends widgets).
countrystring or nullnoNew country/region.
notesstring or nullnoNew notes.
is_activeboolean or nullnoSet 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.

FieldTypeMeaning
idintegerThe value to pass as mssp_customer_id
uuidstringCustomer UUID
namestringCustomer name
domainstring or nullCustomer domain
sectorstring or nullCustomer sector
countrystring or nullCustomer country
is_activebooleanWhether the customer is active
created_atstring or nullISO-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

NameInTypeRequiredDefaultMeaning
customer_idpathintegeryesManaged customer id, from GET /mssp/customers.

Request body · MsspCustomerFeedCreate

FieldTypeRequiredMeaning
namestringyesFeed name (required).
keywordsarray or nullnoKeywords to seed the feed with: company names, brands, domains, supplier names, sector terms. Matched against news clusters.
descriptionstring or nullnoOptional 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).

FieldTypeMeaning
feed_idstringUUID of the new feed
namestringFeed name as stored
mssp_customer_idintegerThe customer the feed belongs to
keywords_addedintegerKeywords 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

NameInTypeRequiredDefaultMeaning
customer_idpathintegeryesManaged customer id, from GET /mssp/customers.
feed_uuidpathstringyesThe customer's feed UUID, returned when the feed was created.

Request body · MsspFeedUpdate

FieldTypeRequiredMeaning
namestring or nullnoNew feed name.
descriptionstring or nullnoNew 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

FieldTypeMeaning
feed_idstringFeed UUID
mssp_customer_idintegerThe customer the feed belongs to
updatedbooleanAlways 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

NameInTypeRequiredDefaultMeaning
customer_idpathintegeryesManaged customer id, from GET /mssp/customers.
feed_uuidpathstringyesThe 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

FieldTypeMeaning
feed_idstringFeed UUID
mssp_customer_idintegerThe customer the feed belongs to
keywordsarrayKeywords on the feed (strings, stored lower-cased)
countintegerEntries 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

NameInTypeRequiredDefaultMeaning
customer_idpathintegeryesManaged customer id, from GET /mssp/customers.
feed_uuidpathstringyesThe customer's feed UUID, returned when the feed was created.

Request body · MsspFeedKeywords

FieldTypeRequiredMeaning
keywordsarrayyesThe 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.

FieldTypeMeaning
feed_idstringFeed UUID
mssp_customer_idintegerThe customer the feed belongs to
keywords_addedintegerKeywords added
keywords_removedintegerKeywords removed
totalintegerDistinct 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.

StatusWhen
400A parameter has the wrong form, for example invalid_since for a timestamp that is not ISO-8601.
401The key is missing, wrong or revoked.
403 insufficient_scopeThe key lacks the scope this endpoint needs. The body names required_scope and the scopes the key has.
403 lookback_exceededA free key asked for a record older than its 7-day window.
404Nothing with that id. The credits are refunded and X-Request-Cost is 0.
422The request body or a typed parameter failed validation; the body lists each field.
429Too 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

PlanCredits a dayCalls a minuteHistoryRows a list
Free10030Last 7 days10
Starter1,00012090 days50
Growth5,000240Full archive100
Business10,000, plus 10,000 per managed customer, pooled600Full archiveNo 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.