me query resolved as a
WorkspaceUser, so you must authenticate with a workspaceToken (see
Authentication). All requests go to:
There is no top-level
clients query. Clients belong to a workspace, so you read
them through me { ... on WorkspaceUser { workspace { clients(...) } } }. The
workspaceToken already identifies which workspace, so you never pass a
workspace ID.The Client type
Your own identifier for the client (for example the ID from your practice
management system). Unique within the workspace.
Background tasks for this client (binder ingestion, tax prep, and so on). See the
tasks API. Narrow with the
type, status, triggeredBy, and
limit arguments.Client type exposes more fields (binder, documents, conversations, and
others) than are listed here. This page covers the fields needed to create,
list, fetch, and add documents to clients.
Create a client
createClient creates a client and, optionally, kicks off binder ingestion for
any documents you have already staged (see Uploading
documents).
Input: CreateClientInput
Optional. Upload IDs from the upload endpoint. If
provided, Filed ingests these documents into the new client’s binder and returns
a
taskId you can track. Pass every upload for the client in one call: each
call starts an ingestion task of its own.Optional. The connection these documents came from, which attributes them to it
instead of recording them as plain uploads. Connecting with
OAuth? Leave it out: Filed uses the connection
your access token belongs to.
Optional. Your own identifier for the client. With a source connection, it
links the new client to that connection and becomes the identity Filed matches
on for later calls — see below.
Optional. Links the client to a client in the firm’s tax software:
connectionId is the tax-software connection, clientId the tax software’s
ID for the client, and displayName the name shown for the link. Data entry
writes to that client, and for CCH Axcess Filed builds the checklist from last
year’s return there when no uploadIds are given. See Create clients from tax
software.Optional. A key you choose for this client and tax year, for example
PMS-10432:2025, so a repeat call returns the same client. Requires
sourceExternalId. Connecting with OAuth? Leave it out: Filed uses
sourceExternalId, taxYear and returnType as the key.Accepted for compatibility and ignored. Filed generates the client’s
externalId; pass your identifier as sourceExternalId instead.Repeat calls resolve to the same client. Connected with
OAuth, a call with the same
sourceExternalId,
taxYear and returnType as an earlier one returns that client and adds the
call’s uploadIds to it, even when calls arrive at the same time. With a
workspace API key, send the same importRequestId on every call for the
client; without one, every call creates a new client.The first call’s name is kept; use updateClient to
change it. A different returnType or taxYear is a different client. If the
client was archived, the call fails; once the workspace deletes it, the next
call creates a new one.Returns: CreateClientResult
The binder ingestion task ID, present only when
uploadIds were
supplied. null when the client was created without documents.List clients
Readworkspace.clients to list clients. Filter, page, and sort with the
arguments below.
Arguments
Return only clients with these IDs. This is how you fetch a single
client.
Fetch a single client
There is noclient(id:) query. Fetch one client by passing its ID in
filters.ids and reading the first element.
An empty
clients array means no client with that ID exists in this workspace.
Handle it as a not-found result.Add documents to a client
addClientDocuments attaches already-staged uploads to an existing client and
ingests them into the client’s binder. Stage the files first with the upload
endpoint.
Input: AddClientDocumentsInput
One or more upload IDs from the upload
endpoint.
Connecting with OAuth? Link the client to your connection before pushing to
it. See pushing documents as a
partner.
Returns: AddClientDocumentsResult
The binder ingestion task ID. Poll it until
status is
COMPLETED to know the documents are filed in the binder.Re-run binder ingestion
retriggerIngestion re-runs binder ingestion for a client using the documents
already attached to it, without requiring you to re-upload any files. Use it when
a prior ingestion task finished with status: FAILED (or otherwise did not file
the documents into the binder) and the original files have not changed. When the
files themselves have changed, re-upload them and call
addClientDocuments with the new upload IDs
instead.
Input: RetriggerIngestionInput
Returns: RetriggerIngestionResult
The new binder ingestion task ID. Nullable: when the client has
no documents to ingest, or ingestion could not be started, the field is
null.
Poll it with the same pattern as
addClientDocuments: list the client’s tasks
narrowed to type: BINDER and wait for status to leave RUNNING.Manage clients
Beyond create, list, and fetch, the API exposes a set of mutations for the rest of the client lifecycle: rename, archive, restore, permanently delete, and assign or unassign workspace users. All of them take a singleinput argument
identified by clientId, return either the updated Client
or a Boolean, and require a workspaceToken (see
Authentication).
Update a client
updateClient renames a client. Only the name is mutable through this
mutation.
Input: UpdateClientInput
Returns: Client!
The updated Client.
Archive a client
archiveClient sets the client’s status to archived. Archived clients are
excluded from default lists but kept on disk and can be restored.
Input: ArchiveClientInput
Returns: Client!
The archived Client with status set to archived.
Restore a client
restoreClient sets an archived client’s status back to active.
Input: RestoreClientInput
Returns: Client!
The restored Client with status set to active.
Delete a client
deleteClient permanently removes a client and its binder. It cannot be undone.
Input: DeleteClientInput
Returns: Boolean!
true when the client was deleted.
Assign a user to a client
assignUserToClient assigns a workspace user to a client and returns the
created ClientAssignee.
Input: AssignUserToClientInput
The ID of the workspace user to assign. Use the
userId of a
WorkspaceUserShortDetails from the workspace’s members, or the id returned
by me.Returns: ClientAssignee!
The workspace user who was assigned. See
WorkspaceUserShortDetails under
assignees for the field shape.The workspace user who performed the assignment (the authenticated caller).
Unassign a user from a client
unassignUserFromClient removes a workspace user’s assignment from a client.
Input: UnassignUserFromClientInput
Returns: Boolean!
true when the assignment was removed.