Docs
Get Module Templates
GET /module-templates
GET
/module-templatesLists the organization's module templates as summaries (name, label, icon, color and category), without their blocks. Use Advancing_GetModuleTemplate for one template's blocks. Requires the Advance Database read permission. These are the templates the Event API copies onto an event with AdvanceTemplates_PullModuleTemplate (its orgModuleTemplateId is an id from here); AdvanceTemplates_PushModuleTemplateToOrg saves an event's copy back here.
Response
Type: GetModuleTemplateSummaryResponse[]
GetModuleTemplateSummaryResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| label | string| null | |
| icon | string| null | |
| color | string| null | |
| category | GetModuleTemplateSummaryResponseCategoryInfo| null |
GetModuleTemplateSummaryResponseCategoryInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null |