API Reference - Pages

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000108123

← Back to API Reference | Getting Started

Pages

The Pages table stores all SEO-enabled pages on a directory site, including the homepage, static content pages, category pages, and custom landing pages. Each record controls the page's URL slug, title tags, meta data, on-page content, and display options. This is primarily a reference and content table; typical API usage is GET operations to retrieve page data, with updates made via the admin panel.

Model name in URL: list_seo — DB table: list_seo

The Page Object

FieldTypeDescription
seo_idintegerUnique page ID (primary key, read-only)
master_idintegerMaster record ID; 0 for site-level records
seo_typestringPage type identifier (EG home, profile, search); max 255 characters
databasestringDatabase table associated with this page type; max 255 characters
sectionstringSection or sub-type for this page; max 255 characters
database_idintegerID of the associated database record (EG category ID, service ID); 0 for global pages
filenamestringURL slug for this page (EG home, about-us); max 1000 characters
titletextHTML title tag content; supports platform template tokens (EG %Profession%)
meta_keywordstextMeta keywords for this page; supports platform template tokens
meta_desctextMeta description for this page; supports platform template tokens
seo_texttextAdditional SEO body text displayed on the page
date_updatedstringTimestamp of last update in YYYYMMDDHHmmss format; max 14 characters
updated_bystringEmail or identifier of the admin who last updated this record; max 255 characters
facebook_titlestringOpen Graph title for social sharing; max 255 characters
facebook_desctextOpen Graph description for social sharing
facebook_imagestringOpen Graph image URL for social sharing; max 255 characters
h1textH1 heading text for this page; supports template tokens
h2textH2 heading text for this page; supports template tokens
breadcrumbstringBreadcrumb label for this page; max 255 characters
content_menustringMenu section this page belongs to; max 255 characters
nicknamestringHuman-readable label for this page used in the admin panel (EG Homepage); max 255 characters
content_orderintegerSort order for this page within its menu/section
contenttextMain HTML content body of the page; supports widgets via [widget=Name] shortcodes
content_footertextAdditional HTML content displayed below the main content area
content_activeintegerWhether the content section is active and displayed; 1 = active, 0 = hidden
show_formintegerWhether to display a contact form on this page; 1 = show, 0 = hide
form_namestringName of the form to display if show_form is enabled; max 255 characters
content_imagestextJSON array of image references used in the page content
content_csstextCustom CSS scoped to this page (nullable)
content_settingstextJSON object of additional page settings and layout options
menu_layoutstringLayout template to use for the navigation menu on this page; max 255 characters
hide_from_menuintegerWhether to hide this page from navigation menus; 1 = hidden, 0 = visible
hide_header_linksintegerWhether to hide header navigation links on this page; 1 = hidden, 0 = visible
hide_headerintegerWhether to hide the site header on this page; 1 = hidden, 0 = visible
hide_footerintegerWhether to hide the site footer on this page; 1 = hidden, 0 = visible
hide_top_rightintegerWhether to hide the top-right header area on this page; 1 = hidden, 0 = visible
org_templateintegerID of the page template/layout to use for this page
content_groupstringGroup label for organizing this page in the admin panel; max 255 characters
content_layoutstringLayout variant to use for the content area of this page; max 255 characters
content_headtextHTML or widget shortcodes injected into the page header area (nullable)
content_sidebarstringSidebar configuration or widget shortcode for this page; max 255 characters
revision_timestamptimestampLast modified timestamp (auto-updated)
custom_html_placementstringCustom HTML placement identifier for this page; max 255 characters
allowed_productsstringComma-separated list of plan/product IDs that can access this page; empty means all plans; max 255 characters
content_footer_htmltextRaw HTML injected at the bottom of this page, below content and footer areas (nullable)
enable_hero_sectionstringEnable hero section on this page (0 or 1)
hero_imagestringHero section background image URL
hero_section_contentstringHero section HTML content
hero_alignmentstringHero content alignment (left, center, right)
hero_column_widthstringHero content column width
hero_top_paddingstringHero section top padding in pixels
hero_bottom_paddingstringHero section bottom padding in pixels
hero_content_font_sizestringHero content body font size
hero_content_font_colorstringHero content body font color
hero_content_overlay_colorstringHero background overlay color
hero_content_overlay_opacitystringHero background overlay opacity
hero_background_image_sizestringHero background image CSS size (cover, contain, etc.)
hero_hide_banner_adstringHide banner ad when hero is active (0 or 1)
hero_link_textstringHero call-to-action link text
hero_link_urlstringHero call-to-action link URL
hero_link_colorstringHero call-to-action link color
hero_link_sizestringHero call-to-action link font size
hero_link_target_blankstringOpen hero link in new tab (0 or 1)
h1_font_sizestringHero H1 heading font size
h1_font_weightstringHero H1 heading font weight
h1_font_colorstringHero H1 heading font color
h2_font_sizestringHero H2 heading font size
h2_font_weightstringHero H2 heading font weight
h2_font_colorstringHero H2 heading font color
linked_post_typestringLinked post type for this page
linked_post_categorystringLinked post category for this page
private_page_selectstringPrivate page access control setting
page_render_widgetstringWidget ID to render as page content

