FusionAuth Webhook API

The Webhook API from FusionAuth — 3 operation(s) for webhook.

GitHub OpenAPI
Business capability
Webhook & Event Subscription Management BC-4270.80

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/webhook Create a webhook · Create webhook #
Ask an LLM
“How do I register a URL to receive user action events?”
“Can I set my own webhook ID when creating one?”
Tell an agent
Create a webhook with {webhook}.
Register a new webhook for user action events.
GET /api/webhook List all webhooks · Retrieve webhook #
Ask an LLM
“Which webhooks are configured in FusionAuth?”
“Can I fetch every webhook at once?”
Tell an agent
List all webhooks.
Show every webhook configured.
POST /api/webhook/search Search webhooks · Search webhooks with id #
Ask an LLM
“Which webhooks match a given search?”
“Can I page through webhooks by criteria?”
Tell an agent
Search webhooks with {search}.
Find webhooks matching {search}.
POST /api/webhook/{webhookId} Create a webhook with a given ID · Create webhook with id #
Ask an LLM
“Can I create a webhook with a specific ID instead of a random one?”
“What happens if I pass an ID when creating a webhook?”
Tell an agent
Create webhook {webhookId} with {webhook}.
Create webhook {webhookId} using my own ID.
DELETE /api/webhook/{webhookId} Delete a webhook · Delete webhook with id #
Ask an LLM
“How do I stop a webhook from receiving events?”
“Can I delete a webhook by its ID?”
Tell an agent destructive · confirm first
Delete webhook {webhookId}.
Remove webhook {webhookId} so it stops sending events.
PATCH /api/webhook/{webhookId} Patch a webhook · Patch webhook with id #
Ask an LLM
“Can I change just the URL of an existing webhook?”
“How do I partially update a webhook's settings?”
Tell an agent
Patch webhook {webhookId} with {webhook}.
Change only the URL on webhook {webhookId}.
GET /api/webhook/{webhookId} Get a webhook by ID · Retrieve webhook with id #
Ask an LLM
“What URL and settings does a specific webhook have?”
“Can I fetch one webhook by its ID?”
Tell an agent
Get webhook {webhookId}.
Show the configuration of webhook {webhookId}.
PUT /api/webhook/{webhookId} Replace a webhook · Update webhook with id #
Ask an LLM
“How do I overwrite a webhook's URL and settings?”
“Can I fully replace an existing webhook?”
Tell an agent
Replace webhook {webhookId} with {webhook}.
Overwrite webhook {webhookId} entirely.

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/fusionauth:fusionauth-webhook-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

fusionauth-webhook-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.66.0
  title: FusionAuth Webhook API
  description: This is a FusionAuth server. Find out more at https://fusionauth.io. You need to set up an API key in the FusionAuth instance you are using to test out the API calls.
  license:
    name: Apache2
servers:
- url: http://localhost:9011
- url: https://sandbox.fusionauth.io
security:
- ApiKeyAuth: []
tags:
- name: Webhook
paths:
  /api/webhook:
    post:
      description: Creates a webhook. You can optionally specify an Id for the webhook, if not provided one will be generated.
      operationId: createWebhook
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
      tags:
      - Webhook
      summary: Create webhook
      x-summary-source: derived
    get:
      description: Retrieves the webhook for the given Id. If you pass in null for the Id, this will return all the webhooks.
      operationId: retrieveWebhook
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
        default:
          description: Error
      tags:
      - Webhook
      summary: Retrieve webhook
      x-summary-source: derived
  /api/webhook/search:
    post:
      description: Searches webhooks with the specified criteria and pagination.
      operationId: searchWebhooksWithId
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookSearchRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookSearchResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
      tags:
      - Webhook
      summary: Search webhooks with id
      x-summary-source: derived
  /api/webhook/{webhookId}:
    post:
      description: Creates a webhook. You can optionally specify an Id for the webhook, if not provided one will be generated.
      operationId: createWebhookWithId
      parameters:
      - name: webhookId
        in: path
        schema:
          type: string
        required: true
        description: The Id for the webhook. If not provided a secure random UUID will be generated.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
      tags:
      - Webhook
      summary: Create webhook with id
      x-summary-source: derived
    delete:
      description: Deletes the webhook for the given Id.
      operationId: deleteWebhookWithId
      parameters:
      - name: webhookId
        in: path
        schema:
          type: string
        required: true
        description: The Id of the webhook to delete.
      responses:
        '200':
          description: Success
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
      tags:
      - Webhook
      summary: Delete webhook with id
      x-summary-source: derived
    patch:
      description: Patches the webhook with the given Id.
      operationId: patchWebhookWithId
      parameters:
      - name: webhookId
        in: path
        schema:
          type: string
        required: true
        description: The Id of the webhook to update.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
      tags:
      - Webhook
      summary: Patch webhook with id
      x-summary-source: derived
    get:
      description: Retrieves the webhook for the given Id. If you pass in null for the Id, this will return all the webhooks.
      operationId: retrieveWebhookWithId
      parameters:
      - name: webhookId
        in: path
        schema:
          type: string
        required: true
        description: The Id of the webhook.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
        default:
          description: Error
      tags:
      - Webhook
      summary: Retrieve webhook with id
      x-summary-source: derived
    put:
      description: Updates the webhook with the given Id.
      operationId: updateWebhookWithId
      parameters:
      - name: webhookId
        in: path
        schema:
          type: string
        required: true
        description: The Id of the webhook to update.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
      tags:
      - Webhook
      summary: Update webhook with id
      x-summary-source: derived
