Socket · Arazzo Workflow

Socket Provision and Verify a Webhook

Version 1.0.0

Create an organization webhook for selected events, then read it back to confirm it was registered.

1 workflow 1 source API 1 provider
View Spec View on GitHub Supply Chain SecurityOpen Source SecuritySoftware Composition AnalysisSCAMalware DetectionDependency ScanningSBOMnpmPyPIGoMavenCargoNuGetRubyGemsDeveloper SecurityArazzoWorkflows

Provider

socket-dev

Workflows

provision-webhook
Create a webhook subscription and read it back to confirm registration.
Creates a webhook for the supplied events and URL, then fetches it by id to verify the stored configuration.
2 steps inputs: events, name, orgSlug, secret, url outputs: registeredUrl, webhookId
1
createWebhook
Create the webhook subscription for the supplied events and destination URL, returning its id.
2
verifyWebhook
Read the newly created webhook back by id to confirm it was registered with the expected events and target URL.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Socket Provision and Verify a Webhook
  summary: Create an organization webhook for selected events, then read it back to confirm it was registered.
  description: >-
    An eventing setup flow. It creates a webhook subscription that delivers the
    chosen Socket event types to a destination URL with a signing secret, then
    immediately reads the webhook back by id to verify the subscription was
    persisted with the expected events and target. 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: webhooksApi
  url: ../openapi/socket-dev-webhooks-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-webhook
  summary: Create a webhook subscription and read it back to confirm registration.
  description: >-
    Creates a webhook for the supplied events and URL, then fetches it by id to
    verify the stored configuration.
  inputs:
    type: object
    required:
    - orgSlug
    - name
    - url
    - secret
    - events
    properties:
      orgSlug:
        type: string
        description: The slug of the organization.
      name:
        type: string
        description: The display name of the webhook.
      url:
        type: string
        description: The destination URL that receives webhook events.
      secret:
        type: string
        description: The signing key used to sign webhook payloads.
      events:
        type: array
        description: The event types to subscribe to.
        items:
          type: string
  steps:
  - stepId: createWebhook
    description: >-
      Create the webhook subscription for the supplied events and destination
      URL, returning its id.
    operationId: createOrgWebhook
    parameters:
    - name: org_slug
      in: path
      value: $inputs.orgSlug
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        url: $inputs.url
        secret: $inputs.secret
        events: $inputs.events
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      webhookId: $response.body#/id
  - stepId: verifyWebhook
    description: >-
      Read the newly created webhook back by id to confirm it was registered
      with the expected events and target URL.
    operationId: getOrgWebhook
    parameters:
    - name: org_slug
      in: path
      value: $inputs.orgSlug
    - name: webhook_id
      in: path
      value: $steps.createWebhook.outputs.webhookId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      url: $response.body#/url
      events: $response.body#/events
  outputs:
    webhookId: $steps.createWebhook.outputs.webhookId
    registeredUrl: $steps.verifyWebhook.outputs.url

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/socket-dev-provision-webhook-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.