# List external prescriptions

Returns a paginated list of External Prescriptions for the specified site. Supports filtering and sorting.

Endpoint: GET /site/{siteId}/ahds/v1/external-prescription
Version: 1.0
Security: bearer

## Security:

  - `bearer` (unknown)
    http bearer JWT

## Path parameters:

  - `siteId` (number, required)
    Site identifier

## Query parameters:

  - `page` (number)
    Page number (0-indexed)

  - `pageSize` (number)
    Number of items per page

  - `sortBy` (string)
    Field to sort by

  - `sortOrder` (string)
    Sort order

  - `animalId` (string)
    Reference to the animal for which the prescription was written.

  - `consultId` (string)
    Reference to the consult/visit associated with this prescription.

  - `contactId` (string)
    Reference to the client/owner contact associated with this prescription.

  - `externalReference` (string)
    External system reference or identifier for this prescription (e.g., pharmacy system ID).

  - `prescribingVetUserId` (string)
    Reference to the user (veterinarian) who prescribed the medication.

## Response 200:

  - `200` (unknown)
    Paginated list of External Prescriptions

## Response 401:

  - `401` (unknown)
    Unauthorized

