Fetch a single block (Detail Block) by its key. Each block in your project has its own slug — defined when the block is created in the API Builder — and a single record key identifies which record to render. The endpoint accepts bothDocumentation Index
Fetch the complete documentation index at: https://docs.frontic.com/llms.txt
Use this file to discover all available pages before exploring further.
POST and GET (no body in either case); POST is canonical and what the Client SDK uses. The block payload is shaped by your block’s field configuration: every field becomes a property on the response, with composite shapes preserved (Price, Media, etc.). Translatable fields resolve to the active locale; scoped fields resolve to the active scope.
<block-slug>. Per project — see your block’s detail view in the API Builder.fs-context, fs-domain, fs-version, and fs-secret (only when the project has fetch keys configured).
| Code | When |
|---|---|
200 | Block found and rendered |
401 | fs-secret missing or wrong (only when the project has fetch keys configured) |
404 | No record matches the key, or the block slug doesn’t exist for the resolved context |
403 | Project’s plan limit for Fetch API requests exceeded |