This endpoint allows you to retrieve the full details of a specific block by its unique identifier.
GET /api/blocks/38
HTTP/1.1 200 OK and a JSON response with the block details.
{
"block_id": "38",
"type": "template",
"properties": {
"template": "blocks/static_templates/404.tpl"
},
"company_id": "1",
"lang_code": "en",
"name": "404",
"content": ""
}
| Field | Type | Description |
|---|---|---|
| block_id | string | The unique identifier of the block |
| type | string | The type of block (e.g., "template", "html", "menu") |
| properties | object | Additional properties specific to the block type |
| company_id | string | The ID of the company that owns the block |
| lang_code | string | The language code for the block content (e.g., "en" for English) |
| name | string | The name of the block |
| content | string | The content of the block (may be empty for certain block types) |