POST
/api/markupRender Liquid template
Renders Liquid markup using the variables you provide. Supply markup as a string or an array of strings, and include variables for the rendering context. The request requires an API key or session with the read capability.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Liquid markup and the variables to use during rendering.
markupstringrequired
Liquid markup to render, supplied as a string or an array of strings.
variablesobjectrequired
The variables to make available while rendering the markup.
200Returns the rendered result in `data`, as a string or an array corresponding to the supplied markup.
datastringoptional
401Returned when the request has no API key or session.
403Returned when the API key does not have the read capability.
Error handling
A 401 is returned when the request has no API key or session. A 403 is returned when the API key does not have the read capability. Both markup and variables are required; markup must be a string or an array of strings.