Templates

Get a template

Returns a single template and optionally includes project data.

get/templates/{templateId}

Request

  • Base URL
    https://api.grapesjs.com/v1
  • Auth
    HTTP bearer

Query parameters

withProjectDataboolean

When true, include the stored project JSON in the response.

Response

Template fetched successfully

projectDataProjectData

JSON payload produced by the editor that contains the full project structure and content.

Changes

No recorded changes to this operation across all 1 revision of this API.