Branding
List themes
Lists the themes a site can use, in display order, in one unpaged response. Set one with the theme field of Update customize settings.
cURL
curl --request GET \
--url 'https://api.notiondesk.so/sites/{site_id}/themes' \
--header 'Authorization: Bearer <token>'Authorizations
- Authorizationstringheader
api_key · http · bearer
read - Authorizationstringheader
oauth · oauth2
read
Path parameters
- site_idstringrequired
The
idof a site from List sites.
Headers
- 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.
Responses
Every theme the site can use.
Headers
- 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.
- objectstringrequired
- datarequired
- has_morebooleanrequired
- next_cursorstring | nullrequired
Pass it back as
cursorto read the next page;nullon the last page.