Docs/API Reference/Connect: Apps

List PriceLabs connections with their health (provider pricelabs)

Connect Widget · GET /v1/connect/:provider

List PriceLabs connections with their health (provider pricelabs)

GET/v1/connect/:provider

Note

GET /v1/connect/pricelabs. `accounts[]` holds every PriceLabs connection of the workspace (one per key), revoked ones as `disconnected` with `health: null`. `health.status`: active (a successful price or minimum-stay push in 24 hours), idle (connected before, no push in 24 hours), failing (more than 25% of the last 24 hours' requests failed, at least 5), never_connected (PriceLabs has not used the key). `externalAccountId` is null: PriceLabs has no account id; `id` is the connection. GET /v1/connect lists active PriceLabs connections next to channels and PMSs.

Request

curl https://api.repull.dev/v1/connect/pricelabs \
  -H "Authorization: Bearer $REPULL_API_KEY"

Response

{
  "connected": true,
  "provider": "pricelabs",
  "host": null,
  "id": "523",
  "connectionId": "523",
  "status": "active",
  "externalAccountId": null,
  "accessType": "full_access",
  "createdAt": "2026-11-20T20:58:41.000Z",
  "accounts": [
    {
      "id": "523",
      "connectionId": "523",
      "provider": "pricelabs",
      "status": "active",
      "connected": true,
      "externalAccountId": null,
      "accessType": "full_access",
      "createdAt": "2026-11-20T20:58:41.000Z",
      "disconnectedAt": null,
      "label": "PriceLabs: beach houses",
      "keyMasked": "sk_live_4eB3...XYZw",
      "scope": "workspace",
      "listingIds": null,
      "listingCount": 12,
      "action": null,
      "fixUrl": null,
      "import": null,
      "health": {
        "status": "active",
        "lastRequestAt": "2026-11-21T08:58:12.000Z",
        "lastSuccessfulWriteAt": "2026-11-21T08:58:12.000Z",
        "writesPerDay": [
          { "date": "2026-11-15", "writes": 0 }, { "date": "2026-11-16", "writes": 14 }, { "date": "2026-11-17", "writes": 12 },
          { "date": "2026-11-18", "writes": 12 }, { "date": "2026-11-19", "writes": 13 }, { "date": "2026-11-20", "writes": 12 },
          { "date": "2026-11-21", "writes": 6 }
        ],
        "requests24h": 40, "errors24h": 1, "errorRate24h": 0.025,
        "requests7d": 260, "errors7d": 3, "errorRate7d": 0.012,
        "recentErrors": [
          { "at": "2026-11-21T03:12:44.000Z", "method": "GET", "endpoint": "/calendar/", "statusCode": 404, "message": "Request failed" }
        ]
      }
    }
  ]
}
AI