Modules
This is a stable API but uses an older format. This means some functionality may not be available (for example test calls and Postman integration).
GET
/content/api/v4/custom_widgets/:id
Get the details for a specific module using its ID.
Parameters
id*
The ID of the module to fetch the details for.
Response
x
71
{
"authorAt": 1704317276220,
"categories": [],
"contentTags": [],
"contentTypes": [
"LANDING_PAGE",
"SITE_PAGE"
],
"created": 1589381258170,
"createdById": 00005,
"css": "/* cool CSS */",
"cssAssets": [],
"cssCdnUri": "",
"cssRenderOptions": {
"async": true
},
"default": false,
"deleted": false,
"deletedAt": 0,
"externalJs": [],
"externalJsRenderOptions": {},
"extraClasses": "",
"fields": [
{
"allow_new_line": false,
"default": "Hello world",
"display_width": null,
"help_text": "",
"id": "video_title",
"label": "Video Title",
"locked": false,
"name": "video_title",
"required": true,
"show_emoji_picker": false,
"type": "text",
"validation_regex": ""
GET
/content/api/v4/custom_widgets/by-path/:path
Get the details for a specific module using its path.
Parameters
path*
The path of the module to fetch the details for.
Response
xxxxxxxxxx
1
71
{
"authorAt": 1704317276220,
"categories": [],
"contentTags": [],
"contentTypes": [
"LANDING_PAGE",
"SITE_PAGE"
],
"created": 1589381258170,
"createdById": 00005,
"css": "/* cool CSS */",
"cssAssets": [],
"cssCdnUri": "",
"cssRenderOptions": {
"async": true
},
"default": false,
"deleted": false,
"deletedAt": 0,
"externalJs": [],
"externalJsRenderOptions": {},
"extraClasses": "",
"fields": [
{
"allow_new_line": false,
"default": "Hello world",
"display_width": null,
"help_text": "",
"id": "video_title",
"label": "Video Title",
"locked": false,
"name": "video_title",
"required": true,
"show_emoji_picker": false,
"type": "text",
"validation_regex": ""