Layerre
layerreLayerre automates the creation of image and PDF variants from reusable Canva-based design templates.
Acciones disponibles (15)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Analyze Canva DesignLAYERRE_ANALYZE_CANVA_DESIGNAcciónExtract colors, fonts, and images from a public Canva share URL without creating a documented template resource. Layerre does not document whether this operation consumes metered render capacity.
LAYERRE_ANALYZE_CANVA_DESIGNAcciónExtract colors, fonts, and images from a public Canva share URL without creating a documented template resource. Layerre does not document whether this operation consumes metered render capacity.
Parámetros de entrada
canva_urlstringObligatoriouriPublic Canva share URL to analyze.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create LayerLAYERRE_CREATE_LAYERAcciónCreate a text or image layer on a template and return the new layer.
LAYERRE_CREATE_LAYERAcciónCreate a text or image layer on a template and return the new layer.
Parámetros de entrada
xnumberObligatorioHorizontal layer coordinate.
ynumberObligatorioVertical layer coordinate.
namestringObligatorioHuman-readable layer name.
positionintegerLayer stacking order.
layer_typestringObligatorioenumType of layer to create.
textimagepropertiesobjectObligatorioLayer properties; use text fields for a text layer and image fields for an image layer.
page_numberintegerZero-based template page containing the layer.
template_idstringObligatoriouuidID of the template that will own the layer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create TemplateLAYERRE_CREATE_TEMPLATEAcciónImport a public Canva share URL as a Layerre template. This consumes one render credit; Free and Starter plans import one page, Plus up to 25, and Pro up to 200.
LAYERRE_CREATE_TEMPLATEAcciónImport a public Canva share URL as a Layerre template. This consumes one render credit; Free and Starter plans import one page, Plus up to 25, and Pro up to 200.
Parámetros de entrada
canva_urlstringObligatoriouriUnescaped public Canva share URL to import.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create VariantLAYERRE_CREATE_VARIANTAcciónSynchronously render one template variant and return its signed output URL. Each successful render consumes one render credit.
LAYERRE_CREATE_VARIANTAcciónSynchronously render one template variant and return its signed output URL. Each successful render consumes one render credit.
Parámetros de entrada
widthintegerOptional output width (1-10000).
heightintegerOptional output height (1-10000).
overridesobject[]Layer overrides. Omitted layers retain their template defaults.
export_typestringenumOutput format for the rendered variant.
pngjpegwebppdfpage_numberintegerZero-based template page to render; pages above 0 require a multi-page template.
template_idstringObligatoriouuidID of the template to render.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Variants in BulkLAYERRE_CREATE_VARIANTS_BULKAcciónSynchronously render multiple variants with one shared output format. Each successful item consumes one render credit. combine_pdf is PDF-only and requires a Layerre Plus or Pro plan.
LAYERRE_CREATE_VARIANTS_BULKAcciónSynchronously render multiple variants with one shared output format. Each successful item consumes one render credit. combine_pdf is PDF-only and requires a Layerre Plus or Pro plan.
Parámetros de entrada
itemsobject[]ObligatorioVariants to render. Each successfully rendered item consumes one render credit.
combine_pdfbooleanCombine all results into one PDF. Requires export_type='pdf' and a Layerre Plus or Pro plan.
export_typestringObligatorioenumOutput format shared by every requested item.
pngjpegwebppdftemplate_idstringObligatoriouuidID of the template to render.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete LayerLAYERRE_DELETE_LAYERAcciónSoft-delete one layer from a Layerre template and confirm the request succeeded.
LAYERRE_DELETE_LAYERAcciónSoft-delete one layer from a Layerre template and confirm the request succeeded.
Parámetros de entrada
layer_idstringObligatoriouuidID of the layer to soft-delete.
template_idstringObligatoriouuidID of the template containing the layer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete TemplateLAYERRE_DELETE_TEMPLATEAcciónSoft-delete one Layerre template and confirm the request succeeded.
LAYERRE_DELETE_TEMPLATEAcciónSoft-delete one Layerre template and confirm the request succeeded.
Parámetros de entrada
template_idstringObligatoriouuidID of the template to soft-delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete VariantLAYERRE_DELETE_VARIANTAcciónSoft-delete one generated Layerre variant and confirm the request succeeded.
LAYERRE_DELETE_VARIANTAcciónSoft-delete one generated Layerre variant and confirm the request succeeded.
Parámetros de entrada
variant_idstringObligatoriouuidID of the variant to soft-delete.
template_idstringObligatoriouuidID of the template that produced the variant.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get LayerLAYERRE_GET_LAYERAcciónReturn one template layer, refreshing its signed image URL when needed.
LAYERRE_GET_LAYERAcciónReturn one template layer, refreshing its signed image URL when needed.
Parámetros de entrada
layer_idstringObligatoriouuidID of the layer to retrieve.
template_idstringObligatoriouuidID of the template containing the layer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TemplateLAYERRE_GET_TEMPLATEAcciónReturn one template with its layers and refreshed signed image URLs.
LAYERRE_GET_TEMPLATEAcciónReturn one template with its layers and refreshed signed image URLs.
Parámetros de entrada
template_idstringObligatoriouuidID of the template to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get VariantLAYERRE_GET_VARIANTAcciónReturn one generated variant with a refreshed signed output URL.
LAYERRE_GET_VARIANTAcciónReturn one generated variant with a refreshed signed output URL.
Parámetros de entrada
variant_idstringObligatoriouuidID of the variant to retrieve.
template_idstringObligatoriouuidID of the template that produced the variant.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TemplatesLAYERRE_LIST_TEMPLATESAcciónReturn one page of the connected account's templates, most recently modified first, with an opaque cursor for the next page.
LAYERRE_LIST_TEMPLATESAcciónReturn one page of the connected account's templates, most recently modified first, with an opaque cursor for the next page.
Parámetros de entrada
limitintegerMaximum templates to return in this page (1-1000).
next_cursorstringOpaque cursor returned by a previous call; omit for the first page.
include_layersbooleanInclude each template's layers; this is slower for large templates.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Template VariantsLAYERRE_LIST_TEMPLATE_VARIANTSAcciónReturn one page of a template's generated variants with refreshed signed URLs and an opaque cursor for the next page.
LAYERRE_LIST_TEMPLATE_VARIANTSAcciónReturn one page of a template's generated variants with refreshed signed URLs and an opaque cursor for the next page.
Parámetros de entrada
limitintegerMaximum variants to return in this page (1-1000).
next_cursorstringOpaque cursor returned by a previous call; omit for the first page.
template_idstringObligatoriouuidID of the template whose variants to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update LayerLAYERRE_UPDATE_LAYERAcciónUpdate a layer and return the refreshed layer. Provide at least one of name, layer_type, x, y, position, page_number, or properties.
LAYERRE_UPDATE_LAYERAcciónUpdate a layer and return the refreshed layer. Provide at least one of name, layer_type, x, y, position, page_number, or properties.
Parámetros de entrada
xnumberNew horizontal coordinate.
ynumberNew vertical coordinate.
namestringNew layer name.
layer_idstringObligatoriouuidID of the layer to update. This identifies the resource and is not sent in the request body.
positionintegerNew layer stacking order.
layer_typestringenumNew layer type.
textimagepropertiesobjectReplacement editable layer properties appropriate to the layer type.
page_numberintegerNew zero-based template page.
template_idstringObligatoriouuidID of the template containing the layer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update TemplateLAYERRE_UPDATE_TEMPLATEAcciónUpdate a template and return the refreshed template. Provide at least one of name, width, height, background_color, page_backgrounds, or layers.
LAYERRE_UPDATE_TEMPLATEAcciónUpdate a template and return the refreshed template. Provide at least one of name, width, height, background_color, page_backgrounds, or layers.
Parámetros de entrada
namestringNew template name.
widthnumberNew template width.
heightnumberNew template height.
layersobject[]Layers to update, each identified by its id.
template_idstringObligatoriouuidID of the template to update.
background_colorstringNew template background as a hex color string.
page_backgroundsobjectPer-page background values keyed by zero-based page index.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not