> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Call Exposed APIs ## Article: Call Exposed APIs ## Article Link: https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/expose-services/call-exposed-apis.md ## Article Content: # Call Exposed APIs When you define [HTTP functions](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/expose-services/write-an-http-function.md) in your site's backend, you expose custom site APIs that allow you to interact with your site externally. You can call your custom site APIs using the HTTP functions you defined in your site's backend. Use the [endpoints](#endpoints) below to call your HTTP functions through custom site APIs. Call these endpoints with the [method](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/expose-services/http-function-methods.md) defined in your HTTP function. Make sure to define your [variables](#variables) correctly for the function.
Important: The endpoints in this article call custom site APIs without [authentication context](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/expose-services/about-custom-site-apis.md#authentication-context). You can [call your custom site APIs with authentication context](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/expose-services/about-custom-site-apis.md#with-authentication-context) using the HTTP Functions [REST API](https://dev.wix.com/docs/rest/assets/http-functions/introduction.md) or [SDK module](https://dev.wix.com/docs/sdk/backend-modules/http-functions/functions/introduction.md).## Variables You need to define the following variables to construct your API calls. ### `baseUrl` The base URL of the site hosting the HTTP functions: - **Premium sites**: `https://www.