# Returns a list of ImageAttachments (V1) with async support via StreamAPI webhooks (SNS)

**Query shape:** Prefer a **narrow** filter—combine scoping filters with `lastModified` or date bounds where supported. A very wide date range with no other scoping can **408** (timeout) on large tenants; retry with a smaller window or use cursor pagination (`lastId` with `lastModified`—see parameter descriptions).
**Empty results:** **200** with `data: []` means no ImageAttachments matched; it does not indicate invalid filter values.
**responseFields:** Use only names allowed on this operation (see the `responseFields` parameter). Use `ALL` or the documented flat field list.
**Pagination:** The `page` query parameter is deprecated where `lastId` is supported; **`lastModified` / `lastId`** style pagination is preferred. See the Public API pagination documentation.

Endpoint: GET /v1/imageattachments/async
Version: 191.0.3
Security: bearerAuth, oAuthSandbox

## Security:

  - `bearerAuth` (unknown)
    http bearer JWT

  - `oAuthSandbox` (unknown)
    oauth2

## Query parameters:

  - `responseFields` (string)
    A URL-encoded, comma-delimited list of field names to include in the response data. Additionally, the following values are also supported:

ALL - Returns all field names.

  - `filter` (string)
    Filter clauses for imageattachments. General grammar and operators: the Public API filter documentation.
**Auto filter:** If you omit a date-limiting filter (such as `lastModified`), the server may apply one automatically; behavior can vary by deployment.
**Keys and operators (this endpoint)**
- `id` (`==`, `->`)
- `insuranceClaim.id` (`==`, `->`)
Examples: `insuranceClaim.id==12`, `id==123`.

  - `page` (string)
    Page number for pagination control

  - `pageSize` (string)
    Page size for pagination control

  - `lastId` (string)
    the biggest image attachment ID from previous page

## Header parameters:

  - `Organization-ID` (string, required)
    Organization context for the request. Must match the organization authorized by the access token.

## Response 200:

  - `200` (unknown)
    Success response. Returns the first 10 results immediately and delivers matching records via StreamAPI webhooks (SNS).

## Response 200 fields (application/json):

  - `data` (array)
    Array of image attachments

  - `data.id` (integer)
    Example: 3246546

  - `data.examId` (integer)
    Example: 654

  - `data.examImageId` (integer, required)
    Example: 23

  - `data.examName` (string, required)
    Example: exam name

  - `data.examDate` (string, required)
    Example: 2024-05-10T00:00:00.000Z

  - `data.examImageOutputFormat` (string, required)
    Example: format

  - `data.examImageSizeInBytes` (integer, required)
    Example: 2048

  - `data.examImageTreatments` (string)
    Example: image treatments

  - `data.attachmentType` (string, required)
    Enum: "RADIOLOGY_FILMS", "PERIODONTAL_CHART", "EXPLANATION_OF_BENEFITS", "RADIOLOGY_REPORTS", "STUDENT_VERIFICATION", "NARRATIVE", "REPORT", "DIAGNOSTIC_REPORT", "FULL_MOUTH_SERIES", "PANORAMIC_FILM", "X_RAY_CREATION_DATE"

  - `data.attachedDate` (string)
    Example: 2024-05-10T00:00:00.000Z

  - `data.dateCreated` (string)
    Example: 2024-05-10T00:00:00.000Z

  - `data.neaNumber` (string)
    Example: 324

  - `data.insuranceClaim` (object, required)
    A reference to a linked model. Includes the id, the type, and URL at which the model can be accessed.

  - `data.insuranceClaim.id` (integer, required)
    The unique identifier for the linked model.
    Example: 12345

  - `data.insuranceClaim.type` (string)
    The type of the linked model. This field is read-only.
    Example: ExampleModelType

  - `data.insuranceClaim.url` (string, required)
    The URL at which the linked model can be accessed. This field is read-only.
    Example: https://api.example.com/models/12345

  - `warnings` (array)

  - `warnings.code` (string)

  - `warnings.title` (string)

  - `warnings.description` (string)

  - `warnings.source` (string)

  - `errors` (array)

## Response 400:

  - `400` (unknown)
    The request was invalid or cannot be processed

## Response 401:

  - `401` (unknown)
    Authentication is required and has failed or has not been provided

## Response 403:

  - `403` (unknown)
    The request is understood, but it has been refused or access is not allowed

## Response 404:

  - `404` (unknown)
    The requested resource is either missing or does not exist

## Response 408:

  - `408` (unknown)
    The server timed out while processing the request

## Response 429:

  - `429` (unknown)
    Rate limit exceeded

## Response 500:

  - `500` (unknown)
    An unexpected error occurred

## Response 200 examples:

  - `Async mode response` (unknown)

