Content Blocks
/api/content-blocksList all content blocks for your company.
/api/content-blocksCreate a content block.
Parameters
namestringrequired— Block nametypestringrequired— image, video, text, widget, web, newsconfigobject— Block configuration/api/content-blocks/:idUpdate a content block.
/api/content-blocks/:idDelete a content block.
/api/media/uploadUpload image/video file. Creates content block automatically.
Parameters
fileFilerequired— Image or video file (max 50MB)Response
{ "success": true, "block": {...}, "url": "..." }