Backblaze · Arazzo Workflow

Backblaze Configure Bucket Event Notifications

Version 1.0.0

Authorize, set a webhook notification rule on a bucket, then read the rules back to confirm.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Cloud StorageObject StorageStorageBackupArazzoWorkflows

Provider

backblaze

Workflows

configure-bucket-notifications
Set a webhook notification rule on a bucket and verify it.
Authorizes the account, sets a single enabled webhook notification rule on the bucket, then reads the rules back to confirm they were stored.
3 steps inputs: bucketId, eventTypes, ruleName, webhookUrl outputs: appliedRules, confirmedRules
1
authorize
Log in to the B2 API to obtain the authorization token.
2
setRules
Replace the bucket's notification rules with a single enabled rule that posts the selected event types to the webhook URL.
3
confirmRules
Read the bucket's notification rules back to confirm they were stored.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Backblaze Configure Bucket Event Notifications
  summary: Authorize, set a webhook notification rule on a bucket, then read the rules back to confirm.
  description: >-
    Wires a bucket's object events to a webhook endpoint. The account is
    authorized, b2_set_bucket_notification_rules replaces the bucket's
    notification rules with a single rule that posts the selected event types to
    a target URL, and b2_get_bucket_notification_rules reads the rules back to
    confirm the configuration took effect. The bucketId is reused across both
    notification calls. Every step spells out its request inline so the flow can
    be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: authorizationApi
  url: ../openapi/backblaze-authorization-api-openapi.yml
  type: openapi
- name: notificationsApi
  url: ../openapi/backblaze-notifications-api-openapi.yml
  type: openapi
workflows:
- workflowId: configure-bucket-notifications
  summary: Set a webhook notification rule on a bucket and verify it.
  description: >-
    Authorizes the account, sets a single enabled webhook notification rule on
    the bucket, then reads the rules back to confirm they were stored.
  inputs:
    type: object
    required:
    - bucketId
    - ruleName
    - eventTypes
    - webhookUrl
    properties:
      bucketId:
        type: string
        description: The bucket to configure notifications for.
      ruleName:
        type: string
        description: Name for the notification rule.
      eventTypes:
        type: array
        description: Event types that trigger the notification.
        items:
          type: string
      webhookUrl:
        type: string
        description: The webhook URL that receives notifications.
  steps:
  - stepId: authorize
    description: Log in to the B2 API to obtain the authorization token.
    operationId: authorizeAccount
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      authorizationToken: $response.body#/authorizationToken
  - stepId: setRules
    description: >-
      Replace the bucket's notification rules with a single enabled rule that
      posts the selected event types to the webhook URL.
    operationId: setBucketNotificationRules
    requestBody:
      contentType: application/json
      payload:
        bucketId: $inputs.bucketId
        rules:
        - name: $inputs.ruleName
          eventTypes: $inputs.eventTypes
          isEnabled: true
          targetConfiguration:
            targetType: url
            url: $inputs.webhookUrl
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      rules: $response.body#/rules
  - stepId: confirmRules
    description: Read the bucket's notification rules back to confirm they were stored.
    operationId: getBucketNotificationRules
    requestBody:
      contentType: application/json
      payload:
        bucketId: $inputs.bucketId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      rules: $response.body#/rules
  outputs:
    appliedRules: $steps.setRules.outputs.rules
    confirmedRules: $steps.confirmRules.outputs.rules

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/backblaze-configure-bucket-notifications-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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