List reusable blocks OAuth Scope: posts:read
List reusable blocks OAuth Scope: posts:read
This feature is currently in beta and the API is subject to change.
Retrieve the reusable blocks that belong to the workspace. A reusable block is a header, footer, or set of content blocks that every publication in the workspace can use in its posts and templates. Archived blocks are excluded unless the status parameter asks for them.
Requires an API key with access to every publication in the workspace.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
Cursor-based pagination (recommended): Use this opaque cursor token to fetch the next page of results. When provided, pagination will use cursor-based method which is more efficient and consistent than offset-based pagination.
Offset-based pagination (deprecated): Page number for offset-based pagination. Please migrate to cursor-based pagination using the cursor parameter. If not specified, results 1-10 from page 1 will be returned.
Filter blocks by whether they have been archived. Defaults to active.
Response
Cursor pagination only: Indicates whether there are more results available after the current page. Only present when using cursor-based pagination.
Cursor pagination only: The cursor token to use for fetching the next page of results. This will be null if has_more is false. Only present when using cursor-based pagination.
Offset pagination only: The page of results returned. Only present when using the deprecated page parameter.
Offset pagination only: The total number of pages. Only present when using the deprecated page parameter.