Templates

List templates

Returns public and/or workspace templates with page-based pagination.

get/templates

Request

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

Query parameters

pageinteger

Zero-based page index.

pageSizeinteger

Number of items to return per page.

source'public' | 'workspace' | 'all'

Template source filter. Defaults to public.

type'web' | 'email'

Optional project type filter.

qstring

Optional case-insensitive text search over template name and description.

Response

Templates listed successfully

totalinteger required

Total number of matching templates.

pageinteger required

Current page index.

pageSizeinteger required

Number of items per page.

Changes

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