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

# Fetch a clinic

> Fetches a clinic by its ID.

A **clinic** represents a single veterinary clinic location. An organization (clinic group) can have many clinics. Each clinic has its own address, timezone, and staff, and serves as the primary scope for most data in the API (clients, patients, orders, invoices, etc.).



## OpenAPI

````yaml get /ext/v2/clinics/{clinic_id}/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/clinics/{clinic_id}/:
    get:
      tags:
        - Clinics
      summary: Fetch a clinic
      description: >-
        Fetches a clinic by its ID.


        A **clinic** represents a single veterinary clinic location. An
        organization (clinic group) can have many clinics. Each clinic has its
        own address, timezone, and staff, and serves as the primary scope for
        most data in the API (clients, patients, orders, invoices, etc.).
      operationId: clinics_get
      parameters:
        - description: The ID of the clinic to fetch
          in: path
          name: clinic_id
          required: true
          schema:
            description: The ID of the clinic to fetch
            title: Clinic Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalClinicSchema'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ExternalClinicSchema:
      description: >-
        Clinics represent a physical site where clients (pet owners) can go seek
        care for patients (their pets).
      properties:
        base_url:
          description: >-
            The base URL for the Vetcove client shopping portal. Respects
            custom/vanity shop domains when configured. This is the same
            `base_url` returned by auto-auth, without an auto-auth token.
          title: Base Url
          type: string
        billing_address:
          anyOf:
            - $ref: '#/components/schemas/ExternalAddressSchema'
            - type: 'null'
          description: The billing address of the clinic.
        booking_url:
          description: >-
            The URL of this clinic's current client-facing appointment booking
            page. Respects custom/vanity shop domains when configured.
          title: Booking Url
          type: string
        client_display_name:
          description: The display name of this clinic shown to clients.
          title: Client Display Name
          type: string
        clinic_timezone:
          description: The IANA timezone identifier where this clinic is located.
          title: Clinic Timezone
          type: string
        created:
          description: The datetime this object was created.
          format: date-time
          title: Created
          type: string
        deleted:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: The datetime this record was soft deleted.
          title: Deleted
        email:
          anyOf:
            - type: string
            - type: 'null'
          description: The email address of the clinic.
          title: Email
        group_location_code:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The group location code of the clinic location group. Group location
            codes are a group's internal identifier for their clinics.
          title: Group Location Code
        id:
          description: The unique identifier for the clinic.
          title: Id
          type: integer
        is_deleted:
          description: Whether this record is soft deleted or not.
          title: Is Deleted
          type: boolean
        is_pims:
          description: Whether this clinic is PIMS-enabled or not.
          title: Is Pims
          type: boolean
        modified:
          description: >-
            The datetime this object was last modified; changes to related
            entities will not update this field.
          format: date-time
          title: Modified
          type: string
        name:
          description: The name of this clinic.
          title: Name
          type: string
        phone_number:
          anyOf:
            - type: integer
            - type: 'null'
          description: The phone number of the clinic.
          title: Phone Number
        primary_address:
          anyOf:
            - $ref: '#/components/schemas/ExternalAddressSchema'
            - type: 'null'
          description: The primary address of the clinic.
        website_url:
          anyOf:
            - type: string
            - type: 'null'
          description: The website url of the clinic.
          title: Website Url
      required:
        - created
        - modified
        - is_deleted
        - deleted
        - id
        - name
        - client_display_name
        - primary_address
        - billing_address
        - phone_number
        - website_url
        - base_url
        - booking_url
        - group_location_code
        - is_pims
        - clinic_timezone
      title: Clinic
      type: object
    ExternalAddressSchema:
      properties:
        address_one:
          description: The first line of the address.
          maxLength: 100
          title: Address One
          type: string
        address_two:
          default: ''
          description: The second line of the address.
          maxLength: 100
          title: Address Two
          type: string
        city:
          description: The city of the address.
          maxLength: 100
          title: City
          type: string
        country:
          allOf:
            - $ref: '#/components/schemas/Countries'
          default: US
          description: The 2-letter code of the country of the address.
        county:
          default: ''
          description: The county of the address.
          maxLength: 100
          title: County
          type: string
        id:
          description: The ID of the address.
          title: Id
          type: integer
        name:
          default: ''
          description: The name of the address.
          maxLength: 100
          title: Name
          type: string
        phone_number:
          anyOf:
            - type: integer
            - type: 'null'
          description: The phone number of the address.
          title: Phone Number
        state:
          description: >-
            The 2-letter code of the state/province/region of the address.
            Legacy data could deviate from the 2-letter code convention.
          title: State
          type: string
        zipcode:
          description: The zip code/postal code of the address.
          maxLength: 10
          title: Zipcode
          type: string
      required:
        - address_one
        - city
        - state
        - zipcode
        - id
      title: ExternalAddressSchema
      type: object
    Countries:
      enum:
        - CA
        - US
        - AS
        - GU
        - MP
        - PR
        - VI
      title: Countries
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````