Webhook Relay Tokens API

Token key & secret pairs are used to authenticate your API calls or for agents to subscribe to webhook forwarding or open tunnels.

Operations 4

GET /v1/tokens List All Authentication Tokens #
POST /v1/tokens Create a New Authentication Token #
PUT /v1/tokens/{tokenID} Update Token Details #
DELETE /v1/tokens/{tokenID} Delete Token #

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-tokens-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-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '1.0'
  title: Webhook Relay Tokens 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: Tokens
  description: Token key & secret pairs are used to authenticate your API calls or for agents to subscribe to webhook forwarding or open tunnels.
paths:
  /v1/tokens:
    x-summary: List and create tunnels
    get:
      tags:
      - Tokens
      summary: List All Authentication Tokens
      responses:
        200:
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Token'
              example:
              - created_at: 1535232797
                updated_at: 1540394529
                last_login: 3 days ago
                id: 0a8dd8b4-aaaa-rrrr-dddd-ccc860e3005a
                description: linux cli
                scopes:
                  buckets: []
                  tunnels: []
                active: true
                api_access: enabled
      operationId: getV1Tokens
      x-operation-id-source: derived
    post:
      tags:
      - Tokens
      summary: Create a New Authentication Token
      responses:
        201:
          description: Create a new token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenCreateResponse'
              example:
                key: cc58c9ea-5fa7-466e-91dc-5c08d0b1127c
                secret: very-secret
        400:
          description: ''
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Token'
        required: true
      operationId: postV1Tokens
      x-operation-id-source: derived
  /v1/tokens/{tokenID}:
    x-summary: Update and delete tokens
    parameters:
    - name: tokenID
      in: path
      description: ID of token
      required: true
      schema:
        type: string
    put:
      tags:
      - Tokens
      summary: Update Token Details
      responses:
        200:
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Token'
              example:
                application/json: null
                created_at: 1535365683
                updated_at: 1536161359
                id: cc58c9ea-5fa7-466e-91dc-5c08d0b1127c
                description: ''
                scopes:
                  buckets: []
                  tunnels:
                  - foo
                  - bar
                  - faa
                active: true
                api_access: enabled
        404:
          description: Tunnel not found
        400:
          description: Bad request (check response message)
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Token'
        required: true
      operationId: putV1TokensByTokenID
      x-operation-id-source: derived
    delete:
      tags:
      - Tokens
      summary: Delete Token
      responses:
        200:
          description: Successful Response
        404:
          description: Token not found
      operationId: deleteV1TokensByTokenID
      x-operation-id-source: derived
components:
  schemas:
    TokenScopes:
      title: TokenScopes
      type: object
      properties:
        tunnels:
          type: array
          items:
            type: string
        buckets:
          type: array
          items:
            type: string
    TokenCreateResponse:
      title: Token Create Response
      type: object
      properties:
        key:
          type: string
          description: Token key, this is an alias to token ID
        secret:
          type: string
          description: This is the only time secret is revealed as it is already encrypted by the system
    Token:
      title: Token
      type: object
      properties:
        id:
          type: string
          readOnly: true
        created_at:
          type: integer
          readOnly: true
        updated_at:
          type: integer
          readOnly: true
        last_login:
          type: string
          readOnly: true
        api_access:
          type: string
          enum:
          - disabled
          - enabled
          description: Enable/disable API access. If disabled, it can only be used to open tunnel connections or forward webhooks but not change any existing configuration
          example: enabled
        description:
          type: string
        scopes:
          type: object
          $ref: '#/components/schemas/TokenScopes'
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