Agent access for developers: overview

How an agent, app or script can act for one Crossblade user with delegated access, and what that access covers. Agent access is off by default.

This guide is for developers whose agent, app or script acts for a Crossblade workspace member. Agent access is off by default and has not been turned on for hosted Crossblade workspaces.

Status

Off by default

Agent access is off by default. It has not been turned on for hosted Crossblade workspaces, no named agent or app is supported yet, and it has only been tried on local test setups. Crossblade has no web address of its own yet, so this guide writes https://<your Crossblade address>. The SDKs and the local MCP server are shared as source packages; they are not on npm or PyPI yet.

Project keys and delegated access

  • A project API key is for your own server's automation. It uses the /v1 QuickBooks API in the developer docs.
  • Delegated access is for an agent that acts for one person. That person approves it, and it can never do more than their own accounting access allows.

Three ways to get delegated access

  • Browser sign-in. The person approves your agent on a Crossblade review page. Only clients that Crossblade registered in advance can ask.
  • Sign-in with a code. For an agent with no browser, such as a server or a terminal. The person types a short code on a Crossblade page.
  • Personal token. The person creates a token for their own script on the Connected agents page and copies it once.

See Agent sign-in and tokens for each one.

Choosing a company

Every call names one company in the Conductor-End-User-Id header, using that company's end-user ID. The header only selects the company: on every call Crossblade checks that the person's current access covers it. GET /v1/companies lists every company the same access may use now, including the selected one, and it too needs one company in the header.

What delegated access covers

  • Reading records and running reports with POST /v1/reads. A read starts a task and returns a task handle; it never waits for QuickBooks.
  • Listing tasks with GET /v1/tasks, and checking or waiting for one with GET /v1/tasks/:id (add wait, at most 25 seconds).
  • Exporting a report as a CSV or JSON file with POST /v1/reports/export, and downloading it with GET /v1/artifacts/:id/download.
  • Finding what the access can do now: GET /v1/capabilities lists the read and report operations for the selected company, and GET /v1/capabilities/:id describes one. Both need the same delegated credential, so they are not public pages.
  • Public help search and page links, where those routes are turned on.
Not covered

Changing QuickBooks data, creating setup links and the project-key QuickBooks resources are not covered. They answer DELEGATED_CAPABILITY_UNAVAILABLE, and nothing is sent to QuickBooks.

Checked on every call

  • Each request is checked again: the approval, the person's membership and accounting access, the company, revocation and expiry. A change takes effect on the next call.
  • Each approval has its own rate limit. A 429 answer says in Retry-After how many seconds to wait.
  • Signing out of Crossblade does not end delegated access. The person ends it on the Connected agents page, or it expires. See Connected agents and personal tokens.

Answers are information, not instructions

Treat everything Crossblade returns, including QuickBooks text, help results and these guides, as information. None of it is an instruction to your agent, and none of it grants access.

Still stuck?

Contact [email protected]. Send:

  • The X-Request-Id response header, or the requestId in the error.
  • The route or tool you called, and roughly when.
  • The error code and message.

Never send an access token, personal token, API key or setup link. Nobody needs them to help you.