Skip to content

Get a theme

Returns a public theme or one of the token’s team, with its definition. Needs the themes:read scope.

GET https://api.responsly.com/v1/themes/{theme_id}
Terminal window
curl https://api.responsly.com/v1/themes/Lq7mZ2xW \
-H "Authorization: Bearer <token>"
{
"id": "Lq7mZ2xW",
"name": "Our brand",
"visibility": "team",
"definition": {
"name": "Our brand",
"font": "Open Sans",
"colors": {
"background": "#ffffff",
"question": "#111111",
"answer": "#333333",
"button": "#0055ff"
},
"background": false,
"roundness": "rounded"
}
}

The keys of definition are described in Themes.

StatusMeaning
403The token lacks themes:read.
404No such theme, or it belongs to another team.