Create webhook

Register a webhook with the authenticated organization.

Service Clients (SDKs)

This endpoint can be accessed using one of our service clients as follows.

For more information on how to use our service clients, see our Service Clients (SDKs) guide.

String endpointType = "Notification"; // Must be "Notification" | "DelegatedEndorser" | "Zapier"
String parameters = null; // Optional endpoint parameters
WebhookContract webhook = await _credentialsClient.CreateWebhookAsync(new WebhookParameters {
  Url = endpointUrl,
  Type = endpointType,
  Parameters = parameters
});
let endpointType = "Notification"; // Must be null | "Notification" | "DelegatedEndorser" | "Zapier"
let parameters = null; // Optional endpoint parameters
let webhook = await credentialsClient.createWebhook({
  url: endpointUrl,
  type: endpointType,
  parameters: parameters,
});
endpoint_type = "Notification"  # Must be None | "Notification" | "DelegatedEndorser" | "Zapier"
parameters = None  # Optional endpoint parameters
webhook = credentials_client.create_webhook({
  "url": endpoint_url,
  "type": endpoint_type,
  "parameters": parameters
})
body = Credentials::Models::WebhookParameters.new
body.url = endpoint_url
body.type = 'Notification' # Must be nil | "Notification" | "DelegatedEndorser" | "Zapier"
body.parameters = nil # Optional endpoint parameters
webhook = credentials_client.create_webhook(body)
Language
Authentication
Header
Click Try It! to start a request and see the response here!