Veho Webhooks API

Webhooks

GitHub OpenAPI

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

GET /webhooks/webhookConfigurations List webhook configurations · Get current webhook configurations #
Ask an LLM
“Which webhook endpoints are set up for my account?”
“What events does each of my webhooks listen for?”
Tell an agent
List all my webhook configurations.
Show every webhook endpoint and the events it receives.
POST /webhooks/webhookConfigurations Add a webhook endpoint · Add a new webhook configuration #
Ask an LLM
“How do I get package events pushed to my own endpoint?”
“Can I send delivery events to a webhook for a specific service type?”
Tell an agent
Add a webhook to {endpoint} for {eventType} events on {serviceType} service.
Create a webhook at {endpoint} that sends {eventType} events for {serviceType} with headers {customHeaders}.
GET /webhooks/webhookConfigurations/{id} Get a webhook configuration · Get a webhook configuration by ID #
Ask an LLM
“What endpoint and events does one webhook configuration use?”
“Can I look up a single webhook by its ID?”
Tell an agent
Get webhook configuration {id}.
Show the endpoint and events for webhook {id}.
PATCH /webhooks/webhookConfigurations/{id} Update a webhook configuration · Update a Webhook Configuration by ID #
Ask an LLM
“How do I change the endpoint of an existing webhook?”
“Can I switch which events a webhook listens for?”
Tell an agent
Update webhook {id} to send {eventType} events on {serviceType} to {endpoint}.
Point existing webhook {id} at {endpoint} for {eventType} on {serviceType}.
DELETE /webhooks/webhookConfigurations/{id} Delete a webhook configuration · Delete a webhook configuration by ID #
Ask an LLM
“How do I stop a webhook from receiving events?”
“Can I remove a webhook configuration by ID?”
Tell an agent destructive · confirm first
Delete webhook configuration {id}.
Remove the webhook {id} from my account.
GET /webhooks/webhookEvents List webhook events · Get webhook events #
Ask an LLM
“Which webhook events failed to reach my endpoint?”
“Can I filter webhook events by order or tracking ID?”
Tell an agent
List webhook events between {occurredAtMin} and {occurredAtMax}.
Show webhook events for order {orderId} between {occurredAtMin} and {occurredAtMax}.
GET /webhooks/webhookEvents/{id} Get a webhook event · Get a webhook event by ID #
Ask an LLM
“What happened in a specific webhook event?”
“Can I fetch one webhook event by ID?”
Tell an agent
Get webhook event {id}.
Show the payload of webhook event {id}.
POST /webhooks/replay Replay failed webhook events · Replay webhook events #
Ask an LLM
“How do I resend webhook events that failed to deliver?”
“Can I replay a list of webhook event IDs to my endpoint?”
Tell an agent
Replay webhook events {ids}.
Resend the payloads of webhook events {ids} to their endpoints.

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

veho-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Veho Webhooks API
  version: '2.2'
  contact:
    email: info@shipveho.com
    url: https://shipveho.com/
    name: Veho
  description: 'Welcome to the Veho API documentation! You can use the Veho API to programmatically create shipments and download shipping labels.

    You''re viewing Version 2 of the Veho API, which is our current version, meaning it''s actively supported. Veho API V1 is deprecated.'
  summary: Veho API to programmatically create shipments and download shipping labels
servers:
- url: https://api.shipveho.com/v2
  description: Production
- url: https://api.sandbox.shipveho.com/v2
  description: Sandbox
security:
- apiKey: []
tags:
- name: Webhooks
  description: Webhooks
