World Monitor Shipping V2Service API

The ShippingV2Service API from World Monitor, for shippingv2service.

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 3

GET /api/v2/shipping/route-intelligence Route intelligence #
GET /api/v2/shipping/webhooks List webhooks #
POST /api/v2/shipping/webhooks Register webhook #

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/worldmonitor-app:worldmonitor-app-shippingv2service-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

worldmonitor-app-shippingv2service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WorldMonitor Shipping V2Service API
  description: 'Unified OpenAPI bundle spanning all WorldMonitor services. Versioning and deprecation policy: https://www.worldmonitor.app/api-versioning.md (HTML: https://www.worldmonitor.app/docs/api-versioning)'
  contact:
    name: WorldMonitor
    email: support@worldmonitor.app
  version: 1.0.0
servers:
- url: https://api.worldmonitor.app
security:
- WorldMonitorKey: []
- ApiKeyHeader: []
tags:
- name: ShippingV2Service
paths:
  /api/v2/shipping/route-intelligence:
    get:
      tags:
      - ShippingV2Service
      description: Scores a country-pair trade route for chokepoint exposure and current disruption risk. Partner-facing; wire shape is byte-compatible with the pre-migration JSON response documented at docs/api-shipping-v2.mdx. Empty exposure/bypass arrays with empty fetched_at mean the route snapshot is unavailable/degraded, not that the route has confirmed zero exposure. PRO-gated. Requires an active Pro subscription.
      operationId: RouteIntelligence
      security:
      - WorldMonitorKey: []
      - ApiKeyHeader: []
      - BearerAuth: []
      parameters:
      - name: fromIso2
        in: query
        description: Origin country, ISO-3166-1 alpha-2 uppercase.
        required: true
        example: US
        schema:
          type: string
          pattern: ^[A-Z]{2}$
      - name: toIso2
        in: query
        description: Destination country, ISO-3166-1 alpha-2 uppercase.
        required: true
        example: US
        schema:
          type: string
          pattern: ^[A-Z]{2}$
      - name: cargoType
        in: query
        description: 'Cargo type — one of: container (default), tanker, bulk, roro. Empty string defers to the server default. Unknown values are coerced to "container" to preserve legacy behavior.'
        example: container
        schema:
          type: string
      - name: hs2
        in: query
        description: 2-digit HS commodity code (default "27" — mineral fuels). Non-digit characters are stripped server-side to match legacy behavior.
        example: '27'
        schema:
          type: string
      - $ref: '#/components/parameters/J'
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                bypassOptions:
                - activationThreshold: example
                  addedCostMultiplier: 75.25
                  addedTransitDays: 7
                  id: example-id
                  name: WorldMonitor Analyst
                cargoType: container
                chokepointExposures:
                - chokepointId: suez
                  chokepointName: WorldMonitor Analyst
                  exposurePct: 1
                disruptionScore: 42
                fetchedAt: '2026-01-15T12:00:00Z'
              schema:
                $ref: '#/components/schemas/worldmonitor_shipping_v2_RouteIntelligenceResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403_2'
        '429':
          $ref: '#/components/responses/429'
        '503':
          $ref: '#/components/responses/503'
        default:
          $ref: '#/components/responses/DEF'
      summary: Route intelligence
      x-summary-source: derived
  /api/v2/shipping/webhooks:
    get:
      tags:
      - ShippingV2Service
      description: Returns the caller's registered webhooks filtered by the SHA-256 owner tag of the calling API key. The `secret` is intentionally omitted from the response; use rotate-secret to obtain a new one. PRO-gated. Requires an active Pro subscription.
      operationId: ListWebhooks
      security:
      - WorldMonitorKey: []
      - ApiKeyHeader: []
      - BearerAuth: []
      parameters:
      - name: jmespath
        in: query
        description: 1024 UTF-8 bytes, 256 KB output cap.
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                webhooks:
                - active: true
                  alertThreshold: 1
                  callbackUrl: https://example.com/worldmonitor-webhook
                  chokepointIds:
                  - suez
                  countries:
                  - US
              schema:
                $ref: '#/components/schemas/worldmonitor_shipping_v2_ListWebhooksResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403_2'
        '429':
          $ref: '#/components/responses/429'
        '503':
          $ref: '#/components/responses/503'
        default:
          $ref: '#/components/responses/DEF'
      summary: List webhooks
      x-summary-source: derived
    post:
      parameters:
      - $ref: '#/components/parameters/P10'
      tags:
      - ShippingV2Service
      description: Subscribes a callback URL to one event type. Returns the subscriberId and the raw HMAC secret — the secret is never returned again except via rotate-secret. PRO-gated. Requires an active Pro subscription.
      operationId: RegisterWebhook
      security:
      - WorldMonitorKey: []
      - ApiKeyHeader: []
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            example:
              alertThreshold: 1
              callbackUrl: https://example.com/worldmonitor-webhook
              chokepointIds:
              - suez
              eventType: chokepoint.disruption
              minLiveSignal: 1
            schema:
              $ref: '#/components/schemas/worldmonitor_shipping_v2_RegisterWebhookRequest'
        required: true
      responses:
        '200':
          description: OK
          headers:
            Idempotency-Key:
              $ref: '#/components/headers/IdempotencyKey'
            Idempotent-Replayed:
              $ref: '#/components/headers/IdempotentReplayed'
          content:
            application/json:
              example:
                secret: example
                subscriberId: example-id
              schema:
                $ref: '#/components/schemas/worldmonitor_shipping_v2_RegisterWebhookResponse'
        '400':
          $ref: '#/components/responses/400_2'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403_2'
        '409':
          $ref: '#/components/responses/409'
        '422':
          $ref: '#/components/responses/422'
        '429':
          $ref: '#/components/responses/429'
        '503':
          $ref: '#/components/responses/503'
        default:
          $ref: '#/components/responses/DEF'
      summary: Register webhook
      x-summary-source: derived
