fabric Global Components API

XM Global Components API allows you to fetch all the live global component data

Operations 1

GET /v2/global-component/live Get Live Global Components for a Channel #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fabric-com-global-components-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fabric-com-global-components-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.0.0
  description: fabric's Experiences (formerly known as XM) enables you to design, implement, and optimize omnichannel e-commerce experiences, without having to code.
  title: Experiences v2 (XM v2) Global Components API
  contact:
    email: support@fabric.inc
  license:
    name: fabric Inc
    url: https://fabric.inc/api-license
servers:
- url: https://cdn.xm.fabric.inc/api
tags:
- name: Global Components
  description: XM Global Components API allows you to fetch all the live global component data
paths:
  /v2/global-component/live:
    get:
      summary: Get Live Global Components for a Channel
      description: Gets a list of all the live global component data for a specified channel
      operationId: getLiveGlobalComponentsV2
      tags:
      - Global Components
      parameters:
      - in: query
        name: channels
        description: Comma-separated list of channel IDs
        schema:
          type: string
          default: '12'
      - $ref: '#/components/parameters/XSiteContent'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Components'
              examples:
                LiveComponents:
                  $ref: '#/components/examples/globalComponentsExample'
                NoLiveComponents:
                  summary: No Live Components
                  value: []
        '500':
          description: Request was received but an internal error occurred
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                code: INTERNAL_SERVER_ERROR
                message: An internal error occurred. Contact support@fabric.inc. if issue persists
components:
  examples:
    globalComponentsExample:
      summary: Live Components Exist
      value:
      - _id: 60896f629aa7f1000744030b
        id: RailNavigation
        params:
          homeLinkText: Home
          sections:
          - sectionTitle: Get Started
            sectionLink: /start
            subsections:
            - subSectionTitle: What is fabric?
              subSectionLink: /what-is-fabric
              components: []
            components: []
          title: Title
        order: 1
      - _id: 608ad8760536ac00074bec45
        id: CustomHeader
        params:
          developerSectionText: developerSectionText
          developerSectionLinks:
          - title: Knowledge Base
            description: Get started
            link: https://fabric.inc/knowledgebase
            components: []
          - title: API documentation
            description: Customize without limits
            link: https://api.fabric.inc/
            components: []
        order: 1
  schemas:
    Error:
      type: object
      description: Server error response object
      properties:
        code:
          type: string
          description: Code associated with the type of server error
        message:
          type: string
          description: Message associated with the server error
      required:
      - code
      - message
    Components:
      type: array
      description: List of components
      items:
        type: object
        description: Component data
        properties:
          _id:
            type: string
            description: Virtual ID associated with the component
          id:
            type: string
            description: Identifier used in the UI by the component
          params:
            type: object
            description: Attached fields and values of the component
            additionalProperties: true
        additionalProperties: true