paths:
  /webhooks/webhookConfigurations:
    get:
      summary: Get current webhook configurations
      description: This endpoint returns a list of all webhook configurations for the client associated with the API key used in the request header.
      tags:
      - Webhooks
      operationId: getWebhookConfigurations
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookConfigurationListResponse'
        '403':
          $ref: '#/components/responses/403'
        '500':
          $ref: '#/components/responses/500'
      security:
      - apiKey: []
    post:
      summary: Add a new webhook configuration
      description: This endpoint creates a new webhook configuration for the client associated with the API key used in the request header.
      tags:
      - Webhooks
      operationId: addWebhookConfiguration
      requestBody:
        description: Webhook Configuration Object
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookConfigurationRequest'
        required: true
      responses:
        '200':
          description: successful operation
        '403':
          $ref: '#/components/responses/403'
      security:
      - apiKey: []
  /webhooks/webhookConfigurations/{id}:
    get:
      summary: Get a webhook configuration by ID
      description: This endpoint returns a single webhook configuration by its ID.
      tags:
      - Webhooks
      operationId: findWebhookConfigurationById
      parameters:
      - name: id
        in: path
        description: ID of the configuration you want to see
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookConfigurationResponse'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
      security:
      - apiKey: []
    patch:
      summary: Update a Webhook Configuration by ID
      description: This endpoint updates a single webhook configuration by ID.
      operationId: updateWebhookConfigurationById
      tags:
      - Webhooks
      parameters:
      - name: id
        in: path
        description: ID of the configuration you want to see
        required: true
        schema:
          type: string
      requestBody:
        description: Webhook Configuration Object
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookConfigurationRequest'
        required: true
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookConfigurationResponse'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
    delete:
      summary: Delete a webhook configuration by ID
      description: This endpoint deletes a single webhook configuration by ID.
      operationId: deleteWebhookConfigurationById
      tags:
      - Webhooks
      parameters:
      - name: id
        in: path
        description: ID of the configuration you want to delete
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/200'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
  /webhooks/webhookEvents:
    get:
      summary: Get webhook events
      description: This endpoint returns a list of all webhook events that fit the given search criteria, for the client associated with the API key used in the request header.
      operationId: getWebhookEvents
      tags:
      - Webhooks
      parameters:
      - name: occurredAtMin
        description: Defines the earliest time to search - the query will return webhook events occurring AFTER this time
        in: query
        required: true
        schema:
          type: string
          format: date-time
      - name: occurredAtMax
        description: Define the latest time to search - the query will return webhook events occurring BEFORE this time
        in: query
        required: true
        schema:
          type: string
          format: date-time
      - name: orderId
        description: Get all webhook events associated with a specific order
        in: query
        required: false
        schema:
          type: string
      - name: packageId
        description: Get all webhook events associated with a specific package
        in: query
        required: false
        schema:
          type: string
      - name: endpoint
        description: Get all webhook events associated with a specific endpoint
        in: query
        required: false
        schema:
          type: string
          format: url
      - name: trackingId
        description: Get all webhook events associated with a specific tracking ID
        in: query
        required: false
        schema:
          type: string
      - name: barcode
        description: Get all webhook events associated with a specific barcode
        in: query
        required: false
        schema:
          type: string
      - name: status
        description: Get all webhook events with associated with a specific success status
        in: query
        required: false
        schema:
          type: string
          enum:
          - success
          - failure
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookEvent'
        '403':
          description: Bad API key
        '404':
          description: No webhook events matching the query
      security:
      - apiKey: []
  /webhooks/webhookEvents/{id}:
    get:
      summary: Get a webhook event by ID
      operationId: getWebhookEventsById
      description: This endpoint returns a single webhook event by ID
      tags:
      - Webhooks
      parameters:
      - name: id
        description: ID of the individual event
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEvent'
        '403':
          description: Bad api key
        '404':
          description: No Webhook Events Matching the id
      security:
      - apiKey: []
  /webhooks/replay:
    post:
      summary: Replay webhook events
      description: This endpoint will take a list of webhook event IDs and re-attempt to send the payload from each event to the configured endpoint. This endpoint is best used in conjunction with the `getWebhookEvents` endpoint - you can use that endpoint to find the IDs of events that failed, using the necessary search criteria, then replay them using this endpoint.
      tags:
      - Webhooks
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  description: A list of webhook event IDs to replay
                  type: array
                  items:
                    type: string
        required: true
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  eventIdsReplayed:
                    description: The IDs of all the webhook events that were successfully replayed. Will return an empty array if no events were replayed.
                    type: array
                    items:
                      type: string
        '403':
          $ref: '#/components/responses/403'
      security:
      - apiKey: []
      operationId: replayWebhookEvents
