Infers the enrollment target application for a directory import from the source config.
Walks the config's inbound doorways (manual channel bindings and active messaging endpoints) to the active messaging entry points they materialized, and returns the owning application(s). When the config feeds exactly one application, it is returned as the suggestion the sync wizard pre-answers with; zero or several candidates leave the suggestion empty and the UI shows a picker. The tenant's Default application is never suggested by fallback — only when the config explicitly routes to it.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The tenant identifier
Query Parameters
The tenant integration config the import would enumerate.
uuidResponse Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/directory/importTarget"{
"suggestedNetworkId": "00000000-0000-0000-0000-000000000000",
"suggestedNetworkName": "string",
"candidates": [
{
"networkId": "00000000-0000-0000-0000-000000000000",
"name": "string",
"isDefault": false
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Undoes the enrollment an earlier import performed — the imported contacts stay in the Directory.
The safety net for a sync that enrolled the wrong cohort. It withdraws every `Served` grant that run authored <b>and still owns</b> — a grant somebody has since blocked, switched to humans-only or re-enrolled by hand belongs to that operator now and is reported as left alone, never steamrolled — and hands the transports it took over back to the provider's own bot. Contacts, environments and any operator edits to them are untouched: this reverses "the agent answers these people", not the import. Like the import it enqueues a job and returns `202 Accepted`; poll the returned run. Rejected with `400` when the source run granted nothing, and `409` when it is still sweeping or has already been undone.
Lists the workspace's periodic sync policies, newest first.
Each entry carries the policy plus the bookkeeping that answers whether it is actually running: when it last enqueued, which run that was, when it is next due, and the reason the last tick failed if it did. A policy whose `lastError` is set has stopped producing runs and needs attention — that is the failure a periodic job hides best.