# 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 ## 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 Enum: "createdAt", "updatedAt", "externalReference", "prescribedAt" - `sortOrder` (string) Sort order Enum: "asc", "desc" - `animalId` (string) Reference to the animal for which the prescription was written. Example: "123e4567-e89b-12d3-a456-426614174000" - `consultId` (string) Reference to the consult/visit associated with this prescription. Example: "123e4567-e89b-12d3-a456-426614174000" - `contactId` (string) Reference to the client/owner contact associated with this prescription. Example: "123e4567-e89b-12d3-a456-426614174000" - `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. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 200 fields ## Response 401 fields