Overview
The HeyX external API exposes workspace-scoped CRM, operations, and workspace administration methods for integrations. A tools-only Workspace MCP connection is available for supported AI clients.
Public methods use Connect JSON request bodies. Both public methods and MCP authenticate with a creator-bound workspace API key.
Base URL
Section titled “Base URL”https://your-heyx-host/public-apiConnections
Section titled “Connections”- Public API generated reference
- Authentication and exact scopes
- Workspace MCP setup and tool catalog
- Versioning and deprecation policy
Dedicated endpoint guides are organized in the sidebar for workspace context, customers, data fields, problems, work orders, members, roles, teams, invitations, correspondence, events, and advanced tasks. Guides also cover literal record search, problem/work-order templates, stock and receiving, administrative roles, and content-template catalogs and constrained drafts.
Errors
Section titled “Errors”A failed call returns a standard Connect error: code is the Connect code
(invalid_argument, not_found, failed_precondition, aborted, …) and
message is a plain, human-readable sentence.
{ "code": "invalid_argument", "message": "customer_id is required"}The method’s own reason, when it is more specific than the code (for example
invalid_cursor or unsupported_flow), is in the Heyx-Error-Reason response
header. Server-side failures return internal or unavailable without
details.
Record access
Section titled “Record access”Every method acts with the access of the API key’s creator: their customer access and the customer View of their roles, whose timeline follows the roles’ menu items. A customer’s comments, documents, photos, correspondence, quotes, orders, payments, refunds, invoices, pro-formas, appointments, work orders, problems and action requests are returned only when that View shows them; a problem also reaches its reporter and assignees.
Reading one record by its ID that the key cannot see answers not_found
(HTTP 404), exactly as when the record does not exist. Listing the records of a
customer the key can read but whose View hides them answers permission_denied
(HTTP 403).
Pagination
Section titled “Pagination”List methods return one page at a time. Send pageSize (each method documents
its default and maximum) and, after the first page, the previous response’s
nextCursor as cursor, keeping the other filters the same. An empty
nextCursor means the list is complete. Cursors are opaque, belong to the
method that returned them, and do not grant access: every page is read with the
API key’s current permissions. Some older list methods also accept page,
afterId or an offset; those keep working, but the cursor is the preferred way
to read every row.
Rate limits
Section titled “Rate limits”See Rate Limits for the current hard limits and expected behavior during sustained bursts of traffic.