soeru soeru Link Blocks API

The soeru Link Blocks API from soeru — 10 operation(s) for soeru link blocks.

GitHub OpenAPI

Operations 14

POST /api/soeru-link/blocks Create New Block #
POST /api/soeru-link/blocks/from-template Create Block Template #
POST /api/soeru-link/blocks/{block_id}/rules Add Rule #
POST /api/soeru-link/blocks/{block_id}/sync Sync Block #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/soeru-biz:soeru-biz-soeru-link-blocks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

soeru-biz-soeru-link-blocks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: soeru Link Blocks API
  description: AIパーソナライズ明細書メッセージ自動生成SaaS
  version: 0.1.0
tags:
- name: soeru Link Blocks
paths:
  /api/soeru-link/page:
    get:
      tags:
      - soeru Link Blocks
      summary: Get Editor Page
      description: 'Get the page with all blocks for the editor. Auto-creates if needed.

        Always uses the primary shop''s page (shared across all shops).'
      operationId: get_editor_page_api_soeru_link_page_get
      parameters:
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - soeru Link Blocks
      summary: Update Page
      description: Update page-level settings.
      operationId: update_page_api_soeru_link_page_patch
      parameters:
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePageSettingsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/blocks:
    post:
      tags:
      - soeru Link Blocks
      summary: Create New Block
      description: Create a new block on the page.
      operationId: create_new_block_api_soeru_link_blocks_post
      parameters:
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBlockRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/blocks/from-template:
    post:
      tags:
      - soeru Link Blocks
      summary: Create Block Template
      description: Create a block from a template.
      operationId: create_block_template_api_soeru_link_blocks_from_template_post
      parameters:
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBlockFromTemplateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/blocks/reorder:
    patch:
      tags:
      - soeru Link Blocks
      summary: Reorder Page Blocks
      description: Reorder blocks on the page.
      operationId: reorder_page_blocks_api_soeru_link_blocks_reorder_patch
      parameters:
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReorderBlocksRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/blocks/{block_id}:
    patch:
      tags:
      - soeru Link Blocks
      summary: Update Existing Block
      description: Update a block's data, enabled state, or platform visibility.
      operationId: update_existing_block_api_soeru_link_blocks__block_id__patch
      parameters:
      - name: block_id
        in: path
        required: true
        schema:
          type: string
          title: Block Id
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBlockRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - soeru Link Blocks
      summary: Delete Existing Block
      description: Delete a block.
      operationId: delete_existing_block_api_soeru_link_blocks__block_id__delete
      parameters:
      - name: block_id
        in: path
        required: true
        schema:
          type: string
          title: Block Id
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/blocks/{block_id}/rules:
    get:
      tags:
      - soeru Link Blocks
      summary: Get Rules
      description: Get display rules for a block.
      operationId: get_rules_api_soeru_link_blocks__block_id__rules_get
      parameters:
      - name: block_id
        in: path
        required: true
        schema:
          type: string
          title: Block Id
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - soeru Link Blocks
      summary: Add Rule
      description: Add a display rule to a block.
      operationId: add_rule_api_soeru_link_blocks__block_id__rules_post
      parameters:
      - name: block_id
        in: path
        required: true
        schema:
          type: string
          title: Block Id
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddBlockRuleRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/blocks/{block_id}/rules/{rule_id}:
    delete:
      tags:
      - soeru Link Blocks
      summary: Remove Rule
      description: Delete a block rule.
      operationId: remove_rule_api_soeru_link_blocks__block_id__rules__rule_id__delete
      parameters:
      - name: block_id
        in: path
        required: true
        schema:
          type: string
          title: Block Id
      - name: rule_id
        in: path
        required: true
        schema:
          type: string
          title: Rule Id
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/blocks/{block_id}/sync:
    post:
      tags:
      - soeru Link Blocks
      summary: Sync Block
      description: Sync a block to other shops.
      operationId: sync_block_api_soeru_link_blocks__block_id__sync_post
      parameters:
      - name: block_id
        in: path
        required: true
        schema:
          type: string
          title: Block Id
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyncBlockRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - soeru Link Blocks
      summary: Remove Sync
      description: Remove a block from its sync group.
      operationId: remove_sync_api_soeru_link_blocks__block_id__sync_delete
      parameters:
      - name: block_id
        in: path
        required: true
        schema:
          type: string
          title: Block Id
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/blocks/{block_id}/sync-status:
    get:
      tags:
      - soeru Link Blocks
      summary: Get Block Sync Status
      description: Get sync status for a block.
      operationId: get_block_sync_status_api_soeru_link_blocks__block_id__sync_status_get
      parameters:
      - name: block_id
        in: path
        required: true
        schema:
          type: string
          title: Block Id
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/soeru-link/block-templates:
    get:
      tags:
      - soeru Link Blocks
      summary: List Block Templates
      description: List all available block templates, organized by category.
      operationId: list_block_templates_api_soeru_link_block_templates_get
      parameters:
      - name: x-shop-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional shop ID
          title: X-Shop-Id
        description: Optional shop ID
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SyncBlockRequest:
      properties:
        target_shop_ids:
          items:
            type: string
          type: array
          title: Target Shop Ids
      type: object
      required:
      - target_shop_ids
      title: SyncBlockRequest
    ReorderBlocksRequest:
      properties:
        block_ids:
          items:
            type: string
          type: array
          title: Block Ids
      type: object
      required:
      - block_ids
      title: ReorderBlocksRequest
    CreateBlockFromTemplateRequest:
      properties:
        template_key:
          type: string
          title: Template Key
      type: object
      required:
      - template_key
      title: CreateBlockFromTemplateRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    UpdateBlockRequest:
      properties:
        block_data:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Block Data
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enabled
        visible_platforms:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Visible Platforms
        delivery_context_visibility:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Delivery Context Visibility
      type: object
      title: UpdateBlockRequest
    CreateBlockRequest:
      properties:
        block_type:
          type: string
          title: Block Type
        block_data:
          additionalProperties: true
          type: object
          title: Block Data
        enabled:
          type: boolean
          title: Enabled
          default: true
        visible_platforms:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Visible Platforms
      type: object
      required:
      - block_type
      - block_data
      title: CreateBlockRequest
    UpdatePageSettingsRequest:
      properties:
        page_settings:
          additionalProperties: true
          type: object
          title: Page Settings
      type: object
      required:
      - page_settings
      title: UpdatePageSettingsRequest
    AddBlockRuleRequest:
      properties:
        rule_type:
          type: string
          title: Rule Type
        condition:
          additionalProperties: true
          type: object
          title: Condition
      type: object
      required:
      - rule_type
      - condition
      title: AddBlockRuleRequest