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} Example
Section titled “Example”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.
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
403 | The token lacks themes:read. |
404 | No such theme, or it belongs to another team. |