---
title: "List procedure templates"
method: GET
path: "/proceduretemplates"
tags: ["Procedure Templates"]
---

# List procedure templates

`GET /proceduretemplates`

Endpoint used to list procedure template resources

## Query parameters

- `cursor` string — Last pagination reference
- `limit` integer — max number of Procedure Templates returned
- `expand` string[]

## Headers

- `x-organization-id` integer

## Response `200`

Successfully fetched Procedure Templates list

- object
  - `procedureTemplates` object[], required
    - `id` number, required — Global ID of the procedure template
    - `title` string, required — Title of the procedure template
    - `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
  - `nextCursor` string, nullable, required — The cursor to retrieve the next page of Procedure Templates.
  - `nextPageUrl` string, nullable, required — Path with query parameters that can be used to retrieve the next page of Procedure Templates.

## Other responses

- `400` — Error with query
- `401` — Invalid token

---

[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)
