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>'

Autoryzacje

  • Authorizationstringheader

    api_key · http · bearer

    read
  • Authorizationstringheader

    oauth · oauth2

    read

Parametry ścieżki

  • site_idstringwymagane

    The id of a site from List sites.

Nagłówki

  • 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.

Odpowiedzi

The site's branding.

Nagłówki

  • 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 | nullwymagane

    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 | nullwymagane

    The colour mode readers get. null leaves it unchanged.

    • defaultstring | null
    • strictboolean
  • layout_collectionstringwymagane
  • layout_articlestringwymagane
  • primary_fontstring | nullwymagane
  • secondary_fontstring | nullwymagane
  • header_variantstring | nullwymagane
  • headline_sizestring | nullwymagane
  • header_background_typestring | nullwymagane
  • header_gradient_typestring | nullwymagane
  • header_gradient_angleinteger | nullwymagane
  • header_gradient_colorsobject[]wymagane
    • colorstring

      A #rrggbb hexadecimal colour.

    • positioninteger | null
  • header_shape_typestring | nullwymagane

    Advanced customization.

  • header_linksobject[]wymagane
    • titlestring | null
    • urlstring | null
  • header_link_translationsobject[]wymagane
    • localestring | null
    • linksobject[]
      • titlestring | null
      • urlstring | null
  • homepage_linkstring | nullwymagane
  • homepage_link_translationsobject[]wymagane
    • localestring | null
    • valuestring | null
  • search_bar_lengthstringwymagane
  • search_bar_alignmentstringwymagane
  • search_bar_corner_stylestringwymagane
  • search_bar_shadowstring | nullwymagane
  • search_result_variantstring | nullwymagane
  • instant_searchbooleanwymagane

    Advanced customization.

  • segmented_search_resultsbooleanwymagane

    Advanced customization.

  • ai_search_enabledbooleanwymagane
  • ai_search_display_modestring | nullwymagane

    Advanced customization.

  • ai_search_aside_positionstring | nullwymagane

    Advanced customization.

  • collections_stylestringwymagane
  • collection_card_corner_stylestringwymagane
  • collection_section_variantstring | nullwymagane
  • collection_content_variantstring | nullwymagane
  • collapsable_sub_categoriesbooleanwymagane
  • collapsable_sub_categories_default_statestringwymagane
  • show_collection_iconsbooleanwymagane
  • show_collection_descriptionsbooleanwymagane
  • show_collection_contentbooleanwymagane
  • show_collection_authorsbooleanwymagane
  • show_collection_articles_countbooleanwymagane
  • articles_stylestringwymagane
  • article_card_corner_stylestringwymagane
  • content_tabs_stylestring | nullwymagane

    null leaves it unchanged.

  • article_footer_variantstring | nullwymagane
  • table_of_contents_positionstringwymagane
  • show_table_of_contentsbooleanwymagane
  • show_article_iconsbooleanwymagane
  • show_article_descriptionsbooleanwymagane
  • show_article_authorsbooleanwymagane
  • show_related_articlesbooleanwymagane
  • show_breadcrumb_iconboolean | nullwymagane

    null for a site that never set it.

  • show_article_publish_datebooleanwymagane

    Advanced customization.

  • show_article_page_authorbooleanwymagane

    Advanced customization.

  • show_article_feedback_formboolean | nullwymagane

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

  • require_email_for_article_feedbackboolean | nullwymagane

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

  • feedback_reaction_stylestring | nullwymagane

    Advanced customization.

  • feedback_question_labelstring | nullwymagane

    Advanced customization.

  • feedback_comment_modestring | nullwymagane

    Advanced customization.

  • aside_menu_expansion_modestring | nullwymagane

    Advanced customization.

  • show_aside_menu_article_iconsbooleanwymagane

    Advanced customization.

  • show_aside_menu_collection_iconsbooleanwymagane

    Advanced customization.

  • footer_layoutstringwymagane

    Advanced customization.

  • footer_shape_typestring | nullwymagane

    Advanced customization.

  • footer_linksobject[]wymagane

    Advanced customization.

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

    Advanced customization.

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

    Advanced customization.

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

    Advanced customization.

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

    Advanced customization.

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

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

  • contact_us_custom_linkstring | nullwymagane

    Advanced customization.

  • contact_us_button_positionstring | nullwymagane

    Advanced customization.

  • show_powered_by_badgebooleanwymagane

    Remove branding.

  • themestring | nullwymagane

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