Webhook Relay Functions API

Webhook Relay Functions provide an easy way to extract values from webhooks and transform HTTP requests before passing them to their final destination. Function can be reused by any number of Inputs and/or Outputs. Since user doesn’t have to run a server, this type of function service is also known as FaaS (Function as a Service) or Serverless. Read more about functions here: https://webhookrelay.com/docs/webhooks/functions/manipulating-json. Basic function examples can be found here: https://webhookrelay.com/docs/webhooks/functions/modify-request.

Operations 5

GET /v1/functions List All Functions #
POST /v1/functions Create a New Function #
PUT /v1/functions/{functionID} Update Function #
GET /v1/functions/{functionID} Get Function Details #
DELETE /v1/functions/{functionID} Delete Function #

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/webhook-relay:webhook-relay-functions-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

webhook-relay-functions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '1.0'
  title: Webhook Relay Functions API
  description: '# Introduction

    Fast, secure tunnels to your internal networks.'
  termsOfService: https://webhookrelay.com/tos/
  contact:
    email: support@webhookrelay.com
servers:
- url: https://my.webhookrelay.com/
tags:
- name: Functions
  description: 'Webhook Relay Functions provide an easy way to extract values from webhooks and transform HTTP

    requests before passing them to their final destination.'
paths:
  /v1/functions:
    x-summary: List and create functions
    get:
      tags:
      - Functions
      summary: List All Functions
      responses:
        200:
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Function'
      operationId: getV1Functions
      x-operation-id-source: derived
    post:
      tags:
      - Functions
      description: You may create your own functions using this action. It takes a JSON object containing a function request. Once function is created, you can assign it based on its ID to bucket's input and/or output.
      summary: Create a New Function
      responses:
        201:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Function'
        400:
          description: Invalid function request supplied
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FunctionRequest'
        required: true
      operationId: postV1Functions
      x-operation-id-source: derived
  /v1/functions/{functionID}:
    x-summary: Get and delete functions
    parameters:
    - name: functionID
      in: path
      description: ID of a function to return
      required: true
      schema:
        type: string
    put:
      tags:
      - Functions
      description: Update function.
      summary: Update Function
      responses:
        200:
          description: Function updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Function'
        400:
          description: Invalid function update request supplied
        404:
          description: Function not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FunctionRequest'
        required: true
      operationId: putV1FunctionsByFunctionID
      x-operation-id-source: derived
    get:
      tags:
      - Functions
      summary: Get Function Details
      responses:
        200:
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Function'
              example:
              - created: 1496610194
                updated: 1532192772
                id: 339ed2e3-70cf-4a81-8db8-e95a9251155d
                name: lightspeedhq_to_webshipper
                driver: lua
                payload: <base64 encoded function body>
                payload_size: 500814
                account_id: bd7e1dfc-54c8-408c-a885-7498bf1d8522
        404:
          description: Function not found
      operationId: getV1FunctionsByFunctionID
      x-operation-id-source: derived
    delete:
      tags:
      - Functions
      summary: Delete Function
      responses:
        200:
          description: Successful Response
        404:
          description: Function not found
      operationId: deleteV1FunctionsByFunctionID
      x-operation-id-source: derived
components:
  schemas:
    FunctionRequest:
      title: Create/update function request
      type: object
      properties:
        name:
          type: string
        payload:
          type: string
          description: base64 encoded function payload
        driver:
          type: string
          description: Driver name (Lua, WASI)
    Function:
      title: Function
      type: object
      properties:
        id:
          type: string
          readOnly: true
        created:
          type: integer
          readOnly: true
        updated:
          type: integer
          readOnly: true
        name:
          type: string
        payload:
          type: string
          description: base64 encoded function body
        payload_size:
          type: integer
          readOnly: true
        compression:
          type: string
          readOnly: true
        metadata:
          type: object
          additionalProperties:
            type: string
externalDocs:
  description: Find out more in the official documentation.
  url: https://webhookrelay.com/docs
x-tagGroups:
- name: Authentication
  tags:
  - Tokens
- name: Webhook Forwarding
  tags:
  - Buckets
  - Outputs
  - Inputs
  - Logs
  - Functions
- name: Tunneling
  tags:
  - Tunnels