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

Autorisierungen

  • Authorizationstringheader

    api_key · http · bearer

    read
  • Authorizationstringheader

    oauth · oauth2

    read

Pfadparameter

  • site_idstringerforderlich

    The id of a site from List sites.

Header

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

Antworten

The site.

Header

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

  • idstringerforderlich

    The site identifier.

  • full_domainstring | nullerforderlich

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

  • enabledbooleanerforderlich

    Whether the site is enabled.

  • default_localestringerforderlich

    The site's default language, for example en.

  • access_modestring | nullerforderlich

    Who can read the site.

  • guest_access_requires_loginbooleanerforderlich

    Whether guest-account sites ask readers to sign in.

  • supported_localesstring[]erforderlich

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

  • available_localesstring[]erforderlich

    Every language a site can be configured to serve.

  • auto_sync_enabledbooleanerforderlich

    Whether the site syncs from its source on a schedule.

  • seo_indexing_enabledbooleanerforderlich

    Whether search engines may index the site.

  • setting_content_itemsobject[]erforderlich

    The page title and description per enabled language.

    • localestringerforderlich
    • page_titlestring | nullerforderlich
    • page_descriptionstring | nullerforderlich
  • auto_translate_enabledbooleanerforderlich

    Whether missing translations are produced automatically.

  • auto_translate_source_localestring | nullerforderlich

    The language automatic translation reads from.

  • llms_txt_enabledbooleanerforderlich

    Whether the site publishes llms.txt.

  • markdown_export_enabledbooleanerforderlich

    Whether articles can be read as markdown.

  • ai_contextual_menu_enabledbooleanerforderlich

    Whether articles show the AI contextual menu.

  • mcp_search_enabledbooleanerforderlich

    Whether the site's public MCP search is on.

  • contact_form_enabledbooleanerforderlich

    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_enabledbooleanerforderlich

    Whether the changelog is published.

  • changelog_email_subscriptions_enabledbooleanerforderlich

    Whether readers can subscribe to changelog emails.

  • changelog_reactions_enabledbooleanerforderlich

    Whether readers can react to changelog entries.

  • changelog_email_subject_patternstring | nullerforderlich

    The subject line pattern of changelog emails.

  • changelog_categoriesobject[]erforderlich

    The changelog categories.

    • category_idstringerforderlich
    • colorstring | nullerforderlich