---
title: Retrieve hormonal change Certificate
slug: retrieve-hormonal-change-certificate
docTags: 
createdAt: 2026-04-21T15:22:49.957Z
---

{
  "id": "Ft7pmN8aUwe8oUBCSysBw",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://developer.digitail.io/api/v1/pets/{id}/periodical-treatments/hormonal-change-certificate",
    "servers": [
      {
        "url": "https://developer.digitail.io/api/v1/pets/{id}/periodical-treatments/hormonal-change-certificate",
        "description": "Sandbox server (uses test data)"
      },
      {
        "url": "https://vet.digitail.io/api/v1/pets/{id}/periodical-treatments/hormonal-change-certificate",
        "description": "Production server (uses live data)"
      }
    ],
    "name": "Retrieve hormonal change Certificate",
    "description": "<p>Permissions needed: ACCESS_PATIENTS\nGet Hormonal Change (Spay/Neuter) Certificate</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": "required",
          "name": "clinic_id",
          "type": "integer",
          "description": "Id of the clinic from where the entity was created"
        }
      ],
      "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": "A PrintedFile represents either a form or a certificate that has been created for a patient.",
                "example": "",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "integer",
                    "description": "",
                    "example": 9
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "title",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "Rabies Certificate For Daisy"
                  },
                  {
                    "name": "real_name",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "Rabies Certificate For Daisy.pdf"
                  },
                  {
                    "name": "printable_file_id",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "1086"
                  },
                  {
                    "name": "vet_id",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "1568"
                  },
                  {
                    "name": "patient_id",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "316635"
                  },
                  {
                    "name": "pet_id",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "316635"
                  },
                  {
                    "name": "token",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "notified_at",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "2021-11-19T13:40:23.000000Z"
                  },
                  {
                    "name": "signed_at",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "2021-11-19T13:40:23.000000Z"
                  },
                  {
                    "name": "confirmed_at",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "2021-11-19T13:40:23.000000Z"
                  },
                  {
                    "name": "has_signature_shortcode",
                    "kind": "optional",
                    "type": "boolean",
                    "description": ""
                  },
                  {
                    "name": "has_fillable_inputs",
                    "kind": "optional",
                    "type": "boolean",
                    "description": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string<form | certificate>",
                    "description": "",
                    "enum": [
                      "form",
                      "certificate"
                    ]
                  },
                  {
                    "name": "created_at",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "2021-11-19T13:40:23.000000Z"
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "cNIG3ZgbdLvVch34udpgb",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://developer.digitail.io/api/v1/pets/{id}/periodical-treatments/hormonal-change-certificate?clinic_id=integer' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "JyjAePcGbMTRNvgpneVKp",
          "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/pets/{id}/periodical-treatments/hormonal-change-certificate?clinic_id=integer\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "GGildeJV55oDvqIyl2Q4X",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://developer.digitail.io/api/v1/pets/{id}/periodical-treatments/hormonal-change-certificate?clinic_id=integer\")\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": "y-q8h91apGRDJ1qaZRCuX",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://developer.digitail.io/api/v1/pets/{id}/periodical-treatments/hormonal-change-certificate?clinic_id=integer\"\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": "cNIG3ZgbdLvVch34udpgb"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// successful operation\n{\n  \"data\": {\n    \"id\": 9,\n    \"name\": \"\",\n    \"title\": \"Rabies Certificate For Daisy\",\n    \"real_name\": \"Rabies Certificate For Daisy.pdf\",\n    \"printable_file_id\": \"1086\",\n    \"vet_id\": \"1568\",\n    \"patient_id\": \"316635\",\n    \"pet_id\": \"316635\",\n    \"token\": \"\",\n    \"notified_at\": \"2021-11-19T13:40:23.000000Z\",\n    \"signed_at\": \"2021-11-19T13:40:23.000000Z\",\n    \"confirmed_at\": \"2021-11-19T13:40:23.000000Z\",\n    \"has_signature_shortcode\": false,\n    \"has_fillable_inputs\": false,\n    \"type\": \"\",\n    \"created_at\": \"2021-11-19T13:40:23.000000Z\"\n  }\n}"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}