Parameters for all requests

Refer to the Documentation page for each specific request and the supported Parameters

Generate

Format

/api/[design component]/Generate?

Design component can be Lettering, a design, a template, a compound or an AutoDigitize.

Requests can be made using GET or POST methods for "Designs" and "Templates". For POST method, the parameters must be passed in the body of the request, as a JSON object containing key/value pairs. The key/value pairs must be double-quoted strings with decoded text, following the same format from the query parameters of GET requests, as shown in the examples below:

Description

Generates a design component and returns the production file.

Parameters

Example

/api/Lettering/Generate?Text=ABC&Format=DST

DST file of the lettering "ABC".

Example for Templates

/api/Templates/Generate?Path=EmojiBubble.PXF&Personalizations[0].Name=Mascot&Personalizations[0].Design=Emoji.PXF&Personalizations[1].Name=Text1&Personalizations[1].Text=PULSE&Personalizations[1].TextColour=1146 - Flame+Red&Personalizations[1].IsRainbowText=False&Personalizations[2].Name=Text2&Personalizations[2].Text=MICRO&Personalizations[2].TextColour=1460 - Ecru&Personalizations[2].IsRainbowText=False&Format=PCF

PXF template file "EmojiBubble.PXF" with the named element Mascot replaced with "Emoji.PXF" and the Text1 element replaced with "PULSE" and Texit1 colour replaced with "1146 - Flame Red" and the Text2 element replaced with "MICRO" and Texit2 colour replaced with "1460 - Ecru"