> ## Documentation Index
> Fetch the complete documentation index at: https://docs.range.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Enqueue a transaction sync for the workspace or for given accounts

> Enqueues one background job per account (including standalone Solana accounts with no connection). Returns immediately with a batch id; workers process jobs asynchronously. Accounts that already have a pending or active sync job are skipped. Unsupported accounts fail inside the worker rather than being filtered at enqueue. With no body, or an empty `account_ids`, every account in the caller workspace is covered; with `account_ids`, exactly those accounts — all of which must belong to the caller workspace, or the request fails with 404.



## OpenAPI

````yaml /api-reference/platform-api.json post /v2/accounts/transfers/sync
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.27
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
paths:
  /v2/accounts/transfers/sync:
    post:
      tags:
        - Accounts
      summary: Enqueue a transaction sync for the workspace or for given accounts
      description: >-
        Enqueues one background job per account (including standalone Solana
        accounts with no connection). Returns immediately with a batch id;
        workers process jobs asynchronously. Accounts that already have a
        pending or active sync job are skipped. Unsupported accounts fail inside
        the worker rather than being filtered at enqueue. With no body, or an
        empty `account_ids`, every account in the caller workspace is covered;
        with `account_ids`, exactly those accounts — all of which must belong to
        the caller workspace, or the request fails with 404.
      operationId: syncAllAccountTransactions
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountIdsBodyDto'
      responses:
        '202':
          description: Sync jobs enqueued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SyncAllEnqueueResultDto'
components:
  schemas:
    AccountIdsBodyDto:
      type: object
      properties:
        account_ids:
          example:
            - a1b2c3d4-e5f6-7890-abcd-ef1234567890
          description: >-
            Limit the action to these workspace accounts. Omit to cover every
            account in the workspace. Every id must belong to the caller
            workspace or the request fails with 404.
          type: array
          items:
            type: string
            format: uuid
    SyncAllEnqueueResultDto:
      type: object
      properties:
        batch_id:
          type: string
          format: uuid
        enqueued:
          type: number
          example: 5
        skipped:
          type: number
          example: 1
      required:
        - batch_id
        - enqueued
        - skipped
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````