components:
  schemas:
    WebhookConfigurationRequest:
      description: Defines a webhook configuration
      type: object
      properties:
        endpoint:
          type: string
          description: The endpoint that webhook events will be sent to for this configuration
          format: url
          example: https://www.example.com
        eventType:
          $ref: '#/components/schemas/EventType'
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        customHeaders:
          description: Headers needed to call the endpoint correctly, ex. an API key
          type: object
          additionalProperties:
            type: string
          example:
            KEY-1: SOMETHING-1
            KEY-2: SOMETHING-2
      required:
      - endpoint
      - serviceType
      - eventType
    WebhookConfigurationResponse:
      description: Webhook Configurations define what endpoint Veho will send webhook events to, and which package milestone events it will send them for.
      type: object
      properties:
        id:
          type: string
          example: abcd1234
        createdAt:
          type: string
          format: date-time
          example: '2021-01-30T08:30:00Z'
        updatedAt:
          type: string
          format: date-time
          example: '2021-01-30T08:30:00Z'
        endpoint:
          description: The URL that Veho will send webhook events to for this configuration
          type: string
          format: url
          example: https://www.example.com
        eventType:
          $ref: '#/components/schemas/EventType'
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        customHeaders:
          description: Headers needed to call the endpoint correctly, ex. an API key
          type: object
          additionalProperties:
            type: string
          example:
            KEY-1: SOMETHING-1
            KEY-2: SOMETHING-2
    WebhookEvent:
      description: A webhook event represents a single event that Veho attempted to send to a webhook endpoint. Each webhook event contains information about the attempted send, as well as a `payload` field to represent the webhook event object that was sent.
      type: object
      properties:
        id:
          description: ID of the event that occured
          type: string
        createdAt:
          description: time this webhook event initially tried to send
          type: string
          format: date-time
        updatedAt:
          description: time of last update to this webhook event
          type: string
          format: date-time
        webhookConfigurationId:
          description: ID of the webhook configuration that triggered this send
          type: string
        packageId:
          description: package ID associated with this event
          type: string
        orderId:
          description: order ID associated with this event
          type: string
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        eventType:
          $ref: '#/components/schemas/EventType'
        endpoint:
          description: url this event attempted to send to
          type: string
          format: url
        occurredAt:
          description: time the originating event happened
          type: string
          format: date-time
        payload:
          description: the webhook event object sent
          type: object
          properties:
            _id:
              type: string
          additionalProperties: true
        trackingId:
          description: external tracking id supplied to Veho to track this package
          type: string
        barcode:
          description: the custom or generated barcode value for the package
          type: string
        result:
          description: the final result of this webhook
          type: string
          enum:
          - success
          - failure
    EventType:
      description: Type of package milestone event associated with the webhook
      type: string
      enum:
      - package.created
      - package.pickedUpFromClient
      - package.droppedOffAtVeho
      - package.pickedUpFromVeho
      - package.delivered
      - package.cancelled
      - package.misdelivered
      - package.discarded
      - package.notReceivedFromClient
      - package.pendingReturnToClient
      - package.returnedToClient
      - package.rescheduled
      - package.delayed
      - package.arrivedAtFacility
      - package.departedFromFacility
      - package.hadDeliveryIssue
      - package.outForPickup
      - package.pickedUpFromConsumer
      - package.pickupSkipped
      - package.pickupDroppedOffAtVeho
      - package.pickupFailed
      - package.pickupTransferredToExternalCarrier
    ServiceType:
      description: Type of service associated, delivery or pickup
      type: string
      enum:
      - delivery
      - pickup
    WebhookConfigurationListResponse:
      type: object
      properties:
        configurations:
          type: array
          items:
            $ref: '#/components/schemas/WebhookConfigurationResponse'
  responses:
    '403':
      description: Forbidden -- The requested resource cannot be accessed with this apiKey.
    '404':
      description: Not Found -- The requested resource could not be found.
    '200':
      description: successful operation with no body returned
    '500':
      description: Internal Server Error -- We had a problem with our server. Try again later.
  securitySchemes:
    apiKey:
      name: apikey
      type: apiKey
      in: header
x-stoplight:
  id: e777wryv1msks