List a connection's imports

Connect Widget · GET /v1/connections/:id/imports

List a connection's imports

GET/v1/connections/:id/imports

Note

The import runs of one connected account, newest first: the first sync after connecting, a room or unit mapped later, a reconnect, a re-sync. id is "{provider}:{externalAccountId}" from GET /v1/connect (or the account on an account.* webhook), e.g. booking_extranet:36 or hostaway:61234. A run is running until every stage has finished, then completed (outcome complete, or partial when some units failed) or failed (reason: needs_permissions, duplicate_account, stalled, …). Optional limit (1-100, default 20). Guide: /docs/imports

Request

curl https://api.repull.dev/v1/connections/hostaway:61234/imports \
  -H "Authorization: Bearer $REPULL_API_KEY"

Response

{
  "data": [
    {
      "id": "7f0c2a9e-3b1d-4c55-9a8e-2d6f1b0c4e71",
      "status": "completed",
      "trigger": "connect",
      "outcome": "complete",
      "reason": null,
      "startedAt": "2026-10-16T18:24:19Z",
      "lastActivityAt": "2026-10-16T18:29:23Z",
      "completedAt": "2026-10-16T18:29:23Z",
      "stages": [
        { "name": "account", "expected": 1, "done": 1, "failed": 0 },
        { "name": "enrich", "expected": 1, "done": 1, "failed": 0 },
        { "name": "reservations", "expected": 9, "done": 9, "failed": 0 },
        { "name": "reviews", "expected": 1, "done": 1, "failed": 0 }
      ],
      "counts": { "listings": 1, "reservations": 219, "reviews": 100 }
    }
  ],
  "pagination": { "next_cursor": null, "has_more": false, "total": 1 }
}
AI