Search modified templates

The template search endpoint allows you to retrieve the template ID, name, modification date and creation date, of
templates that meet a certain criteria. It is possible to request templates modified between given dates, and whether
or not to include archived templates.

In the request, you must specify the fields that you want to return. The field template_id is not required, the template ID will be always included in every template result returned in the response.
To include other template properties in the response you can optionally add parameters modified_at, created_at and name. Multiple field elements can be provided.

Dates must be formatted according to ISO 8601 date and time format. For example,
2015-04-01T00:00:00.000Z or 2015-04-01T00:00+1000.

🚧

The modification dates used for searching are related to SafetyCulture's cloud storage and include latest sync times, modifications through the SafetyCulture website, and other system modifications. This means that the date may not match the last date that the template was modified. This will ensure that you may consistently find all of the template modified since your last search, even if they are synced some time after they are last changed.

Query Params
int32

Limit the number of results returned. Default is 1000.

field
array of strings

The fields to return. Defaults to just audit_id.

  • template_id: Include template_id in the response.
  • name: Include name in the response.
  • modified_at: Include modified_at in the response.
  • created_at: Include modified_at in the response.
field
Allowed:
string
enum
Defaults to asc

The order to return results in.

  • asc: Order by modified_at in ascending order.
  • desc: Order by modified_at in descending order.
Allowed:
date-time

Filter results modified after this date time.

date-time

Filter results modified before this date time.

string
enum
Defaults to false

Filter results by archived status.

  • false: Only include unarchived templates.
  • true: Only include archived templates.
  • both: Include both archived and unarchived templates.
Allowed:
string
enum
Defaults to all

Filter results by owner.

  • all: Include all templates.
  • me: Only include templates owned by the requesting user.
  • other: Only include templates owned by other users.
Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json