# Retrieve an HTML block `GET /api/v1/html-blocks/{id}` Returns one HTML block by ID. ## Permissions Send your API key in `X-API-Key`. Required permissions are **HTML blocks → Read**. ## Path parameters - `id` (integer, required) — ID of the HTML block. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request GET \ --url "https://api.asdincloud.com/api/v1/html-blocks/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" ``` ## Response **200 OK** The HTML block is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 8, "name": "Club contact details", "html": "

Contact the club office.

" } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found.