v2

latestOpenAPI 3.0.02026-07-261859071.2 MB
Snippets

List all snippets

Lists all current snippets in your account.

get/v1/snippets

Query parameters

limitinteger

Limit the number of results

Limit the number of results

pagenumber

Page number

Page number

Headers

x-checkly-accountstring

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Response

Successful

idnumber
namestring

The snippet name.

scriptstring

Your Node.js code that interacts with the API check lifecycle, or functions as a partial for browser checks.

created_atstring date-time
updated_atstring date-time nullable

Example response

[
  {
    "id": 1,
    "name": "Snippet",
    "script": "request.url = request.url + '/extra'"
  }
]