Get survey theme

Get Survey Theme

Returns detailed information about a specific theme in your account's theme library.

Endpoint

GET v5/surveytheme/{theme_id}

Requires authentication

Path Parameters

The theme to retrieve.

theme_id
string
required
The ID of the theme to retrieve.

Query Parameters

This endpoint does not accept additional query parameters beyond authentication credentials.

None

Response

Returns a single survey theme object.

result_ok
boolean
Whether the request succeeded.
data
object
The survey theme object.

Examples

Note GET requests are cached for 60 seconds. Repeated identical requests within that window will return cached results.

Request (cURL)
curl -X GET "https://api.alchemer.com/v5/surveytheme/YOUR_THEME_ID?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET"
Response
{
  "result_ok": true,
  "data": {
    "id": 290549,
    "status": "Active",
    "created": null,
    "name": "My New Theme",
    "style_options": {
      "custom-head": "<!-- Write your custom HTML here -->\n",
      "theme_version": "2",
      "body background color": "#ffffff",
      "body background opacity": "1.00",
      "page background color": "#ffffff",
      "page background opacity": "",
      "header background color": "#ffffff",
      "header background opacity": "1.00",
      "header text color": "#354050",
      "base font color": "#2c3e50",
      "accent": "#354050",
      "accent text": "#ffffff",
      "image align": "0 auto 0 0",
      "img width": "100",
      "img width max": "100",
      "background image style": "tile",
      "background grad orient": "vertical",
      "title font family": "Montserrat",
      "title font size": "18px",
      "title font weight": "400",
      "base font family": "Montserrat",
      "base font size": "14px",
      "base font weight": "400",
      "survey title": "true",
      "title align": "left",
      "back button": "true",
      "progress bar": "true",
      "page title": "true",
      "page title align": "left",
      "page description": "true",
      "question numbers": "true",
      "required ast": "true",
      "question border": "true",
      "survey width number": "100",
      "survey width unit": "%",
      "page width number": "960",
      "page width unit": "px",
      "survey round corner number": "0",
      "question title": "true",
      "survey width": "100%",
      "page width": "960px",
      "powered by": "false",
      "auto mobile": "false",
      "so-masthead-image-show": "false",
      "replace icons": "true",
      "theme_id": "282335",
      "style mode": "append",
      "header image url": "//app.alchemer.com/public/images/spacer.gif",
      "theme-css": "c65d81bf99132",
      "mobile-calculated-colors": "true",
      "mobile-logo-alignment": "true"
    },
    "Body": "<div class=\"sg-wrapper\">...</div>",
    "css": "/* Write your custom CSS here */\n"
  }
}