---
title: "Get procedure template"
method: GET
path: "/proceduretemplates/{id}"
tags: ["Procedure Templates"]
---

# Get procedure template

`GET /proceduretemplates/{id}`

## Path parameters

- `id` integer, required

## Query parameters

- `expand` string[]

## Response `200`

Successfully retrieved procedureTemplate's information

- object
  - `procedureTemplate` object, required
    - `id` number, required — Global ID of the procedure template
    - `title` string, required — Title of the procedure template
    - `createdAt` string, date-time, required — Date & time at which the procedure template was created
    - `deletedAt` string, date-time, nullable, required — Date & time at which the procedure template was deleted
    - `updatedAt` string, date-time, required — Date & time at which the procedure template was last updated
    - `rows` object[], nullable — (expand with query parameter)
      - `id` number, required
      - `label` string, required
      - `type` 'NUMBER' | 'AMOUNT' | 'TEXT' | 'UNSUPPORTED' | 'HEADING' | 'FILE' | 'SIGNATURE' | 'MULTIPLE_CHOICE' | 'INSPECTION_CHECK' | 'YES_NO_NA' | 'CHECKBOX' | 'CHECKLIST' | 'METER' | 'DATE' | 'CYCLE_COUNT', required
      - `description` string, nullable
      - `choices` string[], nullable
      - `meterId` number, nullable
      - `isDateAndTime` boolean, nullable — Indicate if a DATE field also contains the time
      - `attachmentId` number, nullable
      - `attachments` object[] — List of attachments linked to the procedure row
        - `id` number, required — Global ID of the attachment
        - `mimeType` string, required — MIME type of the file
        - `fileName` string, required — Attachment's file name
        - `url` string, required — Url of the file. Valid for 60 minutes.
        - `createdAt` string, date-time, required — Date & time at which the attachment was uploaded
        - `width` number, nullable — Width if the file is an image
        - `height` number, nullable — Height if the file is an image
      - `urls` object[]
        - `label` string — Label of the url
        - `link` string, required — Link

## Other responses

- `400` — Error with query
- `401` — Invalid token
- `404` — Could not find the specified procedureTemplate or the user cannot access it.

---

[API](https://skmtc.net/getmaintainx/apis/maintainx-api.md) · [All operations](https://skmtc.net/getmaintainx/apis/maintainx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getmaintainx/maintainx-api/revisions/ef9153fcac7c/schema)
