ShareLink
ShareLink
This endpoint retrieves the share link url for a specific templateHash, is working with generated Templates(variants).
Request
Method: GET
URL:
https://api.creatopy.com/v1/shareLink/{{templateHash}}
Request example:
Response
The response will be a JSON object with the following schema:
JSON
Generate ShareLink (with changes)
This endpoint allows you to generate a preview based on the provided template and element changes.
Request
Method: POST
URL:
https://api.creatopy.com/v1/shareLink/generate
Body:
templateHash
(string, required): The hash of the creative.elementsChanges
(array, required):elementName
(string, required): The name of the element.changes
(array, required):attribute
(string, required): The attribute to be changed. (Available attributes are: "LABEL", "SOURCE", "CODE" and "VISIBILITY")value
(string, required): The new value for the attribute.
Response The response for this request is a JSON object following the schema below:
Last updated