> 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 # GetPlacementStatus # Package: sitePlugins # Namespace: PluginsPlacementStatusImpl # Method link: https://dev.wix.com/docs/api-reference/app-management/site-plugins/placement-status-v1/get-placement-status.md ## Permission Scopes: Read Site Plugin Status: SCOPE.SITE-PLUGIN.READ-PLACEMENT-STATUS ## Introduction Get the placement statuses of your app's site plugins on the user's site. --- ## REST API ### Schema ``` Method: getPlacementStatus Description: Get the placement statuses of your app's site plugins on the user's site. URL: https://www.wixapis.com/v1/site-plugins/placement-status Method: GET Return type: GetPlacementStatusResponse - name: placementStatuses | type: array | description: Data about placement statuses of your app's site plugins on the user's site. - name: pluginId | type: string | description: Plugin GUID. This is a unique GUID that is assigned to each plugin. You can view your plugin GUIDs in [extensions](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fextensions) in your app's dashboard. - name: placedInSlot | type: boolean | description: Whether the plugin placed in a slot on the user's site. ``` ### Examples ### Get Placement Status ```curl curl GET \ 'https://www.wixapis.com/app-plugins/v1/site-plugins/placement-status' \ -H 'Authorization: ' ``` --- ## JavaScript SDK ### Schema ``` Method: wixClientAdmin.sitePlugins.PluginsPlacementStatusImpl.getPlacementStatus() Description: Get the placement statuses of your app's site plugins on the user's site. Return type: PROMISE - name: placementStatuses | type: array | description: Data about placement statuses of your app's site plugins on the user's site. - name: pluginId | type: string | description: Plugin GUID. This is a unique GUID that is assigned to each plugin. You can view your plugin GUIDs in [extensions](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fextensions) in your app's dashboard. - name: placedInSlot | type: boolean | description: Whether the plugin placed in a slot on the user's site. ``` ### Examples ### getPlacementStatus ```javascript import { plugins } from '@wix/site-plugins'; async function getPlacementStatus() { const response = await plugins.getPlacementStatus(); }; ``` ### getPlacementStatus (with elevated permissions) ```javascript import { plugins } from '@wix/site-plugins'; import { auth } from '@wix/essentials'; async function myGetPlacementStatusMethod() { const elevatedGetPlacementStatus = auth.elevate(plugins.getPlacementStatus); const response = await elevatedGetPlacementStatus(); } ``` ### getPlacementStatus (self-hosted) Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md). ```javascript import { createClient } from '@wix/sdk'; import { plugins } from '@wix/site-plugins'; // Import the auth strategy for the relevant access type // Import the relevant host module if needed const myWixClient = createClient ({ modules: { plugins }, // Include the auth strategy and host as relevant }); async function getPlacementStatus() { const response = await myWixClient.plugins.getPlacementStatus(); }; ``` ---