Snippets

Lists accessible personal and shared snippets, newest first. Query searches names and shortcuts ignoring case. Omit limit to return all results.

get/v2/snippets

Request

  • Base URL
    https://api.streak.com/api
  • URL
    https://api.streak.com/api/v2/snippets
  • Auth
    HTTP bearer

Query parameters

querystring nullable

Text to find in snippet names or shortcuts.

limitinteger

Number of items to return.

pageinteger

Zero-based page number

Response

OK

hasNextPageboolean

Whether another page is available. A page can be empty after permission filtering even when this is true.

cursorstring nullable

Continuation cursor for endpoints that use cursor pagination. Pass it as cursor to request the next page. Omitted for page-number pagination and when no continuation cursor remains.

Example response

{
  "results": [
    {
      "creationDate": 1646870400000,
      "lastSavedTimestamp": 1646870400000
    }
  ]
}

Changes