Font variants
Retrieve font variants for a layer of a template
This endpoint retrieves the font variants (weight and style combination) of a text layer's fonts of a specific template.
Request
Method: GET
URL:
https://api.creatopy.com/v1/templates/fontVariants
Body:
templateHash
(string, required): The hash of the template.layerName
(string, required): The name of the layer of export.
Response
The response is a JSON object with the following schema:
JSON
When you use the FONTVARIANT attribute on related endpoints, as value you will use the weight value from the response.
Last updated