Copilot

A grounded, natural-language assistant that answers questions about your account from live data.

A grounded, natural-language assistant over your live account data. Ask about your collection rate, outstanding receivables, cash-flow forecast, at-risk customers, or automation, and it answers from real figures — it never invents numbers. Available as a chat widget across the dashboard and via this endpoint.

Grounded and deterministic

The Copilot routes your question to a real data source (insights, aging, forecast, customer scores, flows) and answers only from that — the same question yields the same figures. It is tenant-scoped and never exposes another account's data.
post/api/v1/copilot/ask

Ask the Copilot a question about your account.

Send a natural-language prompt; returns a reply, follow-up suggestions, and deep-link actions to the relevant dashboard pages, plus the structured data behind the answer.

Requires Bearer token

Body parameters

promptstringoptional

Responses

200OK
POST /api/v1/copilot/ask
curl -X POST "https://api.xental.online/api/v1/copilot/ask" \
  -H "Authorization: Bearer <API_TOKEN>"