---
title: Get the logged-in User (Vet)
slug: get-the-logged-in-user-vet
docTags: 
createdAt: 2026-04-21T15:22:49.957Z
---

{
  "id": "_L0TO8KoZcN0WRITKCYBI",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://developer.digitail.io/api/v1/auth/me",
    "servers": [
      {
        "url": "https://developer.digitail.io/api/v1/auth/me",
        "description": "Sandbox server (uses test data)"
      },
      {
        "url": "https://vet.digitail.io/api/v1/auth/me",
        "description": "Production server (uses live data)"
      }
    ],
    "name": "Get the logged-in User (Vet)",
    "description": "<p>Get the logged-in User (Vet)</p>",
    "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": "include[]",
          "type": "array",
          "description": "<p>Additional info to include. You can use multiple, comma separated.  Possible options: clinic,clinic.chatUser,multipleClinic,employee,employee.chatUser</p>",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        }
      ],
      "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": "object",
                "description": "General information about the logged in user.",
                "example": "",
                "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",
                    "nullable": true,
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "profile_picture",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "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": "",
                        "modelRef": "#/paths/~1api~1v1~1auth~1me/get/responses/200/content/application~1json/schema/properties/data/properties/clinic/properties/chat_user",
                        "customType": "chat_user",
                        "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",
                            "nullable": true,
                            "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",
                        "example": "",
                        "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": "<p>If the user is active in comet-chat</p>",
                            "example": true
                          },
                          {
                            "name": "is_verified",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "<p>If the user has a verified comet-chat account</p>",
                            "example": true
                          },
                          {
                            "name": "user",
                            "kind": "optional",
                            "type": "object",
                            "description": "<p>One of the following: Vet, Clinic, PetParent</p>",
                            "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
                          }
                        ]
                      },
                      {
                        "name": "default_payment_provider_account",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "example": "",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "integer",
                            "description": "",
                            "example": 1
                          },
                          {
                            "name": "provider",
                            "kind": "optional",
                            "type": "string<dsp | stripe_standard | scratchpay | paysafe>",
                            "description": "",
                            "enum": [
                              "dsp",
                              "stripe_standard",
                              "scratchpay",
                              "paysafe"
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "UMXE__YqOBBDeoZ_OaYXj",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://developer.digitail.io/api/v1/auth/me \\\n     --header 'accept: application/json'"
        },
        {
          "id": "Lrn1fPt-KLqVIsAl6LJBH",
          "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/auth/me\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "S9MuwhFCJp2JJcjVe8cZq",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://developer.digitail.io/api/v1/auth/me\")\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": "lfWgfzJAi1m98fVwL_oYs",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://developer.digitail.io/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": "UMXE__YqOBBDeoZ_OaYXj"
    },
    "results": {
      "languages": [
        {
          "id": "8Cvawn251O0x573PnttXM",
          "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    },\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      \"default_payment_provider_account\": {\n        \"id\": 1,\n        \"provider\": \"\"\n      }\n    }\n  }\n}"
        }
      ],
      "selectedLanguageId": "8Cvawn251O0x573PnttXM"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}