younifyd
Menu

Return all registered webhook subscriptions

Return all registered webhook subscriptions

GET/webhooks/subscriptions

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Return all registered webhook subscriptions action (under Webhooks).
  3. Fill in the fields below, then reference the result from later steps as {{returnAllRegisteredWebhookSubscriptions.response.data}}.

Fields

baseUrlstring

The API host this action calls. Choose one, or pick Custom to enter your own.

One of/v1https://{{tenant-space}}.admin.api.scayle.cloud/v1/__custom__Default "/v1"

baseUrlCustomstring
forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

Returns 200 with an object. Read it in later steps with {{returnAllRegisteredWebhookSubscriptions.response.data.<field>}}.

entitiesarray<object>
idinteger

The unique webhook identifier.

eventstringrequired

Name of the hook event.

versionintegerrequired

The version of the hook.

urlstringrequired

The URL that will be called whenever the hook is triggered. Sensitive data will be obfuscated in responses.

filtersarray<object>1 fields
json
{
  "entities": [
    {
      "event": "customer-created",
      "version": 1,
      "url": "https://foo:bar@foobar.tld/notifiy",
      "id": 1,
      "filters": [
        {
          "merchantReferenceKeys": {
            "include": [
              null
            ],
            "exclude": [
              null
            ]
          }
        }
      ]
    }
  ]
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.

Return all registered webhook subscriptions — SCAYLE Admin — Documentation