GoFreight webhooks API

GoFreight webhooks API as documented publicly. Contract generated from the documentation by API Evangelist (2026-12-02); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

GET /api/v1/webhook Retrieve a Subscription #
POST /api/v1/webhook POST /api/v1/webhook #
DELETE /api/v1/webhook/{ref} Delete an existing subscription #
GET /api/v1/webhook/{ref} Retrieve a Subscription #

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/gofreight: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

gofreight-webhooks-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: GoFreight webhooks API
  version: '2026-12-02'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-12-02: 4 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; GoFreight has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 5
    documentation: 10
    pages-with-code: 5
    pages-read: 5
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-12-02'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://developers.gofreight.com/docs/webhooks/using_webhooks
  x-docs-section: webhooks
servers:
- url: https://api.core.gofreight.co
paths:
  /api/v1/webhook:
    get:
      operationId: get_api_v1_webhook
      tags:
      - Api
      summary: Retrieve a Subscription
      x-source: https://developers.gofreight.com/docs/webhooks/using_webhooks
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1WebhookResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_webhook
      tags:
      - Api
      summary: POST /api/v1/webhook
      x-source: https://developers.gofreight.com/docs/webhooks/using_webhooks
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1WebhookRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1WebhookResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl command to create a webhook subscription that subscribes only to invoice.created events. curl --request POST  --url https://api.core.gofreight.co/api/v1/webhook/\
          \  --header 'Accept: application/json'  --header 'Content-Type: application/json'  --header 'X-GATEWAY-TOKEN: <your token>'  --data\
          \ '{\n \"callback_url\": \"https://example.com/callback/\",\n \"event_types\": [\"invoice.created\"],\n \"description"
  /api/v1/webhook/{ref}:
    delete:
      operationId: delete_api_v1_webhook_ref
      tags:
      - Api
      summary: Delete an existing subscription
      x-source: https://developers.gofreight.com/docs/webhooks/using_webhooks
      parameters:
      - name: ref
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiV1WebhookRefResponse'
      x-evidence:
        kind: documentation
    get:
      operationId: get_api_v1_webhook_ref
      tags:
      - Api
      summary: Retrieve a Subscription
      x-source: https://developers.gofreight.com/docs/webhooks/using_webhooks
      parameters:
      - name: ref
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1WebhookRefResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiV1WebhookResponse:
      type: object
      properties:
        data:
          type: array
          description: List of webhook subscriptions
    PostApiV1WebhookRequest:
      type: object
      properties:
        callback_url:
          type: string
        event_types:
          type: array
          items:
            type: string
        description:
          type: string
    PostApiV1WebhookResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            ref:
              type: string
            callback_url:
              type: string
            event_types:
              type: array
              items:
                type: string
            secret:
              type: string
            description:
              type: string
            enabled:
              type: boolean
            created_at:
              type: string
              format: date-time
            updated_at:
              type: string
              format: date-time
    DeleteApiV1WebhookRefResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the deletion succeeded
    GetApiV1WebhookRefResponse:
      type: object
      properties:
        data:
          type: object
          description: Details of the requested webhook subscription
tags:
- name: Api