> ## 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.

# Create an clinic patient upload group

> This endpoint is available to Group API Keys only.

Create an clinic patient upload group after uploading the raw files to our file server.

Newly created upload groups are asynchronously posted to a clinic patient's timeline in our PIMS. They will be
immediately visible through this API but may not appear to clinicians utilizing the PIMS for several minutes.




## OpenAPI

````yaml post /ext/v2/clinic-patient-upload-groups/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/clinic-patient-upload-groups/:
    post:
      tags:
        - Clients And Patients
      summary: Create an clinic patient upload group
      description: >
        This endpoint is available to Group API Keys only.


        Create an clinic patient upload group after uploading the raw files to
        our file server.


        Newly created upload groups are asynchronously posted to a clinic
        patient's timeline in our PIMS. They will be

        immediately visible through this API but may not appear to clinicians
        utilizing the PIMS for several minutes.
      operationId: clinic_patient_upload_groups_create
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/ExternalClinicPatientUploadGroupCreateSchema
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalClinicPatientUploadGroupSchema'
          description: Created
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ExternalClinicPatientUploadGroupCreateSchema:
      properties:
        clinic_patient_id:
          description: The ID of the clinic patient that this upload group is for.
          title: Clinic Patient Id
          type: integer
        description:
          description: The description of this group of uploads.
          title: Description
          type: string
        uploaded_file_ids:
          description: The IDs of uploaded files to include in this upload group.
          items:
            type: integer
          minItems: 1
          title: Uploaded File Ids
          type: array
      required:
        - description
        - clinic_patient_id
        - uploaded_file_ids
      title: ExternalClinicPatientUploadGroupCreateSchema
      type: object
    ExternalClinicPatientUploadGroupSchema:
      properties:
        clinic_patient_id:
          description: The ID of the clinic patient that this upload group is for.
          title: Clinic Patient Id
          type: integer
        description:
          description: The description of this group of uploads.
          title: Description
          type: string
        id:
          description: The unique identifier for the clinic patient upload group.
          title: Id
          type: integer
        uploaded_file_ids:
          description: >-
            The IDs of uploaded files that are shown as part of this upload
            group.
          items:
            type: integer
          title: Uploaded File Ids
          type: array
      required:
        - id
        - description
        - clinic_patient_id
        - uploaded_file_ids
      title: ExternalClinicPatientUploadGroupSchema
      type: object
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````