Skip to main content
GET
/
v1
/
themes
Retrieve Themes
curl --request GET \
  --url https://api.sprig.com/v1/themes \
  --header 'Authorization: <authorization>'
{
  "cursor": "string",
  "data": [
    {
      "createdAt": "string",
      "id": 0,
      "questionId": 0,
      "questionText": "string",
      "questionType": "string",
      "response": "string",
      "responseGroupUid": "string",
      "surveyId": 0,
      "theme": "string",
      "themeDescription": "string",
      "updatedAt": "string",
      "visitorId": 0
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.sprig.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

Bearer YOUR_API_KEY

Query Parameters

start
integer

The earliest creation data for a generated theme to return, represented as milliseconds from epoch time

end
integer

The latest creation date for a generated theme to return, represented as milleseconds from epoch time

cursor
string

A Base64 encoded string representing an opaque cursor position

sid
integer

An integer id for a specific Survey

Response

OK

cursor
string
Minimum string length: 1
data
object[]
Minimum array length: 1