ThrustLab Webhook Endpoints API

The Webhook Endpoints API from ThrustLab — 7 operation(s) for webhook endpoints.

GitHub OpenAPI

Operations 10

GET /v1/webhook_endpoints List Webhook Endpoints #
POST /v1/webhook_endpoints Create Webhook Endpoint #
DELETE /v1/webhook_endpoints/{public_id} Delete Webhook Endpoint #
GET /v1/webhook_endpoints/{public_id} Get Webhook Endpoint #
PATCH /v1/webhook_endpoints/{public_id} Patch Webhook Endpoint #
GET /v1/webhook_endpoints/{public_id}/deliveries List Deliveries #
GET /v1/webhook_endpoints/{public_id}/deliveries/{delivery_public_id} Get Delivery #
POST /v1/webhook_endpoints/{public_id}/deliveries/{delivery_public_id}/retry Retry Delivery #
POST /v1/webhook_endpoints/{public_id}/rotate_secret Rotate Webhook Secret #
POST /v1/webhook_endpoints/{public_id}/test Fire Test Event #

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/thrustlab-com:thrustlab-com-webhook-endpoints-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

thrustlab-com-webhook-endpoints-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Electric UAV powertrain simulation platform
  title: ThrustLab Webhook Endpoints API
  version: v1-beta
servers:
- description: Production
  url: https://thrustlab.com
