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>'Autorisations
- Authorizationstringheader
api_key · http · bearer
read - Authorizationstringheader
oauth · oauth2
read
Paramètres de chemin
- site_idstringobligatoire
The
idof a site from List sites.
En-têtes
- 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.
Réponses
The site's branding.
En-têtes
- 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 | nullobligatoire
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 | nullobligatoire
The colour mode readers get.
nullleaves it unchanged.- defaultstring | null
- strictboolean
- layout_collectionstringobligatoire
- layout_articlestringobligatoire
- primary_fontstring | nullobligatoire
- secondary_fontstring | nullobligatoire
- header_variantstring | nullobligatoire
- headline_sizestring | nullobligatoire
- header_background_typestring | nullobligatoire
- header_gradient_typestring | nullobligatoire
- header_gradient_angleinteger | nullobligatoire
- header_gradient_colorsobject[]obligatoire
- colorstring
A
#rrggbbhexadecimal colour. - positioninteger | null
- header_shape_typestring | nullobligatoire
Advanced customization.
- header_linksobject[]obligatoire
- titlestring | null
- urlstring | null
- header_link_translationsobject[]obligatoire
- localestring | null
- linksobject[]
- titlestring | null
- urlstring | null
- homepage_linkstring | nullobligatoire
- homepage_link_translationsobject[]obligatoire
- localestring | null
- valuestring | null
- search_bar_lengthstringobligatoire
- search_bar_alignmentstringobligatoire
- search_bar_corner_stylestringobligatoire
- search_bar_shadowstring | nullobligatoire
- search_result_variantstring | nullobligatoire
- instant_searchbooleanobligatoire
Advanced customization.
- segmented_search_resultsbooleanobligatoire
Advanced customization.
- ai_search_enabledbooleanobligatoire
- ai_search_display_modestring | nullobligatoire
Advanced customization.
- ai_search_aside_positionstring | nullobligatoire
Advanced customization.
- collections_stylestringobligatoire
- collection_card_corner_stylestringobligatoire
- collection_section_variantstring | nullobligatoire
- collection_content_variantstring | nullobligatoire
- collapsable_sub_categoriesbooleanobligatoire
- collapsable_sub_categories_default_statestringobligatoire
- show_collection_iconsbooleanobligatoire
- show_collection_descriptionsbooleanobligatoire
- show_collection_contentbooleanobligatoire
- show_collection_authorsbooleanobligatoire
- show_collection_articles_countbooleanobligatoire
- articles_stylestringobligatoire
- article_card_corner_stylestringobligatoire
- content_tabs_stylestring | nullobligatoire
nullleaves it unchanged. - article_footer_variantstring | nullobligatoire
- table_of_contents_positionstringobligatoire
- show_table_of_contentsbooleanobligatoire
- show_article_iconsbooleanobligatoire
- show_article_descriptionsbooleanobligatoire
- show_article_authorsbooleanobligatoire
- show_related_articlesbooleanobligatoire
- show_breadcrumb_iconboolean | nullobligatoire
nullfor a site that never set it. - show_article_publish_datebooleanobligatoire
Advanced customization.
- show_article_page_authorbooleanobligatoire
Advanced customization.
- show_article_feedback_formboolean | nullobligatoire
Advanced customization.
nullfor a site that never set it. - require_email_for_article_feedbackboolean | nullobligatoire
Advanced customization.
nullfor a site that never set it. - feedback_reaction_stylestring | nullobligatoire
Advanced customization.
- feedback_question_labelstring | nullobligatoire
Advanced customization.
- feedback_comment_modestring | nullobligatoire
Advanced customization.
- aside_menu_expansion_modestring | nullobligatoire
Advanced customization.
- show_aside_menu_article_iconsbooleanobligatoire
Advanced customization.
- show_aside_menu_collection_iconsbooleanobligatoire
Advanced customization.
- footer_layoutstringobligatoire
Advanced customization.
- footer_shape_typestring | nullobligatoire
Advanced customization.
- footer_linksobject[]obligatoire
Advanced customization.
- titlestring | null
- linksobject[]
- titlestring | null
- urlstring | null
- footer_link_translationsobject[]obligatoire
Advanced customization.
- localestring | null
- groupsobject[]
- titlestring | null
- linksobject[]
- titlestring | null
- urlstring | null
- footer_text_translationsobject[]obligatoire
Advanced customization.
- localestring | null
- valuestring | null
- social_media_linksobject[]obligatoire
Advanced customization.
- titlestring | null
- urlstring | null
- social_link_translationsobject[]obligatoire
Advanced customization.
- localestring | null
- linksobject[]
- titlestring | null
- urlstring | null
- show_contact_us_buttonbooleanobligatoire
Advanced customization. While it is
true, every update turns the site's contact form on. - contact_us_custom_linkstring | nullobligatoire
Advanced customization.
- contact_us_button_positionstring | nullobligatoire
Advanced customization.
- show_powered_by_badgebooleanobligatoire
Remove branding.
- themestring | nullobligatoire
The
codeof a theme from List themes.nullleaves the theme unchanged. Advanced customization.