webhooks:
  chokepoint.disruption:
    post:
      tags:
      - ShippingV2Service
      summary: Chokepoint disruption alert (outbound, signed)
      description: 'WorldMonitor POSTs this event to the `callbackUrl` you register via

        RegisterWebhook when a subscribed chokepoint''s disruption score is at or

        above your `alertThreshold` (and its live signals above `minLiveSignal`

        when set), once per crossing, including one already in progress at

        first evaluation. It re-arms below the threshold unless a score input

        missing since the last delivery could explain the drop. Failures retry

        every 5 minutes with the same `X-WM-Delivery-Id` while the score holds;

        5 failed ticks deactivate the webhook. Full rules at

        https://www.worldmonitor.app/docs/api-shipping-v2#delivery-worker.


        Verify `X-WM-Signature-V2` in constant time against

        `sha256=` + hex(HMAC-SHA256(key=secret,

        message=timestamp.deliveryId.event.rawRequestBody)). Use the exact

        header strings and raw body bytes. Use `secret` verbatim;

        do not hex-decode it or re-serialize JSON. Reject missing or malformed

        headers and timestamps more than 300 seconds in the past or future.

        Require V2; never fall back to the legacy body-only signature.

        Atomically dedupe verified delivery ids for the subscription lifetime.

        Retries keep the id but refresh the timestamp and signature.

        Respond with any 2xx to acknowledge receipt.'
      operationId: ChokepointDisruptionWebhook
      security: []
      parameters:
      - name: X-WM-Signature
        in: header
        required: true
        description: Legacy body-only HMAC-SHA256. No replay protection. Migrate to V2.
        schema:
          type: string
          pattern: ^sha256=[0-9a-f]{64}$
          example: sha256=2b8c0d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c
      - name: X-WM-Signature-V2
        in: header
        required: true
        description: HMAC-SHA256(secret, timestamp.deliveryId.event.rawRequestBody).
        schema:
          type: string
          pattern: ^sha256=[0-9a-f]{64}$
      - name: X-WM-Timestamp
        in: header
        required: true
        description: Send time in Unix seconds. Accept within 300 seconds of the receiver clock.
        schema:
          type: string
          pattern: ^[0-9]+$
      - name: X-WM-Event
        in: header
        required: true
        description: 'Always `chokepoint.disruption` for this body. The other events

          (`country.risk_surge`, `news.breaking`, `market.move`, `natural.hazard`) send the

          same headers and signature with the payloads documented at

          https://www.worldmonitor.app/docs/api-shipping-v2#delivery-format.'
        schema:
          type: string
          enum:
          - chokepoint.disruption
      - name: X-WM-Delivery-Id
        in: header
        required: true
        description: 'Unique delivery identifier (`whd_` + 32 hex chars). Use it to

          dedupe retries and process deliveries idempotently.'
        schema:
          type: string
          pattern: ^whd_[0-9a-f]{32}$
          example: whd_1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - subscriberId
              - chokepointId
              - score
              - alertThreshold
              - triggeredAt
              - reason
              properties:
                subscriberId:
                  type: string
                  description: The `wh_`-prefixed subscription receiving this alert.
                chokepointId:
                  type: string
                  description: Chokepoint that breached the threshold (e.g. `suez`).
                score:
                  type: number
                  description: Current disruption score of the chokepoint, 0-100.
                alertThreshold:
                  type: number
                  description: The subscription's configured alert threshold, 0-100.
                triggeredAt:
                  type: string
                  format: date-time
                  description: ISO-8601 timestamp when the alert fired.
                reason:
                  type: string
                  enum:
                  - ais_congestion_spike
                  - navigational_warning
                  - transit_drop
                  - score_threshold
                  description: First matching rule in this order; `score_threshold` when none matches.
                details:
                  type: object
                  additionalProperties: true
                  description: Name, status, warning and AIS counts, congestion, war-risk tier, transit change, previous score, feed time.
            example:
              subscriberId: wh_1a2b3c4d5e6f7a8b9c0d1e2f
              chokepointId: suez
              score: 72
              alertThreshold: 50
              triggeredAt: '2026-07-04T12:34:56Z'
              reason: navigational_warning
      responses:
        2XX:
          description: 'Any 2xx acknowledges receipt. A non-2xx response or a delivery

            timeout marks the delivery failed.'
