---
title: "Block Content"
method: GET
path: "/v3.0/boards/{boardSlug}/blocks/{blockSlug}/content/"
tags: ["boards"]
---

# Block Content

`GET /v3.0/boards/{boardSlug}/blocks/{blockSlug}/content/`

## Request

- Base URL: `https://api.formaloo.me`
- URL: `https://api.formaloo.me/v3.0/boards/{boardSlug}/blocks/{blockSlug}/content/`
- Auth: none declared. Required headers: `x-api-key`

## Searching for a text on all fields

If you want to search on the whole fields:

- If you want to save the search on the block settings, you should set the `search` key on the `filters` field. For example: 
``` JSON
{"fields_filters":{}, "search": "lorem"}
```

- If you want to apply the search only on a given request, you can send it on the query params: `?seach=lorem`

Notes:
- The search term is case-insensitive, so `Lorem` and `lorem` are the same.
- On the admin view, the query param (if sent) will override the saved search term. On the public view, the saved search query (if exists) can't be changed.

## Searching for a text on a specific field

If you want to search a term on a specific field, you can use this method.

If you want to search a text on an specific field:
- For searching results that have the exact word, use `?fieldSlug=lorem`
- For searching the results contain a part of the word, use `?fieldSlug_icontains=lorem` or  `?fieldSlug_has=lorem`

Like the previous item, search term can be either saved on the block settings, or sent on the query params:
- If you want to save the search on the block settings, you should set it in the `fields_filters` key on the `filters` field. For example: 
``` JSON
{"fields_filters":{"fieldSlug_has": "lorem"}}
```

- If you want to apply the search only on a given request, you can send it on the query params: `?fieldSlug_has=lorem`

Notes:
- The search term is case-insensitive, so `Lorem` and `lorem` are the same.
- On the admin view, the query param (if sent) will override the saved search term. On the public view, it will be added to the saved query.

## Path parameters

- `blockSlug` string, required
- `boardSlug` string, required

## Query parameters

- `created_at` string, date
- `page` integer
- `search` string
- `slug` string
- `submit_number` string
- `submit_time` string, date-time
- `tags` string
- `tracking_code` string

## Headers

- `x-api-key` string, required
- `x-workspace` string

## Response `200`

- PaginatedBlockList
  - `count` integer
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `page_size` integer
  - `page_count` integer
  - `current_page` integer
  - `blocks` Block[]
    - `type` 'generic' | 'menu' | 'stats' | 'form_display' | 'form_result' | 'form_charts' | 'report' | 'kanban' | 'content' | 'ai_summary'
    - `slug` string, nullable
    - `form` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `position` integer
    - `title` string, nullable
    - `color` string, nullable: color of block
    - `config` object, nullable

---

[API](https://skmtc.dev/formaloo/apis/formaloo-api-documentation.md) · [All operations](https://skmtc.dev/formaloo/apis/formaloo-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/formaloo/apis/formaloo-api-documentation/revisions/47b268aeb656?raw)
