Talk with Archie
API reference › Integrations
Skills › Integrations

List the Caller's Connected Accounting Systems

POST/api/v1/skills/list.connections/invoke
Lists the accounting systems connected for your organisation and how their data syncs are doing. It takes no input. It returns the number found and, for each connection, the tenant name, type, status, last sync time and the written and failed counts for each entity, plus a note when there is nothing to show.
Returns

Skill executed successfully

skillstringRequired
Example list_connections
outputobjectRequired
output.stub_fieldsarray of strings
output.warningsarray of strings
output.foundinteger · default 0
Number of connections found for the caller's org
output.connectionsarray of objects
Per-connection status + per-entity sync_state (tenant name, connection type, status, last sync time, written/failed per entity).
output.notestring · default
Human-readable note (e.g. when no connections exist)
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALIDAuthentication required
403PERMISSION.CAPABILITY_DENIEDInsufficient permissions
404SKILL.NOT_FOUNDSkill not found
422VALIDATION.INVALID_FORMATValidation error
429RATE_LIMIT.USERRate limit exceeded
5XXINTERNAL.UNKNOWNInternal server error
curl https://uk.heyarchie.com/api/v1/skills/list.connections/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{}'
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "list.connections",
)
print(result)
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("list.connections", {});
console.log(result);
Response
{
  "skill": "list_connections",
  "output": {
    "connections": [
      {
        "connection_type": "xero",
        "last_sync_at": "2026-04-02T06:30:00Z",
        "status": "active",
        "sync_state": {
          "invoices": {
            "failed": 0,
            "written": 214
          }
        },
        "tenant_name": "Northwind Trading Ltd"
      }
    ],
    "found": 1,
    "note": "",
    "stub_fields": [],
    "warnings": []
  },
  "correlation_id": "<string>"
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}

Every response also carries X-Request-ID. Quote it if you write to us about a call.