Strix Webhooks API

Configure webhook subscriptions for real-time event notifications.

GitHub OpenAPI

Operations 9

GET /webhooks List webhooks #
POST /webhooks Create a webhook #
PATCH /webhooks/{webhookId} Update a webhook #
DELETE /webhooks/{webhookId} Delete a webhook #
GET /webhooks/{webhookId} Get a webhook #
GET /webhooks/{webhookId}/deliveries List webhook deliveries #
GET /webhooks/{webhookId}/deliveries/{deliveryId} Get a webhook delivery #
POST /webhooks/{webhookId}/deliveries/{deliveryId}/resend Resend a failed webhook delivery #
POST /webhooks/{webhookId}/test Send a test delivery #

Specifications

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/strix-ai:strix-ai-webhooks-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

strix-ai-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Strix Webhooks API
  version: 1.0.0
  description: Public REST API for the Strix autonomous penetration testing platform. Manage scans, vulnerabilities, assets, schedules, API tokens, and webhooks. Intake-only workspaces can register repositories, manage domains, and manage or verify test users. Other operations return 403. Repository and domain responses in these workspaces omit scan, finding, and PR review fields.
servers:
- url: /api/v1
  description: Strix v1 API
security:
- BearerAuth: []
tags:
- name: Webhooks
  description: Configure webhook subscriptions for real-time event notifications.
