> ## Documentation Index
> Fetch the complete documentation index at: https://apidoc.client.fo/llms.txt
> Use this file to discover all available pages before exploring further.

# List blocks

> **Required permission:** `biolinks:pages:read`



## OpenAPI

````yaml /api-reference/biolinks.openapi.json get /pages/{page}/blocks
openapi: 3.1.0
info:
  title: Link in Bio API
  version: 1.0.0
  description: >-
    Link-in-bio pages and their blocks, short links, QR codes, tracking pixels,
    form submissions, analytics and custom domains.
servers:
  - url: https://{domain}/api/v1/biolinks
    description: Your platform domain
    variables:
      domain:
        default: app.example.com
        description: The domain you sign in to, without https://
security:
  - bearerAuth: []
  - apiKeyHeader: []
tags:
  - name: Pages
  - name: Blocks
  - name: Short links
  - name: Catalogue
  - name: Analytics
  - name: Submissions
  - name: QR codes
  - name: Pixels
  - name: Domains
paths:
  /pages/{page}/blocks:
    get:
      tags:
        - Blocks
      summary: List blocks
      description: '**Required permission:** `biolinks:pages:read`'
      operationId: blocks.index
      parameters:
        - name: page
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Page ID.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Block'
components:
  schemas:
    Block:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          example: link
        position:
          type: integer
        enabled:
          type: boolean
        content_supported:
          type: boolean
          description: >-
            `false` for block types the API cannot edit (commerce, embeds).
            Their `content` is empty.
        content:
          type: object
          description: Fields depend on `type`. See `write_schema` in Get the catalogue.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A workspace API key: `Authorization: Bearer osk_...`'
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: The same workspace API key in the `x-api-key` header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.