younifyd
Menu

Return a registered webhook subscription

Return a registered webhook subscription

GET/webhooks/subscriptions/{subscriptionId}

Use it in a workflow

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

Request

Path parameters

subscriptionIdintegerrequired

Subscription ID

Response

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

idinteger

The unique webhook identifier.

eventstring

Name of the hook event.

versioninteger

The version of the hook.

urlstring

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

filtersarray<object>
merchantReferenceKeysobject2 fields

Must contain either 'include' or 'exclude', but not both.

json
{
  "event": "customer-created",
  "version": 1,
  "url": "https://foo:bar@foobar.tld/notifiy",
  "id": 1,
  "filters": [
    {
      "merchantReferenceKeys": {
        "include": [
          "string"
        ],
        "exclude": [
          "string"
        ]
      }
    }
  ]
}

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

Return a registered webhook subscription — SCAYLE Admin — Documentation