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

# List all prescription requests

> Returns a paginated list of prescription requests across all clinics in the organization.

A **prescription request** (also known as an external Rx) is created when an external pharmacy or e-tailer submits a request to a clinic for prescription authorization. Each request is associated with a specific catalog item and tracks its review status through the approval workflow.



## OpenAPI

````yaml get /ext/v2/prescription-requests/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/prescription-requests/:
    get:
      tags:
        - External Rx
      summary: List all prescription requests
      description: >-
        Returns a paginated list of prescription requests across all clinics in
        the organization.


        A **prescription request** (also known as an external Rx) is created
        when an external pharmacy or e-tailer submits a request to a clinic for
        prescription authorization. Each request is associated with a specific
        catalog item and tracks its review status through the approval workflow.
      operationId: prescription_requests_list
      parameters:
        - description: When provided, filters to objects with these IDs.
          in: query
          name: ids
          required: false
          schema:
            anyOf:
              - items:
                  type: integer
                type: array
              - type: 'null'
            description: When provided, filters to objects with these IDs.
            title: Ids
        - description: >-
            A cursor used for pagination. Fetches the page of results ending
            immediately before the object with the given ID. Cannot be used at
            the same time as `starting_after`.
          in: query
          name: ending_before
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results ending
              immediately before the object with the given ID. Cannot be used at
              the same time as `starting_after`.
            title: Ending Before
        - description: >-
            A cursor used for pagination. Fetches the page of results starting
            immediately after the given ID. Cannot be used at the same time as
            `ending_before`.
          in: query
          name: starting_after
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results starting
              immediately after the given ID. Cannot be used at the same time as
              `ending_before`.
            title: Starting After
        - description: The maximum number of items to return per page.
          in: query
          name: limit
          required: false
          schema:
            default: 10
            description: The maximum number of items to return per page.
            maximum: 100
            minimum: 1
            title: Limit
            type: integer
        - description: >-
            Filters to prescription requests belonging to the clinic with the
            given ID.
          in: query
          name: clinic_id
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              Filters to prescription requests belonging to the clinic with the
              given ID.
            title: Clinic Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalPrescriptionRequestSchemaList'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ExternalPrescriptionRequestSchemaList:
      properties:
        data:
          description: A single page of data contained within this list.
          items:
            $ref: '#/components/schemas/ExternalPrescriptionRequestSchema'
          title: Data
          type: array
        has_more:
          default: false
          description: Whether there are more pages or data in this list.
          title: Has More
          type: boolean
        next_page:
          description: A URL linking to the next page of this list.
          title: Next Page
          type: string
        type:
          default: list
          description: Type of this object. Always `list`.
          title: Type
          type: string
      required:
        - data
        - next_page
      title: ExternalPrescriptionRequestSchemaList
      type: object
    ExternalPrescriptionRequestSchema:
      description: Schema for prescription request details.
      properties:
        clinic_id:
          description: ID of the clinic this prescription request belongs to
          title: Clinic Id
          type: integer
        closed_by:
          anyOf:
            - type: string
            - type: 'null'
          description: Name of the user who approved or denied the request
          title: Closed By
        conflicting_cart_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: ID of a conflicting cart item, if any
          title: Conflicting Cart Id
        conflicting_order_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: ID of a conflicting order, if any
          title: Conflicting Order Id
        conflicting_order_item_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: ID of a conflicting order item, if any
          title: Conflicting Order Item Id
        conflicting_prescription_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: ID of a conflicting prescription, if any
          title: Conflicting Prescription Id
        etailer_name:
          description: Name of the etailer that submitted the request
          title: Etailer Name
          type: string
        etailer_response_reason:
          anyOf:
            - $ref: '#/components/schemas/PrescriptionRequestEtailerStatusReason'
            - type: 'null'
          description: Reason for the current etailer response status
        etailer_response_status:
          $ref: '#/components/schemas/PrescriptionRequestEtailerResponseStatus'
          description: Etailer response status of the prescription request
        group_id:
          description: ID of the prescription request group this request belongs to
          title: Group Id
          type: integer
        id:
          description: Unique identifier for the prescription request
          title: Id
          type: integer
        item_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: ID of the associated item
          title: Item Id
        item_name:
          description: Name of the item
          title: Item Name
          type: string
        item_qty:
          anyOf:
            - type: integer
            - type: 'null'
          description: Quantity of the prescription
          title: Item Qty
        last_note:
          anyOf:
            - type: string
            - type: 'null'
          description: Most recent note added to the prescription request
          title: Last Note
        last_note_datetime:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: Date when the last note was added
          title: Last Note Datetime
        medical_review_status:
          $ref: '#/components/schemas/PrescriptionRequestMedicalReviewStatus'
          description: Medical review status of the prescription request
        patient_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: ID of the associated patient
          title: Patient Id
        pdf_url:
          anyOf:
            - type: string
            - type: 'null'
          description: URL to the source PDF document
          title: Pdf Url
        received_datetime:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: Date when the prescription request was received
          title: Received Datetime
        request_status:
          $ref: '#/components/schemas/PrescriptionRequestStatus'
          description: Current status of the prescription request
        status_modified_datetime:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: Date when the status was last modified
          title: Status Modified Datetime
      required:
        - id
        - group_id
        - request_status
        - etailer_name
        - item_qty
        - medical_review_status
        - etailer_response_status
        - etailer_response_reason
        - conflicting_prescription_id
        - conflicting_order_item_id
        - item_id
        - item_name
        - patient_id
        - clinic_id
      title: ExternalPrescriptionRequestSchema
      type: object
    PrescriptionRequestEtailerStatusReason:
      enum:
        - EXAM_OR_BLOODWORK_NEEDED
        - CORRECT_PRODUCT_LINE_INCORRECT_ITEM
        - NOT_A_PATIENT
        - NOT_MEDICALLY_APPROPRIATE
        - CONFLICTING_ORDER
        - NO_CLIENT_RESPONSE
        - PRICE
        - AVAILABILITY
        - STRONG_CLIENT_PREFERENCE
        - SHIPPING_TIMES
      title: PrescriptionRequestEtailerStatusReason
      type: string
    PrescriptionRequestEtailerResponseStatus:
      enum:
        - PENDING
        - READY_TO_DENY
        - READY_TO_APPROVE
        - DENIED
        - APPROVED
      title: PrescriptionRequestEtailerResponseStatus
      type: string
    PrescriptionRequestMedicalReviewStatus:
      enum:
        - UNREVIEWED
        - NEEDS_REVIEW
        - APPROVED
        - DENIED
      title: PrescriptionRequestMedicalReviewStatus
      type: string
    PrescriptionRequestStatus:
      enum:
        - UNREVIEWED
        - NEEDS_DOCTOR_REVIEW
        - MEDICALLY_APPROVED
        - MEDICALLY_DENIED
        - READY_TO_DENY_FOR_ETAILER
        - READY_TO_APPROVE_FOR_ETAILER
        - DENIED_FOR_ETAILER
        - APPROVED_FOR_ETAILER
        - SPAM
        - DUPLICATE
      title: PrescriptionRequestStatus
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````