Skip to content

Retrieve the Component Library

Request

Components configured in the component library can be retrieved as rendered HTML. The componentId passed in the path can be versioned to reference a specific version of a library component. For example, ‘payment-form:1’, ‘payment-form:4’ or ‘payment-form:active’ to reference the default version of the component.

Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Path
componentIdstringrequired

The versioned slug of the component in the library to render, as configured in the console.

Example:my-component:1
cURL
curl -i -X GET \
  https://demo-site/zephr/public/component-library/v1/library-components/my-component:1 \
  -b blaize_session=YOUR_API_KEY_HERE

Responses

OK

Headers
any
Bodytext/html
Response