FruxonDocs
Agent NetworkParticipants

Dry-runs a directory import — enumerates the integration's contacts and returns an aggregate report, writing nothing.

Reads the whole contact base of the given integration config through its `IParticipantDirectorySource`, runs each contact through the same environment resolver the live approve gate uses, and aggregates the result — how many contacts would affiliate with an environment, the standalone-vs-chain split, per-attribute coverage (e.g. how many carry a branch), and a sample of contacts that would stay unaffiliated. Use it to gauge data quality before running a real import.

GET
/v1/tenants/{tenant}/directory/importPreview
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

Query Parameters

integrationConfigId?string

The tenant integration config to enumerate (e.g. the TexterChat connection).

Formatuuid
provider?string

The provider/integration key to import from. Defaults to texterchat.

Default"texterchat"

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/directory/importPreview"
{
  "provider": "string",
  "totalContacts": 0,
  "contactsWithEnvironment": 0,
  "contactsUnaffiliated": 0,
  "contactsWithStableId": 0,
  "distinctEnvironments": 0,
  "standaloneEnvironments": 0,
  "chainedEnvironments": 0,
  "distinctChains": 0,
  "slotPresence": {},
  "labelCounts": {},
  "sampleUnaffiliatedAddresses": [
    "string"
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}