AvantGuard - Pax8 - Vendor Provisioning icon

AvantGuard - Pax8 - Vendor Provisioning

AvantGuard - Pax8

Overview

This node operation "Create Webhook For Provisioner" allows users to create a webhook associated with a specific provisioner entity. It is useful in scenarios where you want to programmatically register a callback URL that the provisioning system can call to notify about events or updates related to that provisioner. For example, when a new user is provisioned or a change occurs, the webhook will be triggered to inform your system.

Typical use cases include:

  • Automating synchronization between your system and the provisioning platform.
  • Receiving real-time notifications about provisioning events.
  • Integrating provisioning workflows with other services via webhooks.

Properties

Name Meaning
Provisioner Id The unique identifier of the provisioner for which the webhook is being created.
Url The callback URL where webhook notifications will be sent.
Additional Body Fields Optional additional fields to include in the request body. Currently supports:
- Shared Secret (a JSON object) used for securing webhook payloads.

Output

The node outputs JSON data representing the response from the provisioning API after creating the webhook. This typically includes details about the newly created webhook such as its ID, status, and configuration. If the API returns binary data, it would represent any attached files or encoded content related to the webhook creation, but this node primarily deals with JSON responses.

Dependencies

  • Requires an API key credential for authenticating with the provisioning service's API.
  • The node uses the base URL https://api.pax8.com/v2 for API requests.
  • The node expects the API to accept and return JSON-formatted data.
  • No additional external dependencies are indicated beyond the API access.

Troubleshooting

  • Invalid Provisioner Id: If the provided provisioner ID does not exist or is malformed, the API may return an error indicating the resource was not found. Verify the ID before running the node.
  • Invalid URL: The webhook URL must be a valid, reachable endpoint. Errors may occur if the URL is malformed or unreachable.
  • Authentication Errors: Ensure the API key credential is correctly configured and has sufficient permissions to create webhooks.
  • Malformed Shared Secret: If using the optional shared secret field, ensure it is valid JSON; otherwise, the request body may be rejected.
  • API Rate Limits: Frequent webhook creation attempts might hit rate limits imposed by the API.

Links and References

Discussion