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

# Get Card Images By Policy



## OpenAPI

````yaml get /patients/{patient_id}/policies/{policy_id}/card-images
openapi: 3.1.0
info:
  title: Insurance API
  description: This API supports the management of insurances.
  version: 0.1.0
servers:
  - url: https://sandbox.elationemr.com/api/2.0
    description: Sandbox Environment
security: []
tags:
  - name: health
  - name: insurance-cards
    description: Upload and get insurance card images
  - name: insurance-eligibility
    description: Check insurance eligibility
  - name: canonical-payer
    description: Upload and store canonical payers csv
  - name: submitters
    description: Submitter account management
  - name: provider-enrollment
    description: Enroll providers at clearinghouses
paths:
  /patients/{patient_id}/policies/{policy_id}/card-images:
    get:
      tags:
        - insurance-cards
      summary: Get Card Images By Policy
      operationId: >-
        get_card_images_by_policy_patients__patient_id__policies__policy_id__card_images_get
      parameters:
        - in: path
          name: patient_id
          required: true
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Patient Id
        - in: path
          name: policy_id
          required: true
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Policy Id
        - in: query
          name: size
          required: false
          schema:
            $ref: '#/components/schemas/ImageSize'
            default: thumbnail
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties:
                  $ref: '#/components/schemas/CardImageUrlFetchResponse'
                title: >-
                  Response Get Card Images By Policy Patients  Patient Id 
                  Policies  Policy Id  Card Images Get
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - RequireAuthentication: []
components:
  schemas:
    ImageSize:
      enum:
        - full
        - thumbnail
        - original
      title: ImageSize
      type: string
    CardImageUrlFetchResponse:
      properties:
        image_rank:
          title: Image Rank
          type: integer
        url:
          title: Url
          type: string
      required:
        - url
        - image_rank
      title: CardImageUrlFetchResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    RequireAuthentication:
      type: http
      scheme: bearer

````