Get page sections
This endpoint allows you to fetch page sections
GET
This endpoint allows you to fetch page sections
Loading code example
Loading code example
Query Parameters
websiteIdstring<uuid>required
Unique identifier for the website to filter by
organizationIdstring<uuid>required
Unique identifier for the organization to filter by
placement"global" | "page"required
Placement of the page section
Allowed values:
"global" | "page"pageIdstring<uuid>
Unique identifier for the page to filter by
all"1"
Whether to get all sections regardless of duration
Allowed values:
"1"pageSectionType"all_items" | "discovery_item" | "discovery_items_grid"
Type of the page section to filter by
Allowed values:
"all_items" | "discovery_item" | "discovery_items_grid"Response
application/json
200
idstring<uuid>requiredUnique identifier for the page section
websiteIdstring<uuid>requiredUnique identifier for the website
organizationIdstring<uuid>requiredUnique identifier for the organization
titlestringTitle of the page section
pageSectionType"all_items" | "discovery_item" | "discovery_items_grid"Type of the page section
Allowed values:
"all_items" | "discovery_item" | "discovery_items_grid"placement"global" | "page"requiredPlacement of the page section
Allowed values:
"global" | "page"sortIdnumberOrder of the page section
pageIdstring<uuid>ID of the page this section belongs to
durationStartstring<date-time>requiredStart time of the page section visibility
durationEndstring<date-time>End time of the page section visibility
bannerobjectbanner.idstring<uuid>requiredbanner.websiteCollectionBannersarray<object>requiredbanner.carouselobjectitemsGridsarray<object>itemsGrids.idstring<uuid>requireddiscoveryItemsarray<object>discoveryItems.idstring<uuid>requireddiscoveryItems.titlestringrequireddiscoveryItems.descriptionstringdiscoveryItems.layout"container_style" | "full_width_hero"Allowed values:
"container_style" | "full_width_hero"discoveryItems.loyaltySectionstringdiscoveryItems.pageMediaLinkstringdiscoveryItems.mediaLinkstringdiscoveryItems.websitestringdiscoveryItems.twitterstringdiscoveryItems.loyaltyRuleGroupIdstringdiscoveryItems.sortIdnumberdiscoveryItems.buttonTextstringdiscoveryItems.externalLinkstringdiscoveryItems.hideQuestInfobooleanDefault:
false