Search blocks
Returns a page of the tenant's blocks, without their content. Use GET /blocks/{id} to get a block's content.
Request
- Base URLhttps://api5.optimove.net/content/v1
- URLhttps://api5.optimove.net/content/v1/blocks
- AuthAPI key in header X-API-KEY
Query parameters
Text to search for in the block name, tag name and content. Ignored when shorter than 3 characters.
Returns only items in this folder.
Returns only items last updated at or after this time (inclusive). ISO 8601 in UTC, with or without Z, for example 2026-10-01T00:00:00Z. A date without a time means midnight UTC. Can't be later than dateTo.
Returns only items last updated at or before this time (inclusive). ISO 8601 in UTC, with or without Z, for example 2026-10-31T23:59:59Z. A date without a time means midnight UTC at the start of that day, so dateTo=2026-10-31 excludes almost all of October 31. To include the whole day, pass 2026-10-31T23:59:59Z.
Number of items to skip.
Maximum number of items to return.
Sort order of the results:
- date-newest: last updated first
- date-oldest: last updated last
- name-asc: by name, A to Z
- name-desc: by name, Z to A
Response
A page of blocks.
Example response
{
"items": [
{
"tagName": "summer-sale-banner",
"name": "Summer sale banner",
"editorType": "html"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.