createWebhookEndpoint Mutation
Creates a new WebhookEndpoint object.
Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_admin_users].
Input fields (CreateWebhookEndpointInput!)
Argument | Type | Description |
---|---|---|
name | String! | Friendly name for the webhook endpoint. |
url | String! | The URL where webhook events will be sent. |
description | String | Additional notes about this webhook endpoint configuration. |
secret | String | Secret key used for HMAC signature generation. If provided, all webhook payloads will include an X-Webhook-Signature header. |
headers | String | A JSON object of key/value pairs that will be sent as headers with each webhook request. |
enabled | Boolean | Whether this webhook endpoint is currently enabled. Disabled endpoints will not receive events. |
eventTypes | [String]! | List of event types to subscribe to. |
clientMutationId | String | A unique identifier for the client performing the mutation. |