paths:
  /webhooks:
    get:
      operationId: listWebhooks
      summary: List webhooks
      description: Returns webhooks for the organization. Asset-scoped tokens see only subscriptions whose business_unit is covered by their token scopes.
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:read
      responses:
        '200':
          description: List of webhooks.
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhooks:
                    type: array
                    items:
                      $ref: '#/components/schemas/Webhook'
                required:
                - webhooks
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
    post:
      operationId: createWebhook
      summary: Create a webhook
      description: Create a new webhook subscription. The signing `secret` is returned only in this response. Asset-scoped tokens must provide an in-scope business_unit and cannot create organization-wide subscriptions.
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhookRequest'
      responses:
        '201':
          description: Webhook created.
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhook:
                    $ref: '#/components/schemas/Webhook'
                  secret:
                    type: string
                    description: Webhook signing secret. Only returned at creation time.
                required:
                - webhook
                - secret
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
  /webhooks/{webhookId}:
    patch:
      operationId: updateWebhook
      summary: Update a webhook
      description: Update webhook URL, events, active status, or rotate the signing secret. Asset-scoped tokens may update only an in-scope business_unit webhook. If you omit business_unit, the webhook keeps its current business_unit. If you change business_unit, use an in-scope value.
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:write
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookRequest'
      responses:
        '200':
          description: Webhook updated. Includes `secret` if `rotate_secret` was true.
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhook:
                    $ref: '#/components/schemas/Webhook'
                  secret:
                    type: string
                    description: New signing secret, only present when rotate_secret was true.
                required:
                - webhook
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
    delete:
      operationId: deleteWebhook
      summary: Delete a webhook
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:write
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      responses:
        '200':
          description: Webhook deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
      description: Delete a webhook. Asset-scoped tokens may delete only a webhook whose business_unit is covered by their token scopes.
    get:
      operationId: getWebhook
      summary: Get a webhook
      description: Returns a webhook subscription. Asset-scoped tokens may access only a webhook whose business_unit is covered by their token scopes.
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:read
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      responses:
        '200':
          description: Webhook subscription.
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhook:
                    $ref: '#/components/schemas/Webhook'
                required:
                - webhook
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /webhooks/{webhookId}/deliveries:
    get:
      operationId: listWebhookDeliveries
      summary: List webhook deliveries
      description: Returns a paginated delivery log for a specific webhook, newest first. Filter by `status` to see only failed or pending deliveries. Asset-scoped tokens may access deliveries only for an in-scope business_unit webhook.
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:read
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/Limit'
      - name: status
        in: query
        required: false
        description: Only deliveries in this state. Omit for every delivery.
        schema:
          $ref: '#/components/schemas/WebhookDeliveryStatus'
      responses:
        '200':
          description: Paginated delivery log.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_WebhookDelivery'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /webhooks/{webhookId}/deliveries/{deliveryId}:
    get:
      operationId: getWebhookDelivery
      summary: Get a webhook delivery
      description: Returns one delivery attempt record, including the event payload that was sent and the endpoint's response status and body. Asset-scoped tokens may access deliveries only for an in-scope business_unit webhook.
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:read
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      - description: UUID of the delivery. Use the `id` field of an item from `listWebhookDeliveries`.
        name: deliveryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: The delivery.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /webhooks/{webhookId}/deliveries/{deliveryId}/resend:
    post:
      operationId: resendWebhookDelivery
      summary: Resend a failed webhook delivery
      description: Creates a new pending delivery with the same event and payload as a delivery that reached `failed`, and dispatches it through the regular sender with a fresh retry budget. The original delivery is left unchanged as the record of its attempts. Only deliveries with status `failed` can be resent. Asset-scoped tokens may resend only for an in-scope business_unit webhook.
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:write
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      - description: UUID of the delivery. Use the `id` field of an item from `listWebhookDeliveries`.
        name: deliveryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '202':
          description: The new delivery, in status `pending`. Poll `getWebhookDelivery` for its outcome.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: The delivery is not in status `failed`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          $ref: '#/components/responses/InternalError'
  /webhooks/{webhookId}/test:
    post:
      operationId: testWebhook
      summary: Send a test delivery
      description: Sends a `webhook.test` event to the endpoint. The delivery is signed and delivered exactly like a real event (same headers, envelope, retries) and appears in the delivery log, so you can confirm the endpoint receives and verifies Strix payloads. The `data` payload contains `webhook_id`, `organization_id`, `message`, and `triggered_by`. The webhook must be enabled.
      tags:
      - Webhooks
      security:
      - BearerAuth:
        - webhooks:write
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      responses:
        '202':
          description: The test delivery, in status `pending`. Poll `getWebhookDelivery` for its outcome.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: The webhook is disabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  responses:
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Bad request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: Insufficient permissions or missing scope. A missing scope returns the `insufficient_scope` code, the `required_scope` field, and a `hint` with the command or page that grants the scope, so a client can request the correct scope and retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable explanation of the error.
        code:
          type: string
          description: Stable machine-readable error code. `insufficient_scope` means the token does not hold the scope that this endpoint requires.
        required_scope:
          $ref: '#/components/schemas/ApiV1Scope'
          description: Scope that the caller must add to the token. Returned with the `insufficient_scope` code.
        docs:
          type: string
          format: uri
          description: Documentation page that explains how to resolve the error.
        hint:
          type: string
          description: One instruction that resolves the error. For `insufficient_scope`, a CLI session gets the `strix cloud session scopes set full` or `strix cloud login --scope-profile full` command, and an API token gets the settings page where the user creates a token with the scope. When the owner's role cannot hold the scope, the hint asks for a role change instead.
      required:
      - detail
    SuccessResponse:
      type: object
      properties:
        success:
          type: boolean
      required:
      - success
    UpdateWebhookRequest:
      type: object
      description: At least one of url, events, is_active, business_unit, or rotate_secret must be provided.
      properties:
        url:
          description: New HTTPS endpoint that receives the signed webhook deliveries.
          type: string
          format: uri
        events:
          description: Full replacement list of event names to subscribe to. Use `*` to receive every event.
          type: array
          items:
            $ref: '#/components/schemas/WebhookEvent'
        business_unit:
          type:
          - string
          - 'null'
          description: Set to a string to restrict deliveries to that business_unit (requires the Enterprise plan), or null to clear the scope (organization-wide).
        is_active:
          description: Set to false to pause deliveries, or true to resume them.
          type: boolean
        rotate_secret:
          type: boolean
          description: If true, generate and return a new signing secret.
    ApiV1Scope:
      type: string
      enum:
      - scans:read
      - scans:write
      - vulnerabilities:read
      - vulnerabilities:write
      - dependencies:read
      - schedules:read
      - schedules:write
      - assets:read
      - assets:write
      - organizations:read
      - organizations:write
      - members:read
      - members:write
      - invitations:read
      - invitations:write
      - webhooks:read
      - webhooks:write
      - tokens:write
      - audit:read
      - pr_reviews:read
      - pr_reviews:write
      - connectors:read
      - connectors:write
      - knowledge:read
      - knowledge:write
      - uploads:write
      - integrations:read
      - integrations:write
      - chat:read
      - chat:write
      - scans:message
      - analytics:read
      - llm:read
      - llm:write
      - test_users:read
      - test_users:write
      - discovery:read
      - discovery:write
      - license:read
      - supply_chain:read
      - supply_chain:write
      - billing:read
      - billing:write
      - containers:read
      - containers:write
      - logs:read
    PaginatedResponse_WebhookDelivery:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
      required:
      - items
      - meta
    CreateWebhookRequest:
      type: object
      properties:
        url:
          description: HTTPS endpoint that receives the signed webhook deliveries.
          type: string
          format: uri
        events:
          description: Event names to subscribe to. Use `*` to receive every event.
          type: array
          items:
            $ref: '#/components/schemas/WebhookEvent'
          minItems: 1
        business_unit:
          type:
          - string
          - 'null'
          description: Optional. Restrict deliveries to events whose asset carries this business_unit. Requires the Enterprise plan. Omit or null for an organization-wide subscription.
        is_active:
          description: When false, the webhook is stored but no deliveries are sent.
          type: boolean
          default: true
      required:
      - url
      - events
    WebhookDelivery:
      type: object
      properties:
        id:
          type: string
          format: uuid
        subscription_id:
          type: string
          format: uuid
        organization_id:
          type: string
        event_type:
          type: string
        payload:
          type: object
          description: The event data, the `data` field of the signed envelope the endpoint received.
        status:
          $ref: '#/components/schemas/WebhookDeliveryStatus'
        attempts:
          type: integer
          description: Attempts made so far.
        next_attempt_at:
          type:
          - string
          - 'null'
          format: date-time
        last_error:
          type:
          - string
          - 'null'
          description: Why the most recent attempt failed, or null when it succeeded.
        response_status:
          type:
          - integer
          - 'null'
          description: HTTP status the endpoint returned, or null when no response arrived.
        response_body:
          type:
          - string
          - 'null'
          description: Response body the endpoint returned, truncated for storage, or null when none arrived.
        sent_at:
          type:
          - string
          - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - subscription_id
      - event_type
      - status
      - attempts
      - created_at
    PaginationMeta:
      type: object
      properties:
        page:
          type: integer
        limit:
          type: integer
        total_items:
          type: integer
        total_pages:
          type: integer
        has_next:
          type: boolean
        has_prev:
          type: boolean
      required:
      - page
      - limit
      - total_items
      - total_pages
      - has_next
      - has_prev
    Webhook:
      type: object
      properties:
        id:
          type: string
          format: uuid
        organization_id:
          type: string
        url:
          type: string
          format: uri
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEvent'
        business_unit:
          type:
          - string
          - 'null'
          description: When set, deliveries are restricted to events whose asset carries this business_unit. Null delivers for the whole organization.
        secret_prefix:
          type: string
        is_active:
          type: boolean
        last_success_at:
          type:
          - string
          - 'null'
          format: date-time
        last_failure_at:
          type:
          - string
          - 'null'
          format: date-time
        created_by:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - url
      - events
      - is_active
      - created_at
    WebhookEvent:
      type: string
      enum:
      - scan.created
      - scan.completed
      - scan.failed
      - scan.cancelled
      - vulnerability.created
      - vulnerability.deleted
      - vulnerability.status_changed
      - vulnerability.severity_changed
      - '*'
      - pr_review.completed
      - pr_review.failed
    WebhookDeliveryResponse:
      type: object
      properties:
        delivery:
          $ref: '#/components/schemas/WebhookDelivery'
      required:
      - delivery
    WebhookDeliveryStatus:
      type: string
      enum:
      - pending
      - sending
      - sent
      - failed
      description: 'pending: queued for its next attempt. sending: an attempt is in flight. sent: the endpoint answered 2xx. failed: every retry was used or the endpoint rejected the delivery.'
  parameters:
    Page:
      description: Page number of the result set. The first page is 1.
      name: page
      in: query
      schema:
        type: integer
        minimum: 1
        default: 1
    WebhookId:
      description: UUID of the webhook. Use the `id` field of a webhook from `listWebhooks`.
      name: webhookId
      in: path
      required: true
      schema:
        type: string
        format: uuid
    Limit:
      description: Maximum number of items per page. The default is 20 and the maximum is 100.
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API token obtained from the Tokens endpoint or CLI device login. Include as `Authorization: Bearer <token>`. Requests made with a managed CLI session also include `X-Strix-Workspace: <organization_id>` to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.'
    StrixAuthorization:
      type: apiKey
      in: header
      name: X-Strix-Authorization
      description: 'API token for operations where the standard Authorization header carries a protocol credential. Include as `X-Strix-Authorization: Bearer <token>`.'