---
title: Get Clinics list by ids
slug: get-clinics-list-by-ids
docTags: 
createdAt: 2026-04-21T15:22:49.957Z
---

{
  "id": "HZk5UYfu9Tzk0XfQIg0OS",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://developer.digitail.io/api/v1/clinics",
    "servers": [
      {
        "url": "https://developer.digitail.io/api/v1/clinics",
        "description": "Sandbox server (uses test data)"
      },
      {
        "url": "https://vet.digitail.io/api/v1/clinics",
        "description": "Production server (uses live data)"
      }
    ],
    "name": "Get Clinics list by ids",
    "description": "Returns a Clinics list by ids",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "filter[clinic_id]",
          "type": "string",
          "description": "<p>Clinic IDs (comma separated), if not provided, will return all current vet clinics</p>"
        },
        {
          "kind": "optional",
          "name": "filter[is_admin]",
          "type": "integer",
          "description": "<p>If true, will filter only clinics where user is admin</p>",
          "enum": [
            "1"
          ]
        },
        {
          "kind": "optional",
          "name": "filter[group_id]",
          "type": "integer",
          "description": "Group ID"
        },
        {
          "kind": "optional",
          "name": "include",
          "type": "string",
          "description": "<p>Additional info to include. You can use multiple, comma separated. Options: vets,rooms,reminderPeriods</p>"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "passport",
          "name": "passport",
          "kind": "optional",
          "type": "oauth2",
          "description": "Laravel passport oauth2 security.",
          "oauth2Flows": {
            "authorizationCode": {
              "authorizationUrl": "https://digitail.test/oauth/authorize",
              "tokenUrl": "https://digitail.test/oauth/token",
              "refreshUrl": "https://digitail.test/oauth/token"
            }
          }
        },
        {
          "id": "Bearer",
          "name": "Bearer",
          "kind": "optional",
          "type": "http",
          "scheme": "bearer"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful operation",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "data",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/paths/~1api~1v1~1clinic~1%7Bid%7D/get/responses/200/content/application~1json/schema/properties/data",
                "customType": "data[]",
                "schema": []
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "LIR7I9inBkD77MHgukfpF",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://developer.digitail.io/api/v1/clinics \\\n     --header 'accept: application/json'"
        },
        {
          "id": "R_PBTozDxyKLnIu1Eg_1E",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://developer.digitail.io/api/v1/clinics\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "zeOHn-GH-zz4M92UFAZ63",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://developer.digitail.io/api/v1/clinics\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "OUc94qBi3XwacB32yqLUZ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://developer.digitail.io/api/v1/clinics\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "LIR7I9inBkD77MHgukfpF"
    },
    "results": {
      "languages": [
        {
          "id": "aB2j1u7Kc1HyzqhaMZ_-O",
          "language": "200",
          "code": "// Successful operation\n{\n  \"data\": [\n    \"\"\n  ]\n}"
        }
      ],
      "selectedLanguageId": "aB2j1u7Kc1HyzqhaMZ_-O"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}