Branding

Get customize settings

Reads a site's branding: colours, fonts, layout, header, footer, links and theme. It returns exactly the fields Update customize settings accepts; custom code and media are dashboard-only.

GET
/sites/{site_id}/settings/customize
cURL
curl --request GET \
  --url 'https://api.notiondesk.so/sites/{site_id}/settings/customize' \
  --header 'Authorization: Bearer <token>'

Autorisaties

  • Authorizationstringheader

    api_key · http · bearer

    read
  • Authorizationstringheader

    oauth · oauth2

    read

Padparameters

  • site_idstringverplicht

    The id of a site from List sites.

Headers

  • nd-versionstring

    The contract version your integration was written against. Without it, the request uses the current version. An unknown value answers 400 invalid_version.

Antwoorden

The site's branding.

Headers

  • nd-versionstring

    The contract version that answered the request.

  • X-RateLimit-Limitinteger

    Requests allowed per minute: 120 for GET, 20 for writes, per key or OAuth grant.

  • X-RateLimit-Remaininginteger

    Requests left in the current window.

  • Retry-Afterinteger

    Seconds until the next request is accepted; 0 while requests remain.

  • colorsobject | nullverplicht

    The site colours. A colour you leave out keeps its value, and null leaves them unchanged.

    • primarystring
    • textstring
    • linkstring
    • link_hoverstring
    • headerstring
    • header_topstring
    • header_textstring
    • header_top_textstring
    • header_linkstring
    • header_link_hoverstring
    • backgroundstring
    • footer_backgroundstring
    • footer_textstring
    • article_card_backgroundstring
    • collection_card_backgroundstring
    • aside_menu_textstring
    • aside_menu_text_hoverstring
    • aside_menu_background_hoverstring
    • dark
  • appearanceobject | nullverplicht

    The colour mode readers get. null leaves it unchanged.

    • defaultstring | null
    • strictboolean
  • layout_collectionstringverplicht
  • layout_articlestringverplicht
  • primary_fontstring | nullverplicht
  • secondary_fontstring | nullverplicht
  • header_variantstring | nullverplicht
  • headline_sizestring | nullverplicht
  • header_background_typestring | nullverplicht
  • header_gradient_typestring | nullverplicht
  • header_gradient_angleinteger | nullverplicht
  • header_gradient_colorsobject[]verplicht
    • colorstring

      A #rrggbb hexadecimal colour.

    • positioninteger | null
  • header_shape_typestring | nullverplicht

    Advanced customization.

  • header_linksobject[]verplicht
    • titlestring | null
    • urlstring | null
  • header_link_translationsobject[]verplicht
    • localestring | null
    • linksobject[]
      • titlestring | null
      • urlstring | null
  • homepage_linkstring | nullverplicht
  • homepage_link_translationsobject[]verplicht
    • localestring | null
    • valuestring | null
  • search_bar_lengthstringverplicht
  • search_bar_alignmentstringverplicht
  • search_bar_corner_stylestringverplicht
  • search_bar_shadowstring | nullverplicht
  • search_result_variantstring | nullverplicht
  • instant_searchbooleanverplicht

    Advanced customization.

  • segmented_search_resultsbooleanverplicht

    Advanced customization.

  • ai_search_enabledbooleanverplicht
  • ai_search_display_modestring | nullverplicht

    Advanced customization.

  • ai_search_aside_positionstring | nullverplicht

    Advanced customization.

  • collections_stylestringverplicht
  • collection_card_corner_stylestringverplicht
  • collection_section_variantstring | nullverplicht
  • collection_content_variantstring | nullverplicht
  • collapsable_sub_categoriesbooleanverplicht
  • collapsable_sub_categories_default_statestringverplicht
  • show_collection_iconsbooleanverplicht
  • show_collection_descriptionsbooleanverplicht
  • show_collection_contentbooleanverplicht
  • show_collection_authorsbooleanverplicht
  • show_collection_articles_countbooleanverplicht
  • articles_stylestringverplicht
  • article_card_corner_stylestringverplicht
  • content_tabs_stylestring | nullverplicht

    null leaves it unchanged.

  • article_footer_variantstring | nullverplicht
  • table_of_contents_positionstringverplicht
  • show_table_of_contentsbooleanverplicht
  • show_article_iconsbooleanverplicht
  • show_article_descriptionsbooleanverplicht
  • show_article_authorsbooleanverplicht
  • show_related_articlesbooleanverplicht
  • show_breadcrumb_iconboolean | nullverplicht

    null for a site that never set it.

  • show_article_publish_datebooleanverplicht

    Advanced customization.

  • show_article_page_authorbooleanverplicht

    Advanced customization.

  • show_article_feedback_formboolean | nullverplicht

    Advanced customization. null for a site that never set it.

  • require_email_for_article_feedbackboolean | nullverplicht

    Advanced customization. null for a site that never set it.

  • feedback_reaction_stylestring | nullverplicht

    Advanced customization.

  • feedback_question_labelstring | nullverplicht

    Advanced customization.

  • feedback_comment_modestring | nullverplicht

    Advanced customization.

  • aside_menu_expansion_modestring | nullverplicht

    Advanced customization.

  • show_aside_menu_article_iconsbooleanverplicht

    Advanced customization.

  • show_aside_menu_collection_iconsbooleanverplicht

    Advanced customization.

  • footer_layoutstringverplicht

    Advanced customization.

  • footer_shape_typestring | nullverplicht

    Advanced customization.

  • footer_linksobject[]verplicht

    Advanced customization.

    • titlestring | null
    • linksobject[]
      • titlestring | null
      • urlstring | null
  • footer_link_translationsobject[]verplicht

    Advanced customization.

    • localestring | null
    • groupsobject[]
      • titlestring | null
      • linksobject[]
        • titlestring | null
        • urlstring | null
  • footer_text_translationsobject[]verplicht

    Advanced customization.

    • localestring | null
    • valuestring | null
  • social_media_linksobject[]verplicht

    Advanced customization.

    • titlestring | null
    • urlstring | null
  • social_link_translationsobject[]verplicht

    Advanced customization.

    • localestring | null
    • linksobject[]
      • titlestring | null
      • urlstring | null
  • show_contact_us_buttonbooleanverplicht

    Advanced customization. While it is true, every update turns the site's contact form on.

  • contact_us_custom_linkstring | nullverplicht

    Advanced customization.

  • contact_us_button_positionstring | nullverplicht

    Advanced customization.

  • show_powered_by_badgebooleanverplicht

    Remove branding.

  • themestring | nullverplicht

    The code of a theme from List themes. null leaves the theme unchanged. Advanced customization.