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.
curl --request GET \
--url 'https://api.notiondesk.so/sites/{site_id}/settings/customize' \
--header 'Authorization: Bearer <token>'Авторизация
- Authorizationstringheader
api_key · http · bearer
read - Authorizationstringheader
oauth · oauth2
read
Параметры пути
- site_idstringобязательно
The
idof a site from List sites.
Заголовки
- 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.
Ответы
The site's branding.
Заголовки
- 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;
0while requests remain.
- colorsobject | nullобязательно
The site colours. A colour you leave out keeps its value, and
nullleaves 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 | nullобязательно
The colour mode readers get.
nullleaves it unchanged.- defaultstring | null
- strictboolean
- layout_collectionstringобязательно
- layout_articlestringобязательно
- primary_fontstring | nullобязательно
- secondary_fontstring | nullобязательно
- header_variantstring | nullобязательно
- headline_sizestring | nullобязательно
- header_background_typestring | nullобязательно
- header_gradient_typestring | nullобязательно
- header_gradient_angleinteger | nullобязательно
- header_gradient_colorsobject[]обязательно
- colorstring
A
#rrggbbhexadecimal colour. - positioninteger | null
- header_shape_typestring | nullобязательно
Advanced customization.
- header_linksobject[]обязательно
- titlestring | null
- urlstring | null
- header_link_translationsobject[]обязательно
- localestring | null
- linksobject[]
- titlestring | null
- urlstring | null
- homepage_linkstring | nullобязательно
- homepage_link_translationsobject[]обязательно
- localestring | null
- valuestring | null
- search_bar_lengthstringобязательно
- search_bar_alignmentstringобязательно
- search_bar_corner_stylestringобязательно
- search_bar_shadowstring | nullобязательно
- search_result_variantstring | nullобязательно
- instant_searchbooleanобязательно
Advanced customization.
- segmented_search_resultsbooleanобязательно
Advanced customization.
- ai_search_enabledbooleanобязательно
- ai_search_display_modestring | nullобязательно
Advanced customization.
- ai_search_aside_positionstring | nullобязательно
Advanced customization.
- collections_stylestringобязательно
- collection_card_corner_stylestringобязательно
- collection_section_variantstring | nullобязательно
- collection_content_variantstring | nullобязательно
- collapsable_sub_categoriesbooleanобязательно
- collapsable_sub_categories_default_statestringобязательно
- show_collection_iconsbooleanобязательно
- show_collection_descriptionsbooleanобязательно
- show_collection_contentbooleanобязательно
- show_collection_authorsbooleanобязательно
- show_collection_articles_countbooleanобязательно
- articles_stylestringобязательно
- article_card_corner_stylestringобязательно
- content_tabs_stylestring | nullобязательно
nullleaves it unchanged. - article_footer_variantstring | nullобязательно
- table_of_contents_positionstringобязательно
- show_table_of_contentsbooleanобязательно
- show_article_iconsbooleanобязательно
- show_article_descriptionsbooleanобязательно
- show_article_authorsbooleanобязательно
- show_related_articlesbooleanобязательно
- show_breadcrumb_iconboolean | nullобязательно
nullfor a site that never set it. - show_article_publish_datebooleanобязательно
Advanced customization.
- show_article_page_authorbooleanобязательно
Advanced customization.
- show_article_feedback_formboolean | nullобязательно
Advanced customization.
nullfor a site that never set it. - require_email_for_article_feedbackboolean | nullобязательно
Advanced customization.
nullfor a site that never set it. - feedback_reaction_stylestring | nullобязательно
Advanced customization.
- feedback_question_labelstring | nullобязательно
Advanced customization.
- feedback_comment_modestring | nullобязательно
Advanced customization.
- aside_menu_expansion_modestring | nullобязательно
Advanced customization.
- show_aside_menu_article_iconsbooleanобязательно
Advanced customization.
- show_aside_menu_collection_iconsbooleanобязательно
Advanced customization.
- footer_layoutstringобязательно
Advanced customization.
- footer_shape_typestring | nullобязательно
Advanced customization.
- footer_linksobject[]обязательно
Advanced customization.
- titlestring | null
- linksobject[]
- titlestring | null
- urlstring | null
- footer_link_translationsobject[]обязательно
Advanced customization.
- localestring | null
- groupsobject[]
- titlestring | null
- linksobject[]
- titlestring | null
- urlstring | null
- footer_text_translationsobject[]обязательно
Advanced customization.
- localestring | null
- valuestring | null
- social_media_linksobject[]обязательно
Advanced customization.
- titlestring | null
- urlstring | null
- social_link_translationsobject[]обязательно
Advanced customization.
- localestring | null
- linksobject[]
- titlestring | null
- urlstring | null
- show_contact_us_buttonbooleanобязательно
Advanced customization. While it is
true, every update turns the site's contact form on. - contact_us_custom_linkstring | nullобязательно
Advanced customization.
- contact_us_button_positionstring | nullобязательно
Advanced customization.
- show_powered_by_badgebooleanобязательно
Remove branding.
- themestring | nullобязательно
The
codeof a theme from List themes.nullleaves the theme unchanged. Advanced customization.