Brand settings
List brand styles
GET /design_settings
GET
/design_settingsReturns the brand styles of the account. Each one holds the color palette, fonts, heading and text styles, button style, logos and social links used to style emails and landing pages.
When to use: To see which brand styles the account has, for example to pick the default one before generating or designing an email.
When not to use: To read one style in full use get_design_setting.
Permissions: Requires the author role or higher, or the marketing.templates.read capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Query Parameters
page?integer
The collection page number
Default
1itemsPerPage?integer
The number of items per page
Range
0 <= value <= 50Default
30Response Body
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/design_settings" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "id": 0, "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "title": "string", "color_palette": [ { "title": "string", "color": "string" } ], "button": { "styles": { "background_color": "string", "color": "string", "font_family": "string", "font_weight": "string", "font_size": "string", "border_radius": "string", "padding": "string" } }, "email_width": 400, "page_width": 800, "social_links": [ { "key": "facebook", "title": "string", "url": "http://example.com", "icon_url": "http://example.com", "icon_url_white": "http://example.com" } ], "default_fonts": [ { "name": "string", "font_family": "string", "url": "http://example.com", "font_weight": {}, "active": true } ], "custom_fonts": [ { "name": "string", "font_family": "string", "url": "http://example.com", "font_weight": {}, "active": true } ], "titles": { "h1": { "color": "string", "font_family": "string", "font_size": "string", "font_weight": "string", "link_color": "string" }, "h2": { "color": "string", "font_family": "string", "font_size": "string", "font_weight": "string", "link_color": "string" }, "h3": { "color": "string", "font_family": "string", "font_size": "string", "font_weight": "string", "link_color": "string" } }, "texts": { "list": { "styles": { "color": "string", "font_family": "string", "font_size": "string", "font_weight": "string", "link_color": "string", "line_height": "string" } }, "paragraph": { "styles": { "color": "string", "font_family": "string", "font_size": "string", "font_weight": "string", "link_color": "string", "line_height": "string" } } }, "logo_light_url": "http://example.com", "logo_dark_url": "http://example.com", "default": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }]