Toast
API Reference

Site

Public site information for themes and Content API. Edge-cacheable.

GET
/api/site

Returns public site information safe for themes and Content API. Includes caching headers for edge caching. No authentication required.

Response Body

Public site information

application/json
  1. response
name*string
description?string
logo?string
Formaturi
icon?string
Formaturi
coverImage?string
Formaturi
accentColor?string
timezone*string
locale*string
metaTitle?string
metaDescription?string
ogImage?string
Formaturi
Example Request
curl -X GET 'https://example.com/api/site'
Example Response
{  "name": "string",  "description": "string",  "logo": "http://example.com",  "icon": "http://example.com",  "coverImage": "http://example.com",  "accentColor": "string",  "timezone": "string",  "locale": "string",  "metaTitle": "string",  "metaDescription": "string",  "ogImage": "http://example.com"}