security:
- HTTPBearer: []
tags:
- name: Webhook Endpoints
paths:
  /v1/webhook_endpoints:
    get:
      operationId: list_webhook_endpoints_v1_webhook_endpoints_get
      parameters:
      - in: query
        name: limit
        required: false
        schema:
          default: 25
          title: Limit
          type: integer
      - in: query
        name: cursor
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - in: query
        name: enabled
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enabled
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response List Webhook Endpoints V1 Webhook Endpoints Get
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: List Webhook Endpoints
      tags:
      - Webhook Endpoints
    post:
      operationId: create_webhook_endpoint_v1_webhook_endpoints_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_WebhookEndpointCreate'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Create Webhook Endpoint V1 Webhook Endpoints Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Create Webhook Endpoint
      tags:
      - Webhook Endpoints
  /v1/webhook_endpoints/{public_id}:
    delete:
      operationId: delete_webhook_endpoint_v1_webhook_endpoints__public_id__delete
      parameters:
      - in: path
        name: public_id
        required: true
        schema:
          title: Public Id
          type: string
      responses:
        '204':
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Delete Webhook Endpoint
      tags:
      - Webhook Endpoints
    get:
      operationId: get_webhook_endpoint_v1_webhook_endpoints__public_id__get
      parameters:
      - in: path
        name: public_id
        required: true
        schema:
          title: Public Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Get Webhook Endpoint V1 Webhook Endpoints  Public Id  Get
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Get Webhook Endpoint
      tags:
      - Webhook Endpoints
    patch:
      operationId: patch_webhook_endpoint_v1_webhook_endpoints__public_id__patch
      parameters:
      - in: path
        name: public_id
        required: true
        schema:
          title: Public Id
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_WebhookEndpointPatch'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Patch Webhook Endpoint V1 Webhook Endpoints  Public Id  Patch
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Patch Webhook Endpoint
      tags:
      - Webhook Endpoints
  /v1/webhook_endpoints/{public_id}/deliveries:
    get:
      description: 'List deliveries for one endpoint, filterable + cursor-paginated.


        Filters: ``status`` (delivery state), ``event_type`` (JOIN to events.type),

        ``created_at[gte]`` (raw query-param parsed off ``request.query_params``

        because FastAPI can''t bind keys with brackets to function arguments).

        Sort + cursor format match the endpoints list (created_at desc, public_id

        desc tie-breaker) so :func:`_encode_cursor` / :func:`_decode_cursor` are

        reused unchanged.'
      operationId: list_deliveries_v1_webhook_endpoints__public_id__deliveries_get
      parameters:
      - in: path
        name: public_id
        required: true
        schema:
          title: Public Id
          type: string
      - in: query
        name: status
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      - in: query
        name: event_type
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Event Type
      - in: query
        name: limit
        required: false
        schema:
          default: 25
          title: Limit
          type: integer
      - in: query
        name: cursor
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response List Deliveries V1 Webhook Endpoints  Public Id  Deliveries Get
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: List Deliveries
      tags:
      - Webhook Endpoints
  /v1/webhook_endpoints/{public_id}/deliveries/{delivery_public_id}:
    get:
      operationId: get_delivery_v1_webhook_endpoints__public_id__deliveries__delivery_public_id__get
      parameters:
      - in: path
        name: public_id
        required: true
        schema:
          title: Public Id
          type: string
      - in: path
        name: delivery_public_id
        required: true
        schema:
          title: Delivery Public Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Get Delivery V1 Webhook Endpoints  Public Id  Deliveries  Delivery Public Id  Get
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Get Delivery
      tags:
      - Webhook Endpoints
  /v1/webhook_endpoints/{public_id}/deliveries/{delivery_public_id}/retry:
    post:
      description: 'Manually replay a terminal delivery.


        Creates a brand-new delivery row with ``manual_retry_of`` pointing back

        at the source delivery and a fresh attempt budget. Reuses the original''s

        ``request_body`` so the worker re-signs the same canonical bytes — this

        matters when the source event has since been pruned by the retention

        sweep, since the body lives on the delivery row, not the event row.


        Rejects with 409 when the source is still ``pending`` so a stuck delivery

        can''t be cloned into a duplicate-fire pair.'
      operationId: retry_delivery_v1_webhook_endpoints__public_id__deliveries__delivery_public_id__retry_post
      parameters:
      - in: path
        name: public_id
        required: true
        schema:
          title: Public Id
          type: string
      - in: path
        name: delivery_public_id
        required: true
        schema:
          title: Delivery Public Id
          type: string
      responses:
        '202':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Retry Delivery V1 Webhook Endpoints  Public Id  Deliveries  Delivery Public Id  Retry Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Retry Delivery
      tags:
      - Webhook Endpoints
  /v1/webhook_endpoints/{public_id}/rotate_secret:
    post:
      description: 'Generate a new secret, replace stored value, return it once.


        Old secret is invalidated immediately — no overlap window. Documented

        behavior per: rotate during a maintenance window.'
      operationId: rotate_webhook_secret_v1_webhook_endpoints__public_id__rotate_secret_post
      parameters:
      - in: path
        name: public_id
        required: true
        schema:
          title: Public Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Rotate Webhook Secret V1 Webhook Endpoints  Public Id  Rotate Secret Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Rotate Webhook Secret
      tags:
      - Webhook Endpoints
  /v1/webhook_endpoints/{public_id}/test:
    post:
      description: 'Fire a synthetic ``webhook.test`` event scoped to one endpoint.


        Inserts the event row with ``delivered_at=NOW()`` so the regular fan-out

        pass skips it, then inserts a single ``webhook_deliveries`` row pointing

        at this endpoint, and dispatches the worker.'
      operationId: fire_test_event_v1_webhook_endpoints__public_id__test_post
      parameters:
      - in: path
        name: public_id
        required: true
        schema:
          title: Public Id
          type: string
      responses:
        '202':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Fire Test Event V1 Webhook Endpoints  Public Id  Test Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Fire Test Event
      tags:
      - Webhook Endpoints
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    _WebhookEndpointPatch:
      properties:
        description:
          anyOf:
          - maxLength: 255
            type: string
          - type: 'null'
          title: Description
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enabled
        events:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Events
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
      title: _WebhookEndpointPatch
      type: object
    _WebhookEndpointCreate:
      properties:
        description:
          anyOf:
          - maxLength: 255
            type: string
          - type: 'null'
          title: Description
        events:
          items:
            type: string
          title: Events
          type: array
        url:
          title: Url
          type: string
      required:
      - url
      - events
      title: _WebhookEndpointCreate
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
      - loc
      - msg
      - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http