---
agentTools:
  projectIndex: https://docs.oncallhealth.io/llms.txt
---

# Get a casenote

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "oncall",
    "version": "1.2"
  },
  "servers": [
    {
      "url": "https://api.oncallhealth.ca"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/casenotes/{id}/": {
      "get": {
        "summary": "Get a casenote",
        "description": "",
        "operationId": "get-a-casenote",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ID of the casenote you wish to retrieve",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"id\": 781491,\n    \"appointment\": \"https://api.oncallhealth.ca/appointments/983895/\",\n    \"versions\": \"https://api.oncallhealth.ca/casenotes/781491/casenoteversions/\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 781491,
                      "default": 0
                    },
                    "appointment": {
                      "type": "string",
                      "example": "https://api.oncallhealth.ca/appointments/983895/"
                    },
                    "versions": {
                      "type": "string",
                      "example": "https://api.oncallhealth.ca/casenotes/781491/casenoteversions/"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Authorization",
        "value": "Token YOUR_PROVIDER_TOKEN"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "62e03e9f2e494c003d6f7e00:62e03e9f2e494c003d6f7e60"
}
```