docs
  1. Resources
  2. Webhooks V2
  3. Register A Webhook Producer

Register a webhook producer

v1.204.1
OpenAPI 3.0.3

This is the specification of the SCAYLE Admin API.

For more information about how to interact with the Admin API, you can read the respective developer guide. The developer guide includes code samples for our PHP SDK, for our Java SDK and for JavaScript and curl.

Authentication is done via X-Access-Token HTTP Header as described here.

Base url should be prefixed with /api/admin/v1.

If a client side timeout is deemed necessary, it is recommended to set it at a minimum of 380 seconds.

Server:https://{tenant-space}.admin.api.scayle.cloud/v1
Client Libraries

Webhooks

​

Event Subscription Management

Webhooks Operations

Register a webhook producer

​

Registers an external producer that can publish events and trigger webhooks.

Body·

required
application/json

An external webhook producer registered by an add-on.

  • Immutable identifier of the producer, used in the paths of its events, subscriptions and webhooks.

  • User friendly name of the producer. Defaults to the identifier.

  • Whether tenants can see the producer. Defaults to customer.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/webhooks/producers
let producer = {
  identifier: "loyalty-addon",
  name: "Loyalty",
  visibility: "customer",
};

let response = await client.apis.Webhooks.createWebhookProducer(
  {},
  { requestBody: producer },
);
console.log(response.body.identifier);

{
  "identifier": "loyalty-addon",
  "name": "Loyalty",
  "visibility": "customer",
  "isExternal": true
}

Models

​
​

Last updated: December 02, 2026