Sites

Get a site

Reads a site and its settings: access, languages, sync, translation, AI features, contact form and changelog.

GET
/sites/{site_id}
cURL
curl --request GET \
  --url 'https://api.notiondesk.so/sites/{site_id}' \
  --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.

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.

  • idstringwymagane

    The site identifier.

  • full_domainstring | nullwymagane

    The domain readers visit: the custom domain when one is active, otherwise the Notiondesk subdomain.

  • enabledbooleanwymagane

    Whether the site is enabled.

  • default_localestringwymagane

    The site's default language, for example en.

  • access_modestring | nullwymagane

    Who can read the site.

  • guest_access_requires_loginbooleanwymagane

    Whether guest-account sites ask readers to sign in.

  • supported_localesstring[]wymagane

    The languages the site serves, default first, limited to your plan's language allowance.

  • available_localesstring[]wymagane

    Every language a site can be configured to serve.

  • auto_sync_enabledbooleanwymagane

    Whether the site syncs from its source on a schedule.

  • seo_indexing_enabledbooleanwymagane

    Whether search engines may index the site.

  • setting_content_itemsobject[]wymagane

    The page title and description per enabled language.

    • localestringwymagane
    • page_titlestring | nullwymagane
    • page_descriptionstring | nullwymagane
  • auto_translate_enabledbooleanwymagane

    Whether missing translations are produced automatically.

  • auto_translate_source_localestring | nullwymagane

    The language automatic translation reads from.

  • llms_txt_enabledbooleanwymagane

    Whether the site publishes llms.txt.

  • markdown_export_enabledbooleanwymagane

    Whether articles can be read as markdown.

  • ai_contextual_menu_enabledbooleanwymagane

    Whether articles show the AI contextual menu.

  • mcp_search_enabledbooleanwymagane

    Whether the site's public MCP search is on.

  • contact_form_enabledbooleanwymagane

    Whether the site shows its contact form. While the workspace has the Service Desk Inbox enabled, every site shows it whatever this value holds.

  • changelog_enabledbooleanwymagane

    Whether the changelog is published.

  • changelog_email_subscriptions_enabledbooleanwymagane

    Whether readers can subscribe to changelog emails.

  • changelog_reactions_enabledbooleanwymagane

    Whether readers can react to changelog entries.

  • changelog_email_subject_patternstring | nullwymagane

    The subject line pattern of changelog emails.

  • changelog_categoriesobject[]wymagane

    The changelog categories.

    • category_idstringwymagane
    • colorstring | nullwymagane