GET /V1/cmsBlock/search
GET /V1/cmsBlock/search is a Magento 2 REST endpoint in the Cms module. Retrieve blocks matching the specified criteria. Requires an admin Bearer token with ACL Magento_Cms::block.
Last verified: against Magento 2.4.9.
Returns
Magento\Cms\Api\Data\BlockSearchResultsInterface
Service contract
Magento\Cms\Api\BlockRepositoryInterface::getList
Authorization
Admin Bearer token with ACL:
- Magento_Cms::block
Query parameters
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/cmsBlock/searchRelated in Cms
Other endpoints shipped by the same module.
/V1/cmsBlock
Save block.
Cms · Magento\Cms\Api\BlockRepositoryInterface::save
/V1/cmsBlock/:blockId
Delete block by ID.
Cms · Magento\Cms\Api\BlockRepositoryInterface::deleteById
/V1/cmsBlock/:blockId
Retrieve block.
Cms · Magento\Cms\Api\BlockRepositoryInterface::getById
/V1/cmsBlock/:id
Save block.
Cms · Magento\Cms\Api\BlockRepositoryInterface::save
/V1/cmsPage
Save page.
Cms · Magento\Cms\Api\PageRepositoryInterface::save
/V1/cmsPage/:id
Save page.
Cms · Magento\Cms\Api\PageRepositoryInterface::save
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.