Elements

Retrieve Elements of a Template

This endpoint retrieves the elements of a specific template. Using these elements, you can get an idea of what you want to modify in the export to a specific template.

Request

  • Method: GET

  • URL: https://api.creatopy.com/v1/templates/zdow6r/elements

Response

The response is a JSON object with the following schema:

JSON

{
  "type": "object",
  "properties": {
    "response": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "layerType": {
            "type": "string"
          },
          "attributeChangeType": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "slideNumber": {
            "type": "integer"
          },
          "gotoUrl": {
            "type": "string"
          },
        }
      }
    }
  }
}

The response body contains an array of elements, where each element object includes the name, layerType, attributeChangeType, value, and slideNumber properties.

Request example:

Response example:

Last updated