components:
  schemas:
    Errors:
      description: Standard error domain object that can also be used as the response from an API call.
      type: object
      properties:
        fieldErrors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
        generalErrors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
    WebhookSignatureConfiguration:
      description: Configuration for signing webhooks.
      type: object
      properties:
        signingKeyId:
          type: string
          format: uuid
        enabled:
          type: boolean
    HTTPHeaders:
      description: Type for webhook headers.
      type: object
      properties: {}
    ZonedDateTime:
      description: 'The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.'
      example: '1659380719000'
      type: integer
      format: int64
    WebhookSearchCriteria:
      description: Search criteria for webhooks.
      type: object
      properties:
        description:
          type: string
        tenantId:
          type: string
          format: uuid
        url:
          type: string
        numberOfResults:
          type: integer
        orderBy:
          type: string
        startRow:
          type: integer
    Error:
      description: Defines an error.
      type: object
      properties:
        code:
          type: string
        data:
          type: object
          additionalProperties:
            type: object
        message:
          type: string
    WebhookSearchRequest:
      description: Search request for webhooks
      type: object
      properties:
        search:
          $ref: '#/components/schemas/WebhookSearchCriteria'
    WebhookRequest:
      description: Webhook API request object.
      type: object
      properties:
        webhook:
          $ref: '#/components/schemas/Webhook'
    Webhook:
      description: A server where events are sent. This includes user action events and any other events sent by FusionAuth.
      type: object
      properties:
        connectTimeout:
          type: integer
        data:
          type: object
          additionalProperties:
            type: object
        description:
          type: string
        eventsEnabled:
          type: object
          additionalProperties:
            type: boolean
        global:
          type: boolean
        headers:
          $ref: '#/components/schemas/HTTPHeaders'
        httpAuthenticationPassword:
          type: string
        httpAuthenticationUsername:
          type: string
        id:
          type: string
          format: uuid
        insertInstant:
          $ref: '#/components/schemas/ZonedDateTime'
        lastUpdateInstant:
          $ref: '#/components/schemas/ZonedDateTime'
        readTimeout:
          type: integer
        signatureConfiguration:
          $ref: '#/components/schemas/WebhookSignatureConfiguration'
        sslCertificate:
          type: string
        sslCertificateKeyId:
          type: string
          format: uuid
        tenantIds:
          type: array
          items:
            type: string
            format: uuid
        url:
          type: string
          format: URI
    WebhookResponse:
      description: Webhook API response object.
      type: object
      properties:
        webhook:
          $ref: '#/components/schemas/Webhook'
        webhooks:
          type: array
          items:
            $ref: '#/components/schemas/Webhook'
    WebhookSearchResponse:
      description: Webhook search response
      type: object
      properties:
        total:
          type: integer
          format: int64
        webhooks:
          type: array
          items:
            $ref: '#/components/schemas/Webhook'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: Authorization
      in: header
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-provenance:
  method: harvested
  publisher: FusionAuth
  source: https://raw.githubusercontent.com/fusionauth/fusionauth-openapi/HEAD/openapi.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)