components:
  headers:
    IdempotencyKey_2:
      schema:
        type: string
      description: The idempotency key supplied by the client.
    XBillingVerification:
      description: Present when the 403 is a provider-confirmed billing denial; same value as the body `code`.
      schema:
        type: string
    IdempotentReplayed:
      schema:
        type: boolean
      description: true when this response was replayed from an earlier request with the same key, false on the first (original) request. Present only when the client opted into idempotency.
    IdempotencyKey:
      schema:
        type: string
      description: The idempotency key echoed from the request. Present only when the client opted into idempotency.
  responses:
    '409':
      description: A request with this Idempotency-Key is still being processed
      headers:
        Idempotency-Key:
          $ref: '#/components/headers/IdempotencyKey_2'
        Retry-After:
          schema:
            type: string
          description: Seconds to wait before retrying the in-flight request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WM46'
    '429':
      description: Rate limit exceeded.
      headers:
        X-RateLimit-Limit:
          description: Maximum requests allowed in the active rate-limit window.
          schema:
            type: string
        X-RateLimit-Remaining:
          description: Requests remaining in the active rate-limit window.
          schema:
            type: string
        X-RateLimit-Reset:
          description: Unix epoch milliseconds when the active rate-limit window resets.
          schema:
            type: string
        Retry-After:
          description: Seconds to wait before retrying the request.
          schema:
            type: string
      content:
        application/json:
          schema:
            oneOf:
            - $ref: '#/components/schemas/Error'
            - $ref: '#/components/schemas/RateLimitError'
    '403_2':
      description: Pro subscription required.
      headers:
        X-Billing-Verification:
          $ref: '#/components/headers/XBillingVerification'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ForbiddenError'
    '400':
      description: Validation error
      content:
        application/json:
          schema:
            oneOf:
            - $ref: '#/components/schemas/ValidationError'
            - $ref: '#/components/schemas/JmespathProjectionError'
    '422':
      description: The Idempotency-Key was already used with a different request body
      headers:
        Idempotency-Key:
          $ref: '#/components/headers/IdempotencyKey_2'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WM46'
    DEF:
      description: Gateway or handler error response.
      content:
        application/json:
          schema:
            oneOf:
            - $ref: '#/components/schemas/Error'
            - $ref: '#/components/schemas/GatewayError'
    '503':
      description: Service unavailable. Billing-verification responses include code and X-Billing-Verification; other gateway infrastructure failures use the generic GatewayError shape.
      headers:
        Retry-After:
          description: Seconds to wait before retrying (1-60).
          schema:
            type: string
        X-Billing-Verification:
          description: Billing-verification state that produced this response (matches the body `code`).
          schema:
            type: string
        X-Validation-Mode:
          description: Present with value degraded when user API-key validation is temporarily unavailable.
          schema:
            type: string
        X-RateLimit-Mode:
          description: Present with value degraded when a fail-closed rate-limit dependency is unavailable.
          schema:
            type: string
      content:
        application/json:
          schema:
            oneOf:
            - $ref: '#/components/schemas/BillingVerificationError'
            - $ref: '#/components/schemas/GatewayError'
    '400_2':
      description: Validation error, invalid Idempotency-Key header, or malformed JSON request body
      content:
        application/json:
          schema:
            oneOf:
            - $ref: '#/components/schemas/ValidationError'
            - $ref: '#/components/schemas/WM46'
            - $ref: '#/components/schemas/InvalidRequestBodyError'
    '401':
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UnauthorizedError'
  schemas:
    worldmonitor_shipping_v2_RegisterWebhookRequest:
      type: object
      properties:
        callbackUrl:
          type: string
          maxLength: 2048
          minLength: 8
          description: HTTPS callback URL. Must not resolve to a private/loopback address at registration time (SSRF guard). The delivery worker re-validates the resolved IP before each send to mitigate DNS rebinding.
        chokepointIds:
          type: array
          items:
            type: string
            description: Zero or more chokepoint IDs to subscribe to. Empty list subscribes to the entire CHOKEPOINT_REGISTRY. Unknown IDs fail with 400.
        alertThreshold:
          type: integer
          maximum: 100
          minimum: 0
          format: int32
          description: Disruption-score threshold for delivery, 0-100. Default 50; an explicit 0 delivers every alert.
        eventType:
          type: string
          maxLength: 64
          description: A shared/event-triggers.json key; `chokepoint.disruption` when omitted.
        countries:
          type: array
          items:
            type: string
            description: '`country.risk_surge` scope: monitored ISO2 codes; empty = all.'
        minLiveSignal:
          type: integer
          maximum: 40
          minimum: 0
          format: int32
          description: '`chokepoint.disruption` live-signal floor; 0 = score only.'
        scope:
          $ref: '#/components/schemas/worldmonitor_shipping_v2_WebhookScope'
      required:
      - callbackUrl
      description: Subscribes to one eventType (default chokepoint.disruption). Wire shape is byte-compatible with the legacy POST body.
    worldmonitor_shipping_v2_BypassOption:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          type: string
          description: Type of bypass (e.g., "maritime_detour", "land_corridor").
        addedTransitDays:
          type: integer
          format: int32
        addedCostMultiplier:
          type: number
          format: double
        activationThreshold:
          type: string
          description: Enum-like string, e.g., "DISRUPTION_SCORE_60".
      description: Single bypass-corridor option around a disrupted chokepoint.
    ForbiddenError:
      type: object
      properties:
        error:
          type: string
          description: Human-readable entitlement failure reason.
        code:
          type: string
          enum:
          - subscription_lapsed
          - payment_failed
          description: Machine-readable denial code, present when the 403 is a billing-provider-confirmed subscription lapse or payment failure (mirrored in the X-Billing-Verification response header).
        requiredTier:
          type: integer
          format: int32
          description: Minimum entitlement tier required for this endpoint.
        currentTier:
          type: integer
          format: int32
          description: Caller entitlement tier when known.
        planKey:
          type: string
          description: Caller plan key when known.
      required:
      - error
      description: Returned when a PRO-gated endpoint denies access because the caller has no resolved authenticated user, entitlements cannot be verified, or the caller lacks the required entitlement tier.
    JmespathProjectionError:
      description: Returned when a REST jmespath projection is invalid or exceeds the expression/output byte limits.
      properties:
        _jmespath_error:
          description: Projection error discriminator and details.
          type: string
        original_keys:
          description: Top-level keys or shape of the unprojected response.
          items:
            type: string
          type: array
      required:
      - _jmespath_error
      - original_keys
      type: object
    worldmonitor_shipping_v2_RouteIntelligenceResponse:
      type: object
      properties:
        fromIso2:
          type: string
        toIso2:
          type: string
        cargoType:
          type: string
        hs2:
          type: string
        primaryRouteId:
          type: string
        chokepointExposures:
          type: array
          items:
            $ref: '#/components/schemas/worldmonitor_shipping_v2_ChokepointExposure'
        bypassOptions:
          type: array
          items:
            $ref: '#/components/schemas/worldmonitor_shipping_v2_BypassOption'
        warRiskTier:
          type: string
          description: War-risk tier enum string, e.g., "WAR_RISK_TIER_NORMAL" or "WAR_RISK_TIER_ELEVATED".
        disruptionScore:
          type: integer
          format: int32
          description: Disruption score of the primary chokepoint, 0-100.
        fetchedAt:
          type: string
          description: ISO-8601 timestamp of when the response was assembled. Empty string means the route snapshot is unavailable/degraded, not confirmed zero exposure.
      description: Wire shape preserved byte-for-byte from the pre-migration JSON at docs/api-shipping-v2.mdx. `fetched_at` is intentionally a string (ISO-8601) rather than int64 epoch ms because partners depend on the ISO-8601 shape.
    worldmonitor_shipping_v2_WebhookSummary:
      type: object
      properties:
        subscriberId:
          type: string
        callbackUrl:
          type: string
        chokepointIds:
          $ref: '#/components/schemas/WM15'
        alertThreshold:
          type: integer
          format: int32
        createdAt:
          type: string
          description: ISO-8601 timestamp of registration.
        active:
          type: boolean
        eventType:
          type: string
          description: As registered; see RegisterWebhookRequest.
        countries:
          $ref: '#/components/schemas/WM15'
        minLiveSignal:
          type: integer
          format: int32
        scope:
          $ref: '#/components/schemas/worldmonitor_shipping_v2_WebhookScope'
      description: Single webhook record in the list response. `secret` is intentionally omitted; use rotate-secret to obtain a new one.
    InvalidRequestBodyError:
      type: object
      description: Returned when a JSON POST request body is empty or malformed.
      properties:
        message:
          type: string
          description: Invalid request body
      required:
      - message
    ValidationError:
      type: object
      properties:
        violations:
          type: array
          items:
            $ref: '#/components/schemas/FieldViolation'
          description: List of validation violations
      required:
      - violations
      description: Is returned when request validation fails. It contains a list of field violations describing what went wrong.
    worldmonitor_shipping_v2_WebhookScope:
      type: object
      properties:
        keywords:
          type: array
          items:
            type: string
            description: 'news.breaking: whole-word terms, any-of, 1-20.'
        categories:
          type: array
          items:
            type: string
            description: 'news.breaking: classifier categories.'
        importanceFloor:
          type: integer
          format: int32
          description: 'news.breaking: importanceScore floor, 0-100 (default 69).'
        severityFloor:
          type: string
          description: 'news.breaking: `critical` or `high` (default high).'
        countries:
          type: array
          items:
            type: string
            description: 'news.breaking, natural.hazard: ISO2 codes; unplaced events never match.'
        hazardTypes:
          type: array
          items:
            type: string
            description: 'natural.hazard: event categories.'
        minMagnitude:
          type: number
          format: double
          description: 'natural.hazard: earthquake magnitude floor, 4.5-9.5 (default 5.5).'
        minAlertLevel:
          type: string
          description: 'natural.hazard: GDACS `Orange` or `Red` (default Orange).'
        assetClasses:
          type: array
          items:
            type: string
            description: 'market.move: `equity`, `commodity`, `crypto`.'
        symbols:
          type: array
          items:
            type: string
            description: 'market.move: quote symbols, 1-50.'
        minAbsPct:
          type: number
          format: double
          description: 'market.move: |changePct| floor, 5-100 (default 10).'
        direction:
          type: string
          description: 'market.move: `up`, `down` or `any` (default any).'
      description: Per-event filters for occurrence events. Each key applies to the events named in its comment; the handler validates against shared/event-triggers.json and stores the defaults.
    FieldViolation:
      type: object
      properties:
        field:
          type: string
          description: The field path that failed validation (e.g., 'user.email' for nested fields). For header validation, this will be the header name (e.g., 'X-API-Key')
        description:
          type: string
          description: Human-readable description of the validation violation (e.g., 'must be a valid email address', 'required field missing')
      required:
      - field
      - description
      description: Describes a single validation error for a specific field.
    GatewayError:
      type: object
      description: Returned by gateway infrastructure errors before an RPC handler runs, such as origin, routing, method, authentication, or quota checks.
      properties:
        error:
          oneOf:
          - type: string
          - type: object
            additionalProperties: true
          description: Gateway error reason or structured gateway failure details.
      required:
      - error
    worldmonitor_shipping_v2_ChokepointExposure:
      type: object
      properties:
        chokepointId:
          type: string
        chokepointName:
          type: string
        exposurePct:
          type: integer
          format: int32
      description: Single chokepoint exposure for a route.
    Error:
      type: object
      properties:
        message:
          type: string
          description: Error message (e.g., 'user not found', 'database connection failed')
      description: Is returned when a handler encounters an error. It contains a simple error message that the developer can customize.
    BillingVerificationError:
      type: object
      description: 'Returned with HTTP 503 when paid access cannot be confirmed right now: the billing provider is re-verifying a recently expired subscription, or the entitlement backend is unreachable. Retryable — honor Retry-After.'
      properties:
        error:
          type: string
          description: Human-readable billing-verification failure reason.
        code:
          type: string
          enum:
          - renewal_verification_pending
          - renewal_verification_failed
          - entitlement_verification_unavailable
          description: Machine-readable billing-verification state, mirrored in the X-Billing-Verification response header.
        requiredTier:
          type: integer
          format: int32
          description: Minimum entitlement tier required for this endpoint, when the denial came from a tier gate.
      required:
      - error
      - code
    worldmonitor_shipping_v2_ListWebhooksResponse:
      type: object
      properties:
        webhooks:
          type: array
          items:
            $ref: '#/components/schemas/worldmonitor_shipping_v2_WebhookSummary'
      description: 'Wire shape preserved exactly: the `webhooks` field name and the omission of `secret` are part of the partner contract.'
    worldmonitor_shipping_v2_RegisterWebhookResponse:
      type: object
      properties:
        subscriberId:
          type: string
          description: '`wh_` prefix + 24 lowercase hex chars (12 random bytes).'
        secret:
          type: string
          description: Raw 64-char lowercase hex secret (32 random bytes). No `whsec_` prefix.
      description: "Wire shape preserved exactly — partners persist the\n `secret` because the server never returns it again except via rotate-secret."
    WM15:
      type: array
      items:
        type: string
    UnauthorizedError:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
      required:
      - error
      description: Returned when the API key is missing, malformed, or lacks current API access.
    RateLimitError:
      type: object
      description: Returned when a gateway or handler rate limit rejects the request.
      properties:
        error:
          type: string
          description: Human-readable rate-limit failure reason.
      required:
      - error
    WM46:
      type: object
      required:
      - error
      - message
      properties:
        error:
          type: string
        message:
          type: string
  parameters:
    P10:
      name: Idempotency-Key
      in: header
      description: Optional client-generated idempotency key. Retrying a POST with the same key and an identical request body replays the original response (only the status, body, and Content-Type are reproduced) instead of re-executing; reusing the key with a different body is rejected with 422. For mutations this avoids duplicating the side effect, while for batch-read POSTs it replays a cached snapshot that can be up to 24 hours stale. Keys are scoped per authenticated caller (falling back to the source IP for unauthenticated endpoints) and retained for 24 hours.
      example: 4f8b9c2e-1a3d-4b6f-8e0a-2c5d7f9b1e34
      schema:
        type: string
        minLength: 1
        maxLength: 255
        pattern: ^[\x21-\x7E]{1,255}$
    J:
      name: jmespath
      in: query
      description: 'Optional JMESPath expression applied server-side to project or reduce the JSON response before it is returned (mirrors the MCP jmespath argument). Invalid expressions, expressions larger than 1024 UTF-8 bytes, or projections that exceed the 256 KB output cap return HTTP 400 with a {_jmespath_error, original_keys} envelope. Grammar and worked examples: https://www.worldmonitor.app/docs/mcp-jmespath.'
      example: keys(@)
      schema:
        type: string
  securitySchemes:
    WorldMonitorKey:
      type: apiKey
      in: header
      name: X-WorldMonitor-Key
      description: User-issued WorldMonitor API key.
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Alias header for the WorldMonitor API key (X-WorldMonitor-Key).
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Bearer token: a Clerk-issued JWT for browser session flows, passed as Authorization: Bearer <token>.'