Quickstart
Get a hauler's invoices into your code, get a webhook when they change, and let Claude Code read them over MCP.
The examples use curl and an invented portal, portal.example-hauler.test. Replace it with your own.
1. Open an account
Sign up with your work email and company name, then open the link Rover emails you. Your account comes with a team, and everything you connect belongs to it.
2. Create a token
In the console, open API & MCP and create a token. Copy it right away. Rover shows it once and keeps only a hash. A token lasts 90 days unless you choose another date, up to a year.
export ROVER_TOKEN="paste-your-token-here"
curl -H "Authorization: Bearer $ROVER_TOKEN" https://rover.waste.dev/v1/auth/meThe answer names your team in user.tenant. You need it for webhooks in step 6.
3. List portals
See which hauler portals Rover already knows.
curl -H "Authorization: Bearer $ROVER_TOKEN" https://rover.waste.dev/v1/portals{
"portals": [
{
"id": "7f3c2a90-5b1e-4d8a-9c61-2e4f8a1b0c33",
"label": "Example Hauler",
"host": "portal.example-hauler.test",
"loginUrl": "https://portal.example-hauler.test/login",
"enabled": true
}
]
}A portal that is not on the list still works. Rover learns it the first time it reads it.
4. Connect a login and start a run
Push the login you use for the portal. Rover stores it encrypted and never returns the password. customer is your name for whose login this is. A token must also name an account, your own label for the customer group the login belongs to. Use the same account and customer whenever you refer to this login.
curl -X POST https://rover.waste.dev/v1/credentials \
-H "Authorization: Bearer $ROVER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"portal": "https://portal.example-hauler.test/login",
"account": "main",
"customer": "site-14",
"username": "ap@example.com",
"password": "example-password"}'
curl -X POST https://rover.waste.dev/v1/runs \
-H "Authorization: Bearer $ROVER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"portal": "https://portal.example-hauler.test/login", "account": "main", "customer": "site-14"}'The run answers 202 with an id and "state": "queued". Follow it with GET /v1/runs/{id}/status. The first run on a new portal takes longer, because Rover learns the portal before it reads it.
5. Get the latest records
Ask for the newest reading of one record type. The path takes the portal's host.
curl -H "Authorization: Bearer $ROVER_TOKEN" \
"https://rover.waste.dev/v1/portals/portal.example-hauler.test/records?entity=vendor_invoices&customer=site-14&limit=1"{
"ok": true,
"tool": "latest_records",
"says": "as of 2026-09-24T06:10:00.000Z, coverage 92",
"answer": {
"asOf": "2026-09-24T06:10:00.000Z",
"coverage": 92,
"portal": "portal.example-hauler.test",
"customerId": "site-14",
"entity": "vendor_invoices",
"count": 1,
"records": [
{
"entity": "vendor_invoices",
"identityKey": "INV-20418",
"identity": "vendor",
"values": {
"invoice_number": "INV-20418",
"invoice_date": "2026-09-01",
"due_date": "2026-09-30",
"total": "412.50",
"amount_due": "412.50",
"status": "open"
},
"documentSha256": "3b1f0c9e2d7a4b6c8e5f1a2d3c4b5a69788e7d6c5b4a39281706f5e4d3c2b1a0"
}
]
}
}asOf is when Rover read the portal and coverage is how complete that reading was, out of 100. Records covers the other reads: history, changes and search.
6. Set a webhook
Subscribe to the portal. Use the same portal, account and customer you start runs with, and your team from step 2 as tenantId. userId is your own label for who the events are for. The URL must be HTTPS on a public address.
curl -X POST https://rover.waste.dev/v1/subscriptions \
-H "Authorization: Bearer $ROVER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"portal": "https://portal.example-hauler.test/login",
"account": "main",
"customer": "site-14",
"subscriber": {"userId": "ap-team", "tenantId": "your-team"},
"channel": {"kind": "webhook", "url": "https://your-app.example.com/rover"}}'The answer includes secret. Store it now. Rover shows it only once, and you need it to verify each delivery.
7. Connect Claude Code
Add Rover as an MCP server. Claude Code signs in with OAuth, so you don't paste a token.
claude mcp add --transport http rover https://rover.waste.dev/v1/mcpThen run /mcp in Claude Code, pick rover and sign in. Your browser opens the Rover console, where you approve the app for your team. Now ask it something, such as "What changed on portal.example-hauler.test this week?"
The app gets the same tools your role allows, except creating tokens, inviting people and changing roles. You can disconnect it at any time under API & MCP. To use a token instead, see Authentication.