$site->apiUrl() Returns the url to the api endpoint kirby/src/Cms/Site.php#L163 $site->apiUrl(bool $relative = false): string Parameters Name Type Default $relative bool false Return type string Parent class Kirby\Cms\Site