Method Details
HTTP Methods:
GET
Response Format:
json
Requires Authentication?
Yes
Rate Limited?
Headers
Products:
Marketing
Required Scope:
Get all layouts for an account. Supports paging and filtering.
There's a new version of the HubSpot API
We're also working on a new documentation website, you're invited to check it out and give us your feedback.
HTTP Methods:
GET
Response Format:
json
Requires Authentication?
Yes
Rate Limited?
Headers
Products:
Marketing
Required Scope:
Get all layouts for an account. Supports paging and filtering.
Required Parameters | How to use | Description |
---|---|---|
OAuth access token or private app access token | Authorization: Bearer {token} header | Used to authenticate the request. Please see this page for more details about authentication. |
Parameter name | Description |
---|---|
limit | The number of items to return. Defaults to 20 |
offset | The offset set to start returning rows from. Defaults to 0. |
category_id | exact |
created | exact, range, gt, gte, lt, lte |
deleted_at | Use a DELETE request to delete the layout - do not set this directly. |
id | exact, in |
label | exact |
path | exact |
custom_head | Custom HTML added to the head of pages using the layout. |
include_default_custom_css | Flag to include the Primary CSS stylesheet. Defaults to use value from Site Settings. Can be overridden at the page level. |
enable_domain_stylesheet | Flag to include the domain stylesheets for a page using the layout. Can be overridden at the page level. |
attached_stylesheets | List of references to stylesheets that are attached directly to the layout. Can be overridden at the page level. |
Parameter name | Type | Description |
---|---|---|
body_class | string | The CSS class applied to the layout body |
body_css_id | string | The CSS id applied to the layout body |
category_id | string | The category the layout applies to |
created | long | When the layout was first created, in milliseconds since the epoch |
deleted_at | long | When the layout was deleted, in milliseconds since the epoch. Zero if the layout was never deleted. Use a DELETE request to layout the page, do not set this directly. |
id | string | The unique id of the layout |
label | string | The name of the layout that shows up in template builder |
layout_data | string | A complex JSON structure with the actual data for the layout |
path | string | The path of the layout as it shows up in template builder |
updated | long | When the layout was last updated, in milliseconds since the epoch |
Hi there,
Describe what you have to offer the customer. Why should they read? What did you promise them in the subject line? Tell them something cool. Make them laugh. Make them cry. Well, maybe don't do that...
Use a list to:
LINK TO A LANDING PAGE ON YOUR SITE (This is the really important part.)
Now wrap it all up with a pithy little reminder of how much you love them.
Aw. You silver-tongued devil, you.
Sincerely,
Your name
" }, "root": false, "row": false, "row_meta_data": [], "rows": [], "type": "email_body", "w": 12, "widgets": [], "x": 0 } }, { "0": { "cell": false, "cells": [], "css_class": "", "css_id": "", "css_id_str": "", "css_style": "", "editable": false, "id": "module_151456955461533", "is_container": false, "is_content_overridden": false, "is_in_container": false, "language_overrides": {}, "order": 0, "params": {}, "root": false, "row": false, "row_meta_data": [], "rows": [], "section_name": "footer", "type": "section_delimiter", "w": 12, "widgets": [], "x": 0 } }, { "0": { "cell": false, "cells": [], "css_class": "", "css_id": "", "css_id_str": "", "css_style": "", "editable": false, "id": "module_151456955461534", "is_container": false, "is_content_overridden": false, "is_in_container": false, "label": "Office Location Information", "language_overrides": {}, "name": "email_can_spam", "order": 0, "params": { "html": "
You received this email because you are subscribed to
from HubSpot.
Update your email preferences
to choose the types of emails you receive.
Unsubscribe from all future emails