List Pages

GET /api/v2/list_seo/get

Returns a paginated list of page records.

Example Request

Copy
curl -X GET "https://www.yourdomain.com/api/v2/list_seo/get?limit=25" \
  -H "X-Api-Key: your-api-key-here"

Example Response

Copy
{
  "status": "success",
  "message": [
    {
      "seo_id": "1",
      "master_id": "0",
      "seo_type": "home",
      "database": "",
      "section": "",
      "database_id": "0",
      "filename": "home",
      "title": "%Profession% Directory - Find %%Profession%% - %%%website_name%%%",
      "meta_keywords": "%%%industry%%%,%%%profession%%%, %%%website_name%%%",
      "meta_desc": "Search the most complete %profession% directory.",
      "seo_text": "",
      "date_updated": "20260127152045",
      "updated_by": "admin@example.com",
      "facebook_title": "%%%Profession%%% Directory",
      "facebook_desc": "Find %%%profession%%% near you.",
      "facebook_image": "",
      "h1": "",
      "h2": "",
      "breadcrumb": "",
      "content_menu": "",
      "nickname": "Homepage",
      "content_order": "0",
      "content": "",
      "content_footer": "",
      "content_active": "1",
      "show_form": "0",
      "form_name": "",
      "content_images": "",
      "content_css": "",
      "content_settings": "",
      "menu_layout": "",
      "hide_from_menu": "0",
      "hide_header_links": "0",
      "hide_header": "0",
      "hide_footer": "0",
      "hide_top_right": "0",
      "org_template": "89",
      "content_group": "initial_content",
      "content_layout": "",
      "content_head": "",
      "content_sidebar": "",
      "revision_timestamp": "2026-03-28 11:35:02",
      "custom_html_placement": "",
      "allowed_products": "",
      "content_footer_html": ""
    }
  ],
  "total": "42",
  "current_page": 1,
  "total_pages": 2,
  "next_page": "MipfKjI="
}

Retrieve a Page Record

GET /api/v2/list_seo/get/{seo_id}

Example Request

Copy
curl -X GET "https://www.yourdomain.com/api/v2/list_seo/get/1" \
  -H "X-Api-Key: your-api-key-here"

Example Response

Copy
{
  "status": "success",
  "message": [
    {
      "seo_id": "1",
      "master_id": "0",
      "seo_type": "home",
      "filename": "home",
      "nickname": "Homepage",
      "title": "%Profession% Directory - Find %%Profession%% - %%%website_name%%%",
      "revision_timestamp": "2026-03-28 11:35:02"
    }
  ],
  "total": "1",
  "current_page": 1,
  "total_pages": 1
}

Create a Page Record

POST /api/v2/list_seo/create

Example Request

Copy
curl -X POST "https://www.yourdomain.com/api/v2/list_seo/create" \
  -H "X-Api-Key: your-api-key-here" \
  -d "seo_type=custom" \
  -d "filename=about-us" \
  -d "nickname=About+Us" \
  -d "title=About+Us+-+%%%website_name%%%" \
  -d "meta_desc=Learn+more+about+our+directory." \
  -d "content_active=1"

Example Response

Copy
{
  "status": "success",
  "message": {
    "seo_id": "43",
    "master_id": null,
    "seo_type": "custom",
    "filename": "about-us",
    "nickname": "About Us",
    "title": "About Us - %%%website_name%%%",
    "content_active": "1"
  }
}

Update a Page Record

PUT /api/v2/list_seo/update

Example Request

Copy
curl -X PUT "https://www.yourdomain.com/api/v2/list_seo/update" \
  -H "X-Api-Key: your-api-key-here" \
  -d "seo_id=43" \
  -d "title=About+Our+Directory+-+%%%website_name%%%" \
  -d "meta_desc=Discover+who+we+are+and+what+we+offer."

Example Response

Copy
{
  "status": "success",
  "message": {
    "seo_id": "43",
    "seo_type": "custom",
    "filename": "about-us",
    "nickname": "About Us",
    "title": "About Our Directory - %%%website_name%%%",
    "meta_desc": "Discover who we are and what we offer."
  }
}

Delete a Page Record

DELETE /api/v2/list_seo/delete

Example Request

Copy
curl -X DELETE "https://www.yourdomain.com/api/v2/list_seo/delete" \
  -H "X-Api-Key: your-api-key-here" \
  -d "seo_id=43"

Example Response

Copy
{
  "status": "success",
  "message": "list_seo record was deleted"
}