Sites
Get a site
Reads a site and its settings: access, languages, sync, translation, AI features, contact form and changelog.
curl --request GET \
--url 'https://api.notiondesk.so/sites/{site_id}' \
--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.
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.
- idstringobligatoire
The site identifier.
- full_domainstring | nullobligatoire
The domain readers visit: the custom domain when one is active, otherwise the Notiondesk subdomain.
- enabledbooleanobligatoire
Whether the site is enabled.
- default_localestringobligatoire
The site's default language, for example
en. - access_modestring | nullobligatoire
Who can read the site.
- guest_access_requires_loginbooleanobligatoire
Whether guest-account sites ask readers to sign in.
- supported_localesstring[]obligatoire
The languages the site serves, default first, limited to your plan's language allowance.
- available_localesstring[]obligatoire
Every language a site can be configured to serve.
- auto_sync_enabledbooleanobligatoire
Whether the site syncs from its source on a schedule.
- seo_indexing_enabledbooleanobligatoire
Whether search engines may index the site.
- setting_content_itemsobject[]obligatoire
The page title and description per enabled language.
- localestringobligatoire
- page_titlestring | nullobligatoire
- page_descriptionstring | nullobligatoire
- auto_translate_enabledbooleanobligatoire
Whether missing translations are produced automatically.
- auto_translate_source_localestring | nullobligatoire
The language automatic translation reads from.
- llms_txt_enabledbooleanobligatoire
Whether the site publishes
llms.txt. - markdown_export_enabledbooleanobligatoire
Whether articles can be read as markdown.
- ai_contextual_menu_enabledbooleanobligatoire
Whether articles show the AI contextual menu.
- mcp_search_enabledbooleanobligatoire
Whether the site's public MCP search is on.
- contact_form_enabledbooleanobligatoire
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_enabledbooleanobligatoire
Whether the changelog is published.
- changelog_email_subscriptions_enabledbooleanobligatoire
Whether readers can subscribe to changelog emails.
- changelog_reactions_enabledbooleanobligatoire
Whether readers can react to changelog entries.
- changelog_email_subject_patternstring | nullobligatoire
The subject line pattern of changelog emails.
- changelog_categoriesobject[]obligatoire
The changelog categories.
- category_idstringobligatoire
- colorstring | nullobligatoire