Pax8

Interact with the Pax8 Partner API

Actions100

Webhooks → Replace all webhook topics

AI-generated

Summary

Replace webhook topics for a specified webhook ID via the Pax8 API.

Inputs

  • id (required) — Webhook ID (path parameter). Loaded from available webhooks via getWebhooks().
  • baseUrl — Base URL for the Pax8 API. Defaults to https://api.pax8.com.
  • body (required) — Request body as JSON containing the topics to replace.

Output shape

API response confirming webhook topic replacement.

The operation uses a path parameter (id) and a JSON body. The id option is populated by the getWebhooks load method.

Examples

Example 1: Replace topics for a webhook selected from the user's existing webhooks.

Set id to the desired webhook identifier, provide the new topic structure in body, and leave baseUrl at its default unless a custom endpoint is needed.

Links

Discussion