docs
  1. Resources
  2. Webhooks V2
  3. Trigger A Webhook

Trigger a webhook

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

Trigger a webhook

​

Triggers a webhook for an event of the given producer and schedules its delivery to every matching subscription. A webhook without a matching subscription is accepted as well, but not delivered.

Path Parameters

  • Producer name (identifier).

Body·

required
application/json
  • Name of the event the webhook is triggered for.

  • Payload delivered to the subscribers.

    Properties: 1
  • Extra HTTP headers attached to the delivery requests.

    Properties: 1
  • Context of the webhook (for example company or shop country identifiers), matched against the subscription targets.

    Properties: 1

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/webhooks/producers/{producerIdentifier}/webhooks
let webhook = {
  eventName: "loyalty.tier_upgraded",
  payload: { customerId: 78234, newTier: "gold" },
  target: { shopCountryId: 3 },
};

let response = await client.apis.Webhooks.createWebhookProducerWebhook(
  { producerIdentifier: "loyalty-addon" },
  { requestBody: webhook },
);
console.log(response.body.webhookId);

{
  "webhookId": "0192423a-7734-7cf7-8741-1c0f2c6f855d"
}

Models

​
​
​

Last updated: December 02, 2026