# DevHub API Documentation

## DevHub API Documentation

- [Introduction](https://api-docs.devhub.com/master.md)
- [Authentication](https://api-docs.devhub.com/authentication.md)
- [Errors](https://api-docs.devhub.com/errors.md)
- [Getting started guides](https://api-docs.devhub.com/getting-started-guides.md)
- [Business-focused Sites](https://api-docs.devhub.com/getting-started-guides/business-focused-sites.md): Example of how to integrate our API for publishing a Site dedicated to a particular Business and their single Location
- [Location-focused Sites](https://api-docs.devhub.com/getting-started-guides/location-focused-sites.md): Example of how to integrate our API for publishing a Site dedicated to a particular Business and one of their many Locations
- [Location pages and store locator with custom theme](https://api-docs.devhub.com/getting-started-guides/location-pages-and-store-locator-with-custom-theme.md): Start to finish examples of creating everything you need for location pages and a store locator
- [Site publishing with site builder access](https://api-docs.devhub.com/getting-started-guides/site-publishing-with-site-builder-access.md): Example integration flow for auto-building a Site for a customer, then giving them access to that site from your existing dashboard
- [Code examples](https://api-docs.devhub.com/code-examples.md)
- [Python](https://api-docs.devhub.com/code-examples/python.md)
- [PHP](https://api-docs.devhub.com/code-examples/php.md)
- [Perl](https://api-docs.devhub.com/code-examples/perl.md)
- [Best practices](https://api-docs.devhub.com/best-practices.md)
- [Our unique IDs, versus yours](https://api-docs.devhub.com/best-practices/our-ids-versus-yours.md)
- [State and country codes](https://api-docs.devhub.com/best-practices/state-and-country-codes.md): Reference to all the supported state and country codes within our platform
- [Sites](https://api-docs.devhub.com/core-resources/sites.md)
- [Businesses](https://api-docs.devhub.com/core-resources/businesses.md)
- [Locations](https://api-docs.devhub.com/core-resources/locations.md)
- [Domains](https://api-docs.devhub.com/core-resources/domains.md)
- [Proxies](https://api-docs.devhub.com/core-resources/proxies.md)
- [Pages](https://api-docs.devhub.com/content-resources/pages.md)
- [Content](https://api-docs.devhub.com/content-resources/content.md)
- [Images](https://api-docs.devhub.com/content-resources/images.md)
- [Files](https://api-docs.devhub.com/content-resources/files.md)
- [Modules](https://api-docs.devhub.com/content-resources/modules.md)
- [Plugins](https://api-docs.devhub.com/content-resources/plugins.md): Optional plugins that add site-wide functionality
- [Themes](https://api-docs.devhub.com/content-resources/themes.md)
- [Analytics](https://api-docs.devhub.com/logging-and-analytics/analytics.md)
- [Audit logs](https://api-docs.devhub.com/logging-and-analytics/audit-logs.md)
- [Contact Logs](https://api-docs.devhub.com/logging-and-analytics/contact-logs.md)
- [Introduction](https://api-docs.devhub.com/single-sign-on-sso/introduction.md)
- [Assigning a site's user](https://api-docs.devhub.com/single-sign-on-sso/assigning-a-sites-user.md): How to pass user information across with a Site so they can access if via the Single Sign On API
- [What is the Live Preview API?](https://api-docs.devhub.com/live-preview-api/what-is-the-live-preview-api.md)
- [Domain aliases](https://api-docs.devhub.com/advanced/domain-aliases.md)
- [Language codes](https://api-docs.devhub.com/advanced/language-codes.md): Reference for supported language codes
- [Projects](https://api-docs.devhub.com/advanced/projects.md): Syncing data with your Projects
- [Site Check](https://api-docs.devhub.com/advanced/site-check.md): Special endpoint that can be used to see if a URL is available for publishing
- [Traces](https://api-docs.devhub.com/advanced/traces.md)
- [Webmail](https://api-docs.devhub.com/advanced/webmail.md)
- [What is the Local Storage API?](https://api-docs.devhub.com/local-storage-api/what-is-the-local-storage-api.md)
- [Locations search](https://api-docs.devhub.com/headless-cms/locations-search.md): Query and search locations using the same technology that powers our Location Finder technology
- [Visitor Localization SDK](https://api-docs.devhub.com/visitor-localization-sdk/visitor-localization-sdk.md): Javascript SDK for integrating localization to show Franchisee/Location information into your corporate website experiences


---

# Agent Instructions: Querying This Documentation

If you need additional information, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on a page URL with the `ask` query parameter:

```
GET https://api-docs.devhub.com/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
