---
title: Get the Logged In User (Vet)
slug: import-test-pdf/get-the-logged-in-user-vet
createdAt: 2025-10-28T16:28:34.247Z
---

{
  "id": "b-8q5VjRWVv5BbA4JDcuK",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "/api/v1/auth/me",
    "servers": [],
    "name": "Get the Logged In User (Vet)",
    "description": "<p>Get the Logged In User (Vet)\n<a href=\"https://js.langchain.com/docs/integrations/document_loaders/web_loaders/youtube\" target=\"_blank\">Learn more about user operations provided by this API.</a></p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "include",
          "type": "string",
          "description": "<p>Additional info to include. You can use multiple, comma separated. Options: clinic,clinic.chatUser,employee,employee.chatUser</p>"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful operation",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "data",
                "kind": "optional",
                "type": "object",
                "description": "General information about the logged in user",
                "modelRef": "#/components/schemas/Me",
                "customType": "Me",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "integer",
                    "description": "",
                    "example": 1
                  },
                  {
                    "name": "first_name",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "Sarah"
                  },
                  {
                    "name": "last_name",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "Connolly"
                  },
                  {
                    "name": "full_name",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "Sarah Connolly"
                  },
                  {
                    "name": "email",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "vet@example.com"
                  },
                  {
                    "name": "name_with_title",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "DVM Sarah Connolly"
                  },
                  {
                    "name": "video_link",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "profile_picture",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "https://dev-1-public-digitail.s3.eu-central-1.amazonaws.com/ionut/uploads/KXy8Rlv2vluiZYqwRCy2"
                  },
                  {
                    "name": "employee",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "example": "",
                    "schema": [
                      {
                        "name": "id",
                        "kind": "optional",
                        "type": "integer",
                        "description": "",
                        "example": 2
                      },
                      {
                        "name": "chat_user",
                        "kind": "optional",
                        "type": "object",
                        "description": "User Data for CometChat",
                        "modelRef": "#/components/schemas/ChatUser",
                        "customType": "ChatUser",
                        "schema": [
                          {
                            "name": "name",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": "DVM Sarah Connolly"
                          },
                          {
                            "name": "uid",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": "e58ed763-928c-4155-bee9-fdbaaadc15f3"
                          },
                          {
                            "name": "is_active",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "If the user is active in comet-chat",
                            "example": true
                          },
                          {
                            "name": "is_verified",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "If the user has a verified comet-chat account",
                            "example": true
                          },
                          {
                            "name": "user",
                            "kind": "optional",
                            "type": "object",
                            "description": "One of the following: Vet, Clinic, PetParent",
                            "example": "",
                            "schema": []
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "clinic",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "example": "",
                    "schema": [
                      {
                        "name": "id",
                        "kind": "optional",
                        "type": "integer",
                        "description": "",
                        "example": 766
                      },
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "description": "",
                        "example": "Animal Hospital of All Pets"
                      },
                      {
                        "name": "logo",
                        "kind": "optional",
                        "type": "string",
                        "description": "",
                        "example": "https://dev-1-public-digitail.s3.eu-central-1.amazonaws.com/ionut/uploads/KXy8Rlv2vluiZYqwRCy2"
                      },
                      {
                        "name": "preferences",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "example": "",
                        "schema": [
                          {
                            "name": "language_locale",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": "en-us"
                          },
                          {
                            "name": "timezone",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": "America/New_York"
                          },
                          {
                            "name": "date_format",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": "m-d-Y"
                          },
                          {
                            "name": "datetime_format",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": "m-d-Y g:i A"
                          },
                          {
                            "name": "discount_reason_required",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": ""
                          }
                        ]
                      },
                      {
                        "name": "hasClinicLegalInfo",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "",
                        "example": true
                      },
                      {
                        "name": "hasOnlinePaymentEnabled",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "",
                        "example": true
                      },
                      {
                        "name": "chat_user",
                        "kind": "optional",
                        "type": "object",
                        "description": "User Data for CometChat",
                        "modelRef": "#/components/schemas/ChatUser",
                        "customType": "ChatUser",
                        "schema": [
                          {
                            "name": "name",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": "DVM Sarah Connolly"
                          },
                          {
                            "name": "uid",
                            "kind": "optional",
                            "type": "string",
                            "description": "",
                            "example": "e58ed763-928c-4155-bee9-fdbaaadc15f3"
                          },
                          {
                            "name": "is_active",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "If the user is active in comet-chat",
                            "example": true
                          },
                          {
                            "name": "is_verified",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "If the user has a verified comet-chat account",
                            "example": true
                          },
                          {
                            "name": "user",
                            "kind": "optional",
                            "type": "object",
                            "description": "One of the following: Vet, Clinic, PetParent",
                            "example": "",
                            "schema": []
                          }
                        ]
                      },
                      {
                        "name": "care_credit_merchant",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "example": "",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "integer",
                            "description": "",
                            "example": 1
                          },
                          {
                            "name": "is_active",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "",
                            "example": true
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "example-0-curl",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url /api/v1/auth/me \\\n     --header 'accept: application/json'"
        },
        {
          "id": "example-1-javascript",
          "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(\"/api/v1/auth/me\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "example-2-ruby",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"/api/v1/auth/me\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "example-3-python",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"/api/v1/auth/me\"\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": "example-0-curl"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Successful operation\n{\n  \"data\": {\n    \"id\": 1,\n    \"first_name\": \"Sarah\",\n    \"last_name\": \"Connolly\",\n    \"full_name\": \"Sarah Connolly\",\n    \"email\": \"vet@example.com\",\n    \"name_with_title\": \"DVM Sarah Connolly\",\n    \"video_link\": \"\",\n    \"profile_picture\": \"https://dev-1-public-digitail.s3.eu-central-1.amazonaws.com/ionut/uploads/KXy8Rlv2vluiZYqwRCy2\",\n    \"employee\": {\n      \"id\": 2,\n      \"chat_user\": {\n        \"name\": \"DVM Sarah Connolly\",\n        \"uid\": \"e58ed763-928c-4155-bee9-fdbaaadc15f3\",\n        \"is_active\": true,\n        \"is_verified\": true,\n        \"user\": {}\n      }\n    },\n    \"clinic\": {\n      \"id\": 766,\n      \"name\": \"Animal Hospital of All Pets\",\n      \"logo\": \"https://dev-1-public-digitail.s3.eu-central-1.amazonaws.com/ionut/uploads/KXy8Rlv2vluiZYqwRCy2\",\n      \"preferences\": {\n        \"language_locale\": \"en-us\",\n        \"timezone\": \"America/New_York\",\n        \"date_format\": \"m-d-Y\",\n        \"datetime_format\": \"m-d-Y g:i A\",\n        \"discount_reason_required\": \"\"\n      },\n      \"hasClinicLegalInfo\": true,\n      \"hasOnlinePaymentEnabled\": true,\n      \"chat_user\": {\n        \"name\": \"DVM Sarah Connolly\",\n        \"uid\": \"e58ed763-928c-4155-bee9-fdbaaadc15f3\",\n        \"is_active\": true,\n        \"is_verified\": true,\n        \"user\": {}\n      },\n      \"care_credit_merchant\": {\n        \"id\": 1,\n        \"is_active\": true\n      }\n    }\n